Ar an naoiú lá de mí Feabhra, scríobh David Kastrup:
[...] Debugger entered--Lisp error: (error "No such coding
system"
iso-latin-1-unix) [...]
What is this?
It’s a coding system name that that’s mentioned several times in the XEmacs
21.4 source tree. But wherever it’s mentioned, it’s commented out. It’s
really surprising that you say that XEmacs is automatically setting
this--can you give us details of the file in question and any pertinent
~/.xemacs/init.el settings?
For example, I can manually do:
M-: (setq buffer-file-coding-system 'iso-latin-1) RET
and the assignment will succeed, and the coding system indicator in my mode
line will disappear, because this coding system doesn’t exist; but whenever
I try to save or even M-x describe-coding-system RET RET, it gives `No such
coding system: iso-latin-1', so it’s pretty evident this setting is wrong.
Or are you inheriting your settings from GNU Emacs? In that case, I have
some coding system warnings that I have a mind to add to XEmacs; the
intention is that they should be run after evaluating the initialisation
file, and they should give warnings about inconsistent user settings. A
check along the lines of
(unless (coding-system-p
(find-coding-system (default-value buffer-file-coding-system)))
(display-warning 'error
(concat "The default value of buffer-file-coding-system _must_ be "
"an existing coding system. It's not, at the moment, and "
"you _will_ lose data as a result!")))
after ~/.xemacs/init.el might better deal with this case.
--
“Ah come on now Ted, a Volkswagen with a mind of its own, driving all over
the place and going mad, if that’s not scary I don’t know what is.”