Re: [PATCH 21.5] Reading and writing abbrev file under MULE

Hrvoje Niksic <[email protected]>
Newsgroups gmane.emacs.xemacs.patches,gmane.emacs.xemacs.design
Message-ID <[email protected]>
[email protected] (Nickolay Pakoulin) writes:

> Default coding system does not help because abbreviations might use
> multiple charsets.  Fancy a user, who uses abbreviations for writing
> in Russian and French.  BUT the language environment is one of
> cyrillics, because the user works with Russian mostly.

Hmm.  Mule has the (mis)feature of saving buffers with multiple
charsets with ISO 2022 sequences, which it usually recognizes when
reading external files.  I haven't tried mixing, for example, Latin 1
and Latin 2 abbrevs and saving them to see what happens.

Maybe abbrev-saving code should add a "-*-" coding cookie so the
coding system used is explicit?

> May be the hint with `file-coding-system-alist' should be added to
> the documentation.

I'm not sure what file-coding-system-alist does, but I'm sure glad it
helped you!  :-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.