GNU bug report logs - #992
coding system for next command not honoured with C-u 0 C-x s

Previous Next

Package: emacs;

Reported by: Francesco Potorti` <pot <at> gnu.org>

Date: Wed, 17 Sep 2008 16:45:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#992: marked as done (coding system for next command not 
 honoured with C-u 0 C-x s)
[Message part 1 (text/plain, inline)]
Your message dated Sun, 05 Oct 2008 15:09:54 -0400
with message-id <87ljx2voxp.fsf <at> cyd.mit.edu>
and subject line Re: coding system for next command not honoured with C-u 0 C-x s
has caused the Emacs bug report #992,
regarding coding system for next command not honoured with C-u 0 C-x s
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)


-- 
992: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=992
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Francesco Potorti` <pot <at> gnu.org>
To: GNU emacs bug list <bug-gnu-emacs <at> gnu.org>
Subject: coding system for next command not honoured with C-u 0 C-x s
Date: Wed, 17 Sep 2008 18:39:09 +0200
To reproduce:

emacs -Q
C-x C-f aaa RET				-- create a file aa
<write anything, with carriage return>  -- write random text
C-x RET c dos RET C-x C-s      		-- save it in Dos mode
C-x k RET     	      			-- kill the buffer
C-x C-f aaa RET				-- reload the file
<write anything>			-- modify it
C-x RET c unix RET M-0 C-x C-s		-- save in Unix mode, no backup

At this point, the buffer should be in Unix mode, but instead it is in
Dos mode.  Accordingly, the file is saved in Dos mode.  The bug only
happens with M-0 C-x C-s, not with plain C-x C-s.



[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: 992-done <at> debbugs.gnu.org
Subject: Re: coding system for next command not honoured with C-u 0 C-x s
Date: Sun, 05 Oct 2008 15:09:54 -0400
The patch I provided earlier seems to DTRT, so I've checked it in.


This bug report was last modified 16 years and 290 days ago.

Previous Next


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