delorie.com/archives/browse.cgi | search |
>>>>> "Markus" == Markus Hoenicka <Markus DOT Hoenicka AT uth DOT tmc DOT edu> writes: Markus> David M. Karr writes: >> As I still have to work with other applications (Emacs, etc.) which >> will continue to write files with DOS line endings, removing the ^Ms >> is not a practical option, as I'd have to do that constantly. Markus> If Emacs is your major concern, stick the following into your .emacs: Markus> (setq-default buffer-file-coding-system 'undecided-unix) Markus> New files will then be unix-style. Works great here. Emacs is a major concern, but not my only one. I don't think it's practical to try to fix every Windows program to produce Unix line endings. I have to focus on getting Cygwin to work with DOS line endings. My original installation works fine. When I ran the second installation, I think I probably left the "Unix" flag on. Is it conceivable that I'll have to uninstall completely so I can reinstall with the "DOS" flag set? Rerunning it and setting that flag had no effect. -- =============================================================================== David M. Karr ; dkarr AT tcsi DOT com ; w:(425)487-8312 ; TCSI & Best Consulting Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (#12004) -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |