From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r114483: * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system Date: Thu, 3 Oct 2013 19:18:22 +0200 Message-ID: References: <65FF6AAC-E4BE-42FD-86D4-221842DDC479@swipnet.se> <93838DEC-76C4-4C1F-AEE3-3F00B77D6C9C@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1380820724 17037 80.91.229.3 (3 Oct 2013 17:18:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2013 17:18:44 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 03 19:18:47 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 1VRmXz-0000cw-MY for ged-emacs-devel@m.gmane.org; Thu, 03 Oct 2013 19:18:43 +0200 Original-Received: from localhost ([::1]:44436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRmXz-00071O-77 for ged-emacs-devel@m.gmane.org; Thu, 03 Oct 2013 13:18:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRmXq-0006xd-Tw for emacs-devel@gnu.org; Thu, 03 Oct 2013 13:18:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRmXk-0007qX-BI for emacs-devel@gnu.org; Thu, 03 Oct 2013 13:18:34 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:37050) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1VRmXj-0007q2-W4 for emacs-devel@gnu.org; Thu, 03 Oct 2013 13:18:28 -0400 Original-Received: (qmail 2446 invoked by uid 89); 3 Oct 2013 17:18:23 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.bdtv.se with ESMTPA; 3 Oct 2013 17:18:23 -0000 Original-Received: from anon-50-194.vpn.ipredator.se (unknown [46.246.50.194]) by coolsville.localdomain (Postfix) with ESMTPSA id 8D1A11A01B0; Thu, 3 Oct 2013 17:18:22 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.1510) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 176.10.222.34 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:163835 Archived-At: Hi. 3 okt 2013 kl. 03:53 skrev Stefan Monnier : >> But that goes for many X11 setups as well. If LANG is set in = /etc/profile or >> ~/.profile, it won't be set if you start Emacs from a panel and the = parent >> session manager has not LANG set. >=20 > So maybe the better solution is to default to utf-8 if/when LANG is = not set, > rather than try to distinguish the GUI-vs-tty case. >=20 ... and LC_ALL and LC_CTYPE. I think it is too much effort for = practcally no benefit. Jan D.