This is a major change, so I thought it would be better to throw this
out to the list, rather than just submitting a patch.
For the last umpteen years, I have had the following two lines in .emacs:
(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).
Of all the people that I have shown this to, only one has not changed
his bindings to match. There seems to me no reason why we should not
make this the default.
I imagine that somewhere in the dark past, there was no function
`newline-and-indent', and that is why we still don't bind it to
<return> by default.
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?
--
Colin