On Apr 1, 18:12, Didier Verna wrote:
Colin Rafferty writes:
Colin> (global-set-key [(return)] 'newline-and-indent)
Oaow ...
But sometimes, you _don't_ want to indent. In C, for instance, you
might want to make a few blank lines before the next line of code. And you
don't want them to be indented because otherwise, Martin is going to send a
mega-patch to correct this ;-)
But it doesn't insert any spaces unless you type something on those lines..
The cursor moves down at the right indentation but when you check
afterwards there are no spaces there (just type something and then move
up, the cursor goes to the far left, and no spaces if you examine the
file with some other tool either).
Am I misunderstanding something?
- Tor