GNU bug report logs - #13810
24.3.50; Docstring of `newline' is confusing

Previous Next

Package: emacs;

Reported by: Xue Fuqiao <xfq.free <at> gmail.com>

Date: Mon, 25 Feb 2013 10:06:02 UTC

Severity: minor

Tags: fixed

Found in version 24.3.50

Fixed in version 28.1

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: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: xfq.free <at> gmail.com, stephen.berman <at> gmx.net, 13810 <at> debbugs.gnu.org
Subject: bug#13810: 24.3.50; Docstring of `newline' is confusing
Date: Sat, 25 Jan 2020 19:20:59 +0200
> From: Stefan Kangas <stefan <at> marxist.se>
> Cc: Xue Fuqiao <xfq.free <at> gmail.com>,  stephen.berman <at> gmx.net,
>   13810 <at> debbugs.gnu.org
> Date: Sat, 25 Jan 2020 16:39:37 +0100
> 
> 1. emacs -Q
> 2. M-x fundamental-mode
> 3. M-x set-variable RET left-margin RET 3 RET
> 
> Now `newline' (RET) does not indent to column 3.  However,
> `electric-newline-and-maybe-indent' (C-j) does indent to that
> column.  This seems to contradict the doc string of `left-margin',
> which says "Linefeed indents to this column in Fundamental mode."

Linefeed is not RET, nor "newline".  It's C-j.

> I also found some possibility for improving the doc string of
> `newline', and propose the attached patch.  WDYT?

That's OK, but it's unrelated, isn't it?




This bug report was last modified 4 years and 246 days ago.

Previous Next


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