GNU bug report logs - #4533
23.1: reverting fails to update line ending mode line

Previous Next

Package: emacs;

Reported by: Benjamin Peterson <benjamin <at> python.org>

Date: Wed, 23 Sep 2009 02:10:05 UTC

Severity: normal

Merged with 13256

Found in version 24.1

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kenichi Handa <handa <at> m17n.org>
To: Benjamin Peterson <benjamin <at> python.org>, 4533 <at> debbugs.gnu.org
Cc: bug-gnu-emacs <at> gnu.org
Subject: bug#4533: 23.1: reverting fails to update line ending mode line
Date: Thu, 05 Nov 2009 13:17:00 +0900
In article <1afaf6160909221901p527cca80jcbf81e589cde629d <at> mail.gmail.com>, Benjamin Peterson <benjamin <at> python.org> writes:

> I had a buffer with a mode line like this:
> - U:(DOS)

> I ran dos2unix on the file, and did M-x revert-buffer.

> The DOS stayed in the mode line until I killed the buffer and
> revisited the buffer.

I found that insert-file-contents forgets to update
buffer-file-coding-system in case of replace.  I've just
installed a fix.

---
Kenichi Handa
handa <at> m17n.org



This bug report was last modified 12 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.