Andy Piper <andyp(a)bea.com> writes:
>Thus, in the current XEmacs on Windows-NT, you have to do the
following
>to produce a file with CRLF endings:
>
> 1. open the file, write some text
> 2. save it
> 3. kill the buffer
> 4. load the same file
> 5. M-x toggle-buffer-file-coding-system
> 6. insert & delete a char
> 7. save it
>
>I hope that everybody agrees that this is somewhat annoying.
It is but its difficult to do something that works in all cases. I guess if
we only did it for windows-nt that would be somewhat ok. I specifically do
not want this to happen under cygwin.
I agree the above procedure is bad but you can just do
(setq-default default-buffer-file-coding-system 'iso-8859-1-dos)
and save a lot of trouble. So I don't think it is a good
argument for toggle-buffer-file-coding-sytem changing
default EOL type.
>To other remarks:
>
> * "Toggling" Unix -> Dos -> Mac -> ... doesn't seem to be
what people
> really need. Ok, there could be a variable... But it should affect
Agreed.
Why not? If we have three EOL conversions, it should cycle
among them. Toggling between Unix and Dos is neglecting Mac
users. Remember XEmacs does work on Mac OS X (or so I've heard).
--
Yoshiki Hayashi