mhayashi1120 / Emacs-wgrep

Writable grep buffer and apply the changes to files
GNU General Public License v3.0
661 stars 43 forks source link

wgrep doesn't work with Emacs 26 default grep args #47

Closed joeshaw closed 6 years ago

joeshaw commented 6 years ago

From the Emacs 26 release notes:

*** Grep commands will now use GNU grep's '--null' option if available, which allows distinguishing the filename from contents if they contain colons. This can be controlled by the new custom option 'grep-use-null-filename-separator'.

This breaks wgrep mode, as editing lines prints only "Text is read-only". For more background, see https://groups.google.com/d/topic/gnu.emacs.help/uu6ZQZGQ9FA/discussion

If you remove the --null option from the grep command-line things work.