> The above amendments will leave the behaviour of Emacs unchanged for the > normal user. They will cause mild incompatibilities, the inverse of > those which were caused in 24.4 (or whenever), when the current setup > was set up. > > Then bugs like the current one will no longer happen in the future. > > Clearly this would need to be discussed and settled in emacs-devel, > first. > > What do you say? I'm one of the "normal" users who wouldn't be affected, so it's fine for me. And I kind of think binding C-j to newline makes more sense anyway (?\C-j is literally the newline character, after all). Pushing through changes to default keybindings is always a tricky proposition though. I have the impression that part of the reason for implementing the newline indentation via electric mode was because of this (i.e., add auto indentation to RET, without changing its binding). On the other hand, I don't think the idea of letting electric mode handle the indent on newline is quite so illogical as you say. The idea of electric indent, as I understand it, is that when you insert some character, Emacs will automatically perform indentation for you. Newline is a character, so why not let electric indent perform indentation after inserting it?