[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8122: 23.2.94; (prefer-coding-system 'utf-8) changes indentation beh
From: |
Stefan Monnier |
Subject: |
bug#8122: 23.2.94; (prefer-coding-system 'utf-8) changes indentation behavior for emacsclient |
Date: |
Sat, 26 Feb 2011 14:56:37 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> 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