emacs tips

How to fix file line endings EOLs using emacs?
How to change file line endings between Mac/Dos/Unix?

Open the file, then do "Alt+x set-buffer-file-coding-system" (Ctrl+x Enter f). Give it a value of mac, dos, unix. Then, when you save the file, it'll be saved with the proper encoding for newlines.


Follow on Twitter


LinkedIn
Facebook
Notchup, Member 74311




Copyright (C) 2008, Mike McCreavy
[ x ] Console
Timestamp Message
hey
[ x ] Socket Console
Timestamp Message
hey