GNU bug report logs - #54502
Subject: 28.0.92; wrong info for RET

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Mon, 21 Mar 2022 14:43:02 UTC

Severity: minor

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 54502 <at> debbugs.gnu.org
Subject: Re: bug#54502: Subject: 28.0.92; wrong info for RET
Date: Mon, 21 Mar 2022 16:55:48 +0200
> Date: Mon, 21 Mar 2022 15:41:57 +0100
> From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
> 
> C-h k RET tells
> 
> [...]
> Insert a newline, and move to left margin of the new line.
> 
> ----
> 
> "Left margin"  is not the case from Emacs -Q, where it indents that newline.

The doc strings says more than that.  It also says:

  If ‘electric-indent-mode’ is enabled, this indents the final new line
  that it adds, and reindents the preceding line.  To just insert
  a newline, use M-x electric-indent-just-newline.

And if you evaluate electric-indent-mode, you will see that it is
enabled in your case.




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

Previous Next


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