bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1039: 23.0.60; emacs forgets EOL convention after revert-buffer


From: Peter De Wachter
Subject: bug#1039: 23.0.60; emacs forgets EOL convention after revert-buffer
Date: Sun, 12 Oct 2008 00:10:41 +0200

On Wed, 08 Oct 2008 20:03:09 +0200
martin rudalics <rudalics@gmx.at> wrote:

> In any case it would be helpful if the OP tested whether my patch
> works for him ;-)

That patch fixes the bug I reported, but it creates a new one: if you
change the EOL convention outside of emacs, revert-buffer no longer
detects this. To reproduce:

printf "hello\r\nworld\r\n" > hello
emacs -Q hello &
printf "hello\rworld\r" > hello
M-x revert-buffer
# emacs still sees DOS newlines

-- 
Peter De Wachter






reply via email to

[Prev in Thread] Current Thread [Next in Thread]