in reply to Favorite Hacks in Emacs
<Ctrl>-x, <enter>, f
Changes encoding of a file (useful when converting to/from DOS/Unix line formats).
e.g. I might be on a Unix system and I need to create a MS-DOS compatible text file, I type <ctrl>-x, <enter>, f and type "undecided-DOS".
Or I might be on a Win32 machine and want to save a file in unix format for transfer to a remote system as a shell script. <ctrl>-x, <enter>, f and type "undecided-unix".
|
---|
In Section
Seekers of Perl Wisdom