GNU bug report logs - #14002
24.3.50; buffer-file-coding-system is undecided-dos, everywhere

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Wed, 20 Mar 2013 02:29:01 UTC

Severity: normal

Merged with 13977

Found in version 24.3.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: 14002 <at> debbugs.gnu.org
Subject: bug#14002: Acknowledgement (24.3.50; buffer-file-coding-system is undecided-dos, everywhere)
Date: Wed, 20 Mar 2013 06:39:08 +0400
Some more info:

With emacs -Q, the coding system is undecided-dos during opening, 
modification and saving. If I then do vc-revert, it becomes 
undecided-unix, and the subsequent editing of the file works as expected.

In my usual setup, I have

(set-language-environment 'Cyrillic-CP1251) ; defined previously
(set-file-name-coding-system 'cp1251)
(prefer-coding-system 'utf-8)

and the coding system in this scenario goes from utf-8 to utf-8-dos 
(after saving) to undecided-unix (after reverting), and then editing 
similarly works fine.




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

Previous Next


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