Ar an séiú lá de mí na Nollaig, scríobh Tony Freixas:
> > However, when I create a new file, it defaults to the
> > convention. I would like it to default to the Windows convention,
> > but haven't found the magic incantation to do so. Can anyone help
> > with this?
> (setq-default buffer-file-coding-system 'iso-8859-1-dos)
> in your ~/.xemacs/init.el is one way to do it.
I just got around to trying this. The magic incantation actually turned
out to be:
(setq-default buffer-file-coding-system 'raw-text-dos)
The available coding systems include iso-8859-1, but not iso-8859-1-dos
(at least, not on my machine). Still, thanks Adrian, you got me close
enough to resolve the problem.
It doesn’t matter, since what you did will be equivalent, but iso-8859-1-dos
should be available, certainly on Mule. It may be hidden in the list, but
I’d be surprised if
M-: (find-coding-system 'iso-8859-1-dos) RET
didn’t give you
Santa Maradona, priez pour moi!
XEmacs-Beta mailing list