[Mono-list] newline and cvs
Martin Baulig
martin@gnome.org
03 Mar 2002 17:57:25 +0100
"Piers Haken" <piersh@friskit.com> writes:
> Why bother with a tool? What a PITA. Why not just use the format that's
> available on all platforms?
>
> Unix editors tend to have DOS compatility modes. I know it's simple to
> have vim switch mode based on extension. Surely emacs can do something
> similar?
If you have a recent version of Emacs with MULE support (which all
emacsen from recent Linux distributions should have), then it'll
automatically detect the coding system if you open a file and preserve
this coding system when you save the file.
Of course, you can also explicitly specify the coding system using
(set-buffer-file-coding-system) - for instance raw-text-dos or raw-text-unix.
> DOS editors tend NOT to have Unix compatilibity modes. Specifically:
> VS.NET which I'm sure more than a few people here are using.
Same applies for GNU Emacs on Windows.
--
Martin Baulig
martin@gnome.org