From xemacs-m  Fri Aug 29 13:48:12 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA00399
	for <xemacs-beta@xemacs.org>; Fri, 29 Aug 1997 13:48:11 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.7/8.8.7) id LAA24773;
	Fri, 29 Aug 1997 11:53:08 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: loading (Japanese) euc file into xemacs-20.3-b18
References: <lbbu2hll93.fsf@orion.kurims.kyoto-u.ac.jp> <m2u3g94olf.fsf@altair.xemacs.org> <lb67spl1oi.fsf@orion.kurims.kyoto-u.ac.jp> <rys203ddxqp.fsf@skywalk.jsys.co.jp>
X-Face: `'%\i;ySOu]g?NlziJSk_$&@]KP`}~PEQPjZ5;nxSaDW_o$4+4%Ab]%Ifw3ZR;7TIT3,O,'
 @2{L;]ox6kc;$_5kU'n**9vFg-]eV~GbxSVCx|(s%uR[],*:^WKmC`B}(;|k9/m]gwt?&`t;^rfCJg
 khHH>pP1W\)xM0U@!FNDD72{3fDP$PkBhx^7Z?-WxH6DbFN:QOnT`llzW}VGdYv;n9lzljQvKTIBhQ
 YuV
X-Attribution: sb
From: SL Baur <steve@xemacs.org>
In-Reply-To: Kazuyuki IENAGA's message of "29 Aug 1997 20:39:26 +0900"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 29 Aug 1997 11:53:08 -0700
Message-ID: <m2afi04y97.fsf@altair.xemacs.org>
Lines: 26
X-Mailer: Gnus v5.4.65/XEmacs 20.3(beta19) - "Kiev"

Kazuyuki IENAGA <ienaga@jsys.co.jp> writes:

> Jens-Ulrik Holger Petersen <petersen@kurims.kyoto-u.ac.jp> writes:

>> [find-file something.el doesn't work with euc-jp in Japanese Language 
>> environment]

Urgh.  This has never worked apparently. :-(

> This might be an adhoc but effective way to set coding-system-for-read
> to 'automatic-conversion in your init.el.
> Until the behavior of XEmacs sync'ed to Emacs-20.

> Is there any other good and right solution for this problem?
> I want to know, too.

Look at `buffer-file-coding-system-alist'.  If you remove the explicit 
iso-2022-8 default for .el files

(defvar buffer-file-coding-system-alist
  '(("\\.\\(el\\|emacs\\|info\\(-[0-9]+\\)?\\|texi\\)$" . iso-2022-8)
            ^^^^^

(delete the marked text) then it works for the example Jens gave.
Perhaps that whole variable should be nulled out in a Japanese
language environment.

