"Steven T. Hatton" <hattons(a)speakeasy.net> writes:
I've discovered when I open a file which I created with Old Norse
(Modern
Icelandic) characters, XEmacs treats it as Chinese. This can be a real
problem. Is there a way I can work around this?
C-u C-x C-f file-name RET utf-8 RET
or
C-x RET c utf-8 RET C-x C-f file-name RET
I'm looking at the available functions, and trying to determine
what
to put in my ~/.xemacs/init.el so that XEmacs guesses correctly when
I open files. I also want all my files to be opened and saved as
UTF-8.
(require 'un-define)
(setq file-coding-system-alist
(append (list
'("" . utf-8))
file-coding-system-alist))
*But*:
Then XEmacs will open *all* files as UTF-8, even those which
contain a coding system cookie like
-*- coding: euc-jp -*-
in their first line.
Stephen, what do you think, is this a bug?
Looks like a bug to me, I believe the coding system cookie should have
priority over file-coding-system-alist. GNU Emacs does it like that.
--
Mike Fabian <mfabian(a)suse.de>
http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。