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


Message #68 received at 4533 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 4533 <at> debbugs.gnu.org, Kenichi Handa <handa <at> m17n.org>
Subject: Re: bug#4533: 23.1: reverting fails to update line ending mode line
Date: Mon, 15 Nov 2010 11:51:36 -0500
> I think the use of buffer-file-coding-system-explicit in revert-buffer
> is bogus, and should be removed---see below.  What do you think?

Its use is not bogus.  It's so that when a file's coding-system is
incorrectly auto-detected, the user can force the use of a correct
coding-system and subsequent revert-buffers won't disregard it.

So maybe the problem is that C-x C-s should not set
buffer-file-coding-system-explicit (unless the C-x C-s prompted the user
to choose  a coding-system, I guess).


        Stefan




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.