GNU bug report logs - #13977
24.3.50; buffer-file-coding-system not set correctly

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Sat, 16 Mar 2013 14:51:01 UTC

Severity: normal

Merged with 14002

Found in version 24.3.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Richard Copley <rcopley <at> gmail.com>
Cc: 13977 <at> debbugs.gnu.org
Subject: Re: bug#13977: 24.3.50; buffer-file-coding-system not set correctly
Date: Sat, 16 Mar 2013 18:52:49 +0200
> Date: Sat, 16 Mar 2013 14:49:17 +0000
> From: Richard Copley <rcopley <at> gmail.com>
> 
> On Windows, visit a plain ASCII text file with LF line endings. The
> value of `buffer-file-coding-system' is `iso-latin-1-dos' (should be
> `iso-latin-1-unix'). Modify and save the file. The file now has CRLF
> line endings.
> This was introduced recently in the trunk.

I can reproduce this on GNU/Linux, if I first evaluate this:

  (setq default-buffer-file-coding-system 'iso-latin-1-dos)

So I guess some of the latest changes use the default EOL format in
preference to the format of the file we are visiting.




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

Previous Next


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