[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: |
martin rudalics |
Subject: |
bug#1039: 23.0.60; emacs forgets EOL convention after revert-buffer |
Date: |
Sun, 12 Oct 2008 20:48:45 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (Windows/20080708) |
> That patch fixes the bug I reported, but it creates a new one:
Are you sure that this worked _before_ my patch?
> if you
> change the EOL convention outside of emacs, revert-buffer no longer
> detects this.
Indeed. BTW, can you confirm that when you delete the entire buffer
text first reverting works correctly? Unfortunately, I don't understand
this part of `insert-file-contents' at all. I suppose Emacs should
redecode when it finds out that the eol-types of the buffer and the part
of the file it has already read differ. But somehow this doesn't
happen. Handa-san do you have any ideas?
martin