GNU bug report logs - #16155
electric indent gripes

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sun, 15 Dec 2013 11:49:01 UTC

Severity: minor

Merged with 16156

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 16155 <at> debbugs.gnu.org
Subject: bug#16155: 24.3.50;
Date: Thu, 19 Dec 2013 08:31:19 -0500
[ How did you end up with gnu-emacs-bug <at> moderators.isc.org in the "To:"
  field?  ]

>>> Again, the question: why should `newline' indent when we've got the
>>> specific command `newline-and-indent'?
>> Because apparently most users like it.  You don't, so turn it off in
>> your ~/.emacs.
> I cannot see how to achieve the result I want by tweaking my .emacs.  What
> I want is this:
> o - with electric-indent-mode enabled.
> o - with ?\n a member of electric-indent-chars.
> o - `newline-and-indent' will indent both the current line and the new line.
> o - `newline' will indent only the current line
> Comments?

Indeed, I don't think you can get the above behavior by "tweaking" your
~/.emacs.  Is the above a new need, or is that a behavior you used to
have, and if so how did you get it before?


        Stefan




This bug report was last modified 3 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.