emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r114483: * term/ns-win.el (ns-initialize-window-


From: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r114483: * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
Date: Mon, 30 Sep 2013 14:36:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> --- a/lisp/term/ns-win.el     2013-09-18 04:36:34 +0000
> +++ b/lisp/term/ns-win.el     2013-09-29 17:09:39 +0000
> @@ -912,6 +912,13 @@
>    ;; FIXME: This will surely lead to "MODIFIED OUTSIDE CUSTOM" warnings.
>    (menu-bar-mode (if (get-lisp-resource nil "Menus") 1 -1))
 
> +  ;; For NS nothing except UTF-8 makes sense.
> +  (add-hook 'before-init-hook
> +            #'(lambda ()
> +                (setq locale-coding-system 'utf-8-unix)
> +                (setq default-process-coding-system
> +                      '(utf-8-unix . utf-8-unix))))
> +
>    ;; OS X Lion introduces PressAndHold, which is unsupported by this port.
>    ;; See this thread for more details:
>    ;; http://lists.gnu.org/archive/html/emacs-devel/2011-06/msg00505.html

Does this apply to any Darwin build and only to Darwin builds?
What about tty-only Darwin builds?  And what about GNUstep builds?


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]