Jamie Zawinski <jwz(a)jwz.org> writes:
Simon Josefsson wrote:
> Doesn't --with-file-coding work on OSX?
No idea -- that's the first I've heard of it.
Sure would be nice if xemacs just did the right thing on Macs...
At least --with-file-coding makes CRLF/LF just work for me under
I know that on Linux, xemacs conspires to hide from me the fact
that files have CRLF line endings (it is, in fact, a big hassle
to convert CRLF to plain LF, since it really very much wants to
just preserve them transparently.) Similar ^M DWIMity seems
The minibuffer contains a indicator, and you can press C-x RET f
undecided-dos RET to save a LF file as CRLF, and C-x RET f
undecided-unix RET to save a CRLF file as LF. Perhaps this requires
--with-mule too. The usability aspects of this leaves some things to
desire; Emacs has a few menu items for the command, but I seem unable
to locate them in XEmacs, and I doubt non-emacs savvy people find
"file coding", "undecided-unix" or "undecided-dos" intuitive
Btw, it seems the command in XEmacs (both 21.4 and 21.5) is buggy, the
modified flag isn't changed in a buffer when I run this command, yet
if I make a change to the buffer, and undo it, and then save the
buffer, XEmacs does respect my CRLF/LF setting.