[OS X Emacs] electric-newline-and-indent and Aquamacs?

David Reitter david.reitter at gmail.com
Tue Dec 23 14:42:50 EST 2014


This must be a change that came from Emacs 24.  Check the NEWS file for Emacs 24.
There’s probably a simple solution to make it work as it did - and there’s probably some other way (I have no idea) to actually fix the bug your encountering.

--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!

> On Dec 23, 2014, at 11:59 AM, Robert P. Goldman <rpgoldman at sift.info> wrote:
> 
> Recently I find that Aquamacs is now making ^J be
> electric-newline-and-maybe-indent where before in programming modes I
> had newline-and-indent.  I suppose this would be fine, except for me
> it's electric-newline-and-NEVER-indent, which annoys me no end!
> 
> According to the function description this should indent when
> electric-indent-functions is non-nil.  This never seems to happen for me.
> 
> I have no idea why this comprehensively fails to work for me (presumably
> somehow electric-indent-functions should get loaded with a set of
> context-appropriate functions), or why/when electric-indent-mode was
> turned on globally by default.
> 
> Can anyone clue me in about this?  For now I'm turning it off globally,
> but presumably there was a good reason to turn this on, and by turning
> it off, I'm missing out somehow.
> 
> thanks!
> r
> 
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx



More information about the MacOSX-Emacs mailing list