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: Wed, 02 Oct 2013 21:53:51 -0400 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 Content-Type: text/plain X-Trace: ger.gmane.org 1380765248 24711 80.91.229.3 (3 Oct 2013 01:54:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2013 01:54:08 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Jan =?windows-1252?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 03 03:54:11 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 1VRY7G-0000UE-MV for ged-emacs-devel@m.gmane.org; Thu, 03 Oct 2013 03:54:10 +0200 Original-Received: from localhost ([::1]:39475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRY7G-0000ox-5T for ged-emacs-devel@m.gmane.org; Wed, 02 Oct 2013 21:54:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRY76-0000oQ-4b for emacs-devel@gnu.org; Wed, 02 Oct 2013 21:54:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRY6y-0001ce-T9 for emacs-devel@gnu.org; Wed, 02 Oct 2013 21:54:00 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:48038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRY6y-0001cZ-P9 for emacs-devel@gnu.org; Wed, 02 Oct 2013 21:53:52 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFsoXM//2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNAcLFBgNJC4Dh20GwS2RCgOkeoFegxM X-IPAS-Result: Av8EABK/CFFsoXM//2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNAcLFBgNJC4Dh20GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="34635212" Original-Received: from 108-161-115-63.dsl.teksavvy.com (HELO pastel.home) ([108.161.115.63]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 02 Oct 2013 21:50:30 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D163663B99; Wed, 2 Oct 2013 21:53:51 -0400 (EDT) In-Reply-To: <93838DEC-76C4-4C1F-AEE3-3F00B77D6C9C@swipnet.se> ("Jan =?windows-1252?Q?Dj=E4rv=22's?= message of "Wed, 2 Oct 2013 08:29:56 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:163820 Archived-At: > 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. 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. Stefan