From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Better language detection for tutorial Date: Thu, 26 Jul 2007 08:25:33 -0400 Message-ID: References: <85ejj5xv4x.fsf@lola.goethe.zz> <86ejj4g3d4.fsf@lola.quinscape.zz> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1185452632 15452 80.91.229.12 (26 Jul 2007 12:23:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2007 12:23:52 +0000 (UTC) Cc: wilde@sha-bang.de, thomas@intevation.de, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 26 14:23:51 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IE2Ni-0005K7-Nr for ged-emacs-devel@m.gmane.org; Thu, 26 Jul 2007 14:23:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IE2Ni-0001Ap-80 for ged-emacs-devel@m.gmane.org; Thu, 26 Jul 2007 08:23:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IE2Ne-000191-Li for emacs-devel@gnu.org; Thu, 26 Jul 2007 08:23:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IE2Ne-00018p-8G for emacs-devel@gnu.org; Thu, 26 Jul 2007 08:23:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IE2Ne-00018m-3f for emacs-devel@gnu.org; Thu, 26 Jul 2007 08:23:46 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IE2Nd-0005c8-Si for emacs-devel@gnu.org; Thu, 26 Jul 2007 08:23:45 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IE2PN-0004Pn-74; Thu, 26 Jul 2007 08:25:33 -0400 In-reply-to: (message from Kenichi Handa on Thu, 26 Jul 2007 21:19:12 +0900) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:75564 Archived-At: > From: Kenichi Handa > CC: wilde@sha-bang.de, thomas@intevation.de, emacs-devel@gnu.org > Date: Thu, 26 Jul 2007 21:19:12 +0900 > > > How about if we set the language environment according to LANG and > > LC_MESSAGES, and then set the preferred coding systems according to > > LC_TYPE? Will that do the trick? > > That will be another workaround, but still has a problem. > Once one changes lang. env., he can never be back to the > original settings by set-language-environment. Not if we make the above suggestion part of set-language-environment itself. We could have optional behavior that instructed set-language-environment whether to cater to LC_TYPE or not. Interactively, it probably shouldn't by default do that, for example.