From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel 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 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1380566232 29192 80.91.229.3 (30 Sep 2013 18:37:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Sep 2013 18:37:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Jan D." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 30 20:37:16 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VQiLJ-0001Yd-4F for ged-emacs-devel@m.gmane.org; Mon, 30 Sep 2013 20:37:13 +0200 Original-Received: from localhost ([::1]:51152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQiLI-0006kM-On for ged-emacs-devel@m.gmane.org; Mon, 30 Sep 2013 14:37:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQiL8-0006dl-Mo for emacs-devel@gnu.org; Mon, 30 Sep 2013 14:37:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VQiL2-0004gW-R6 for emacs-devel@gnu.org; Mon, 30 Sep 2013 14:37:02 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:39002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQiL2-0004gK-N9 for emacs-devel@gnu.org; Mon, 30 Sep 2013 14:36:56 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r8UIas2S023540; Mon, 30 Sep 2013 14:36:55 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 9C583631AA; Mon, 30 Sep 2013 14:36:54 -0400 (EDT) In-Reply-To: (Jan D.'s message of "Sun, 29 Sep 2013 17:09:42 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4717=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4717> : inlines <110> : streams <1047779> : uri <1551955> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163739 Archived-At: > --- 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