Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Favorite Hacks in Emacs

by monarch (Priest)
on May 13, 2009 at 14:32 UTC ( #763776=note: print w/ replies, xml ) Need Help??

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".

Comment on Re: Favorite Hacks in Emacs

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://763776]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2015-10-07 08:42 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (173 votes), past polls