Ar an ceathrú lá de mí na Nollaig, scríobh Tony Freixas:
I hope this is an easy question.
XEmacs appears to understand the different end-of-line conventions:
CR+LF on Windows, LF on Unix. When I open a file, it appears to examine
the first line to decide which convention to use. That's fine.
However, when I create a new file, it defaults to the Unix 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.
Santa Maradona, priez pour moi!
XEmacs-Beta mailing list