Benjamin Riefenstahl wrote on 07 Jul 2005 20:56:42 +0200:

> Have you tried to do something like this:
>
>    (prefer-coding-system 'utf-16le-with-signature)
>    (prefer-coding-system 'latin-9)
>
> I.e. first put UTF-16 on the "priority list for automatic detection"
> and than override it again with Latin-9 for the defaults.

That would try latin-9 first, and if the file is valid as latin-9 (which
is quite likely), it will fail. Anyway, utf-16 is already on the list on
my emacs ...

As I said in a previous post, I would be nice to have an easy way to
modify coding-category-list without doing the other stuff
prefer-coding-system does.

-- 
Gaëtan LEURENT


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to