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


Message #48 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: gnu-emacs-bug <at> moderators.isc.org
Subject: Re: bug#16155: 24.3.50;
Date: Wed, 18 Dec 2013 22:28:16 +0000 (UTC)
Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:
>> 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?

>        Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).





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.