In article <[EMAIL PROTECTED]>, Juanma Barranquero <[EMAIL PROTECTED]> writes:

> Am I the only one who gets this error?
>>  emacs -Q
>>  
>>  M-x ielm <RET>
ELISP>  (prefer-coding-system 'utf-16le-with-signature)
>>  (mule-utf-16le-with-signature-dos . mule-utf-16le-with-signature-unix)
>>  
ELISP>  (list-coding-systems)
>>  *** Eval error ***  Cannot open load file: mule-diag
ELISP> 

This is because prefer-coding-system sets also
default-file-name-coding-system.  It seems that any attempt
to set it (and keyboard-coding-system) to ascii-incompatible
coding system should be avoided.  So, I've just installed
these changes.

2005-07-07  Kenichi Handa  <[EMAIL PROTECTED]>

        * international/mule.el (make-coding-system): Describe
        `ascii-incompatible' property in the docstring.
        (set-file-name-coding-system): Signal an error if coding-system is
        ascii-incompatible.
        (set-keyboard-coding-system): Likewise.

        * international/mule-cmds.el (set-default-coding-systems): Don't
        set default-file-name-coding-system and
        default-keyboard-coding-system if coding-system is
        ASCII-incompatible.

        * international/utf-16.el: Declare that all UTF-16-based coding
        systems ASCII-incompatible.

---
Kenichi Handa
[EMAIL PROTECTED]


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

Reply via email to