GNU bug report logs - #8122
23.2.94; (prefer-coding-system 'utf-8) changes indentation behavior for emacsclient

Previous Next

Package: emacs;

Reported by: Steve Revilak <steve <at> srevilak.net>

Date: Sat, 26 Feb 2011 14:32:02 UTC

Severity: normal

Found in version 23.2.94

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Kenichi Handa <handa <at> m17n.org>, 8122 <at> debbugs.gnu.org,
	Steve Revilak <steve <at> srevilak.net>
Subject: Re: bug#8122: 23.2.94;
	(prefer-coding-system 'utf-8) changes indentation behavior
	for	emacsclient
Date: Sat, 26 Feb 2011 14:56:37 -0500
> I propose the following change to fix this:

Sounds right, thank you,


        Stefan


> --- lisp/international/mule-cmds.el~0	2011-01-08 12:45:14.000000000 -0500
> +++ lisp/international/mule-cmds.el	2011-02-26 11:32:22.483284753 -0500
> @@ -368,7 +368,8 @@
>  		 (coding-system-get coding-system 'ascii-compatible-p)))
>  	(setq default-file-name-coding-system coding-system)))
>    (setq default-terminal-coding-system coding-system)
> -  (setq default-keyboard-coding-system coding-system)
> +  (setq default-keyboard-coding-system
> +	(coding-system-change-eol-conversion coding-system 'unix))
>    ;; Preserve eol-type from existing default-process-coding-systems.
>    ;; On non-unix-like systems in particular, these may have been set
>    ;; carefully by the user, or by the startup code, to deal with the






This bug report was last modified 14 years and 148 days ago.

Previous Next


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