|
From: | martin rudalics |
Subject: | bug#1039: 23.0.60; emacs forgets EOL convention after revert-buffer |
Date: | Wed, 08 Oct 2008 20:03:09 +0200 |
User-agent: | Thunderbird 2.0.0.16 (Windows/20080708) |
> I don't understand the need for the revert-buffer-file-coding-system > variable. Why doesn't last-coding-system-used work here? I suppose it's because of the intelligent point preserving behavior of `revert-buffer'. When buffer and file don't differ (modulo decoding) nothing gets inserted. OTOH Handa kills `buffer-file-coding-system' in `revert-buffer' since 2002 so the old value is lost and Emacs goes for the default value instead. I don't understand though why the problem became virulent only lately. In any case it would be helpful if the OP tested whether my patch works for him ;-) martin
[Prev in Thread] | Current Thread | [Next in Thread] |