mhayashi1120 / Emacs-wgrep

Writable grep buffer and apply the changes to files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work on windows encoded files.

dinkonin opened this issue · comments

When I edit a file with windows CRLF line endings (^M), wgrep-finish-edit always displays There are XX unapplied changes. and it does nothing. It works If I convert it to unix LF with set-buffer-file-coding-system and save it.

Maybe I'm missing something in the config. Using emacs 26.3 on Arch linux.

DOS newline working well on my environment. What message is displayed in echo area when cursor to the error line?

There are no errors only There are XX unapplied changes. tried with toggle-debug-on-error and it does not trigger.

Hmm, I couldn't see anything. Please try emacs -q if you have not.

Same results with emacs -q . But the problem disappeared when I upgraded to emacs 27.