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 07:40:50 -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 1185449954 6163 80.91.229.12 (26 Jul 2007 11:39:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2007 11:39:14 +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 13:39:13 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 1IE1gT-0007lb-8f for ged-emacs-devel@m.gmane.org; Thu, 26 Jul 2007 13:39:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IE1gS-0006pi-Gy for ged-emacs-devel@m.gmane.org; Thu, 26 Jul 2007 07:39:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IE1gP-0006pX-Fm for emacs-devel@gnu.org; Thu, 26 Jul 2007 07:39:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IE1gO-0006p7-3b for emacs-devel@gnu.org; Thu, 26 Jul 2007 07:39:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IE1gN-0006p4-V2 for emacs-devel@gnu.org; Thu, 26 Jul 2007 07:39:03 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IE1gN-00023D-MC for emacs-devel@gnu.org; Thu, 26 Jul 2007 07:39:03 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IE1i6-0004D7-CT; Thu, 26 Jul 2007 07:40:50 -0400 In-reply-to: (message from Kenichi Handa on Thu, 26 Jul 2007 11:29:48 +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:75559 Archived-At: > From: Kenichi Handa > CC: wilde@sha-bang.de, thomas@intevation.de, emacs-devel@gnu.org > Date: Thu, 26 Jul 2007 11:29:48 +0900 > > LANG=en_US > LC_CTYPE=de_DE@euro > LC_MESSAGES="en_US" > > So, coding-system must be latin-9 (iso-8859-15), but > messages (i.e. tutorial) must be English. 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? > For this case, "Latin-9" language environment may be an > alternative one that will work, but it's just by chance (and > not easy to find it from the above setting). For instance, > we don't have any alternative lang. env. for this: > > LC_CTYPE=ja_JP > LC_MESSAGES="en_US" Will my above suggestion work here as well?