Colin Rafferty <craffert(a)ms.com> writes:
(global-set-key [(return)] 'newline-and-indent)
(global-set-key [(linefeed)] 'newline)
I cannot understand anyone who does not also have this. It does the
right thing everywhere. In source buffers, it indents properly. In
non-source buffers, it indents properly (i.e. not at all).
I don't use these bindings, but the most things I programmed the last months
were python apps. In python-mode the return key will also automatically
indent. I did not feel this behaviour as unnatural, so I think I like it.
I propose that we make a change for the better. We should change
one
of the most used keys on the keyboard to a smarter and more functional
binding.
Does anyone disagree?
Nope. [but this may actually start a kind of delete/backspace discussion and
may end in some theme -- the 'smart' theme ;-) -- or it ends on the custom
group with all those options we can not decide on.]
Regards,
Oliver.