GNU bug report logs - #16156
electric indent gripes

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

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

Severity: minor

Merged with 16155

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 #12 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#16156: 24.3.50;
Date: Wed, 18 Dec 2013 22:06:43 +0000 (UTC)
Richard Stallman <rms <at> gnu.org> wrote:

> In text mode, if the buffer contains
> -----------------------------------------
> foo
>   bar
> -----------------------------------------

> and point is at the start of the second line, and I type RET,
> it gives

> -----------------------------------------
> foo

> bar
> -----------------------------------------

> This is clearly wrong.

RET is bound to `newline'.  `newline' now indents the new line created,
under certain arcane conditions which hold by default.

C-j is bound to `electric-indent-just-newline'.  This command doesn't
indent the new line created.

I also think this is not the right thing to do.

> -- 
> Dr Richard Stallman

-- 
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.