Emacs-wgrep
Emacs-wgrep copied to clipboard
`query-replace` aborts `Args out of range: #<buffer *grep*>, 0, 1`
- emacs -Q and install wgrep from mepla
- In emacs, run
grep
and switch to the result buffer (with more than one results in it) - run
wgrep-change-to-wgrep-mode
- run
query-replace
, replace the text grepped in 2 to any text and confirm - Emacs aborts after the first replace with error message:
Args out of range: #<buffer *grep*>, 0, 1
Emacs: 26.3
OS: centos 7 x86_64