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: Alan Mackenzie <acm <at> muc.de>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: gnu-emacs-bug <at> moderators.isc.org, josh <at> foxtail.org, Richard Stallman <rms <at> gnu.org>, drew.adams <at> oracle.com, acm <at> muc.de
Subject: bug#16155: 24.3.50;
Date: Wed, 25 Dec 2013 00:49:32 +0100 (CET)
On Mon, 23 Dec 2013, Stefan Monnier wrote:

>> Are those programming modes?  Maybe you're right for programming modes,
>> but you made the change for Text modes too.

> I'm not sure if/why there should be a difference.  Maybe the behavior
> needs to be adjusted for text-mode (i.e. for the case where
> indent-line-function is `indent-relative'), but I don't think it applies
> to all text modes (e.g. latex-mode, nxml-mode, ...).

There is a difference.  I think this change (which to be explicit, is the
swapping of the actions of the key bindings RET and C-j) should be made 
for programming modes only right now.  Or possibly with certain specific 
other modes which are "like" programming modes.  But in text-mode, RET 
should not indent and C-j should (regardless of what a user 
may have installed on indent-line-function).  If there is demand for 
this swap in other modes, we can always add it later.

>        Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).




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

Previous Next


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