From xemacs-m  Sat Aug 30 00:46:14 1997
Received: from ns.jsys.co.jp (ns.jsys.co.jp [202.33.240.82])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id AAA06529
	for <xemacs-beta@xemacs.org>; Sat, 30 Aug 1997 00:46:12 -0500 (CDT)
Received: from cosmos.jsys.co.jp (cosmos.jsys.co.jp [172.31.80.5])
	by ns.jsys.co.jp (8.8.7/8.8.6) with ESMTP id OAA03468
	for <xemacs-beta@xemacs.org>; Sat, 30 Aug 1997 14:46:12 +0900 (JST)
Received: from skywalk.jsys.co.jp (j-04110.jsys.co.jp [172.31.49.72])
	by cosmos.jsys.co.jp (8.8.7/8.8.7/NOTES) with ESMTP id OAA01103
	for <xemacs-beta@xemacs.org>; Sat, 30 Aug 1997 14:46:11 +0900 (JST)
Received: (from ienaga@localhost) by skywalk.jsys.co.jp (8.8.5/3.5Wpl2) id OAA00618; Sat, 30 Aug 1997 14:45:32 +0900 (JST)
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> <m2afi04y97.fsf@altair.xemacs.org>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Kazuyuki IENAGA <ienaga@jsys.co.jp>
Date: 30 Aug 1997 14:45:31 +0900
In-Reply-To: SL Baur's message of "29 Aug 1997 11:53:08 -0700"
Message-ID: <rysn2m02phg.fsf@skywalk.jsys.co.jp>
Lines: 30
X-Mailer: Gnus v5.4.65/XEmacs 20.3(beta18) - "Bratislava"
X-Face:  9{'tf33,11#K2A'RDL?p:oEk{~%v;iFL63&]_`FnV~q9]UoqU:"Z*;!l8*yw(91jLdj'8ca
 ~kD1b`lzQ>o[fU=>6g(Er\.fiQPm[~<w?Is+rkeQnV9B~6|>`*Nw1,kCrfo(IH??{i~'F


SL Baur <steve@xemacs.org> writes:

> > 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.

Gee, it works.

FYI, Emacs-20's file-coding-system-alist's value is
(("\\.elc$" no-conversion . no-conversion)
 ("loaddefs.el$" no-conversion . no-conversion)
 ("\\.tar$" no-conversion . no-conversion)
 ("" undecided))

-- 
Kazz

