From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ben Bullock" Newsgroups: gmane.emacs.help Subject: Re: Gnu Emacs under Japanese MS Windows Date: Wed, 14 Nov 2007 21:18:04 +0900 Organization: Academic New Town Community Cable Service Message-ID: References: <1194570171.261210.234480@y27g2000pre.googlegroups.com> <1194620929.862788.139380@y27g2000pre.googlegroups.com> <1194655392.447673.257780@v2g2000hsf.googlegroups.com> <1194881338.645107.274660@k79g2000hse.googlegroups.com> <1194917576.638938.16920@d55g2000hsg.googlegroups.com> <1194944384.261646.303620@v65g2000hsc.googlegroups.com> <1195035011.109472.275080@o3g2000hsb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195044043 17740 80.91.229.12 (14 Nov 2007 12:40:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2007 12:40:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 14 13:40:49 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IsHY0-0008WO-La for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Nov 2007 13:40:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsHXo-0007zH-7y for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Nov 2007 07:40:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.aset.psu.edu!news.glorb.com!newsfeed2.kddnet.ad.jp!newsfeed2.kddnet.ad.jp!feed1.sphere.ad.jp!210.173.160.120.MISMATCH!mfeed-news!news-gw1.ocn.ad.jp!news-gw2.ocn.ad.jp!nd-tk001.ocn.ad.jp!210.235.48.70.MISMATCH!news.accsnet.ne.jp!not-for-mail Original-Newsgroups: sci.lang.japan,gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 73.252.accsnet.ne.jp Original-X-Trace: ml.accsnet.ne.jp 1195042682 17505 202.220.252.73 (14 Nov 2007 12:18:02 GMT) Original-X-Complaints-To: usenet@news.accsnet.ne.jp Original-NNTP-Posting-Date: Wed, 14 Nov 2007 12:18:02 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Original-Xref: shelby.stanford.edu sci.lang.japan:212369 gnu.emacs.help:153810 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49243 Archived-At: "Jason Rumney" wrote in message news:1195035011.109472.275080@o3g2000hsb.googlegroups.com... > You must have set the same thing up at work. Looking back, your LANG > is set to en_GB. Well, I haven't made any adjustments to that PC so I'm not sure why. > This is the standard ISO code for British English (Japanese would be > ja_JP). But > Windows doesn't use the standard ISO codes, it uses ENG and JPN > respectively. So we can rule out any Windows settings, and concentrate > on changes made to your environment variables. Look in the System > control panel under Advanced, and see if there is a setting for LANG > in the Environment Variables. As I've said above, the behaviour is the same on two Japanese Windows PCs. I don't think I've ever even visited the "Control Panel" on the one at work. But, as you said, I found the LANG variable set up in the System / Advanced (it is システムのプロパティ・詳細設定・環境変数) on Japanese Windows) menu. Since I didn't set it up at all, the only thing I can think of is that LANG was set up like that by either GIMP or Inkscape or Firefox, since I have all of these both on the home machine and the work machine, and they all have language settings (all set to something like en_GB). I definitely have never set it up like that myself. Anyway, I deleted LANG from the menu, and then I commented out the lines in .emacs which set it to shift-jis. Then I tried starting up Emacs again, and found that it seems to open the directories correctly now. I'm very glad that it works, although I'm a bit concerned how LANG got set like that. Thank you Jason for your assistance and for sticking with the problem long enough to get to a solution.