[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13810: 24.3.50; Docstring of `newline' is confusing
From: |
Eli Zaretskii |
Subject: |
bug#13810: 24.3.50; Docstring of `newline' is confusing |
Date: |
Sat, 25 Jan 2020 19:20:59 +0200 |
> From: Stefan Kangas <stefan@marxist.se>
> Cc: Xue Fuqiao <xfq.free@gmail.com>, stephen.berman@gmx.net,
> 13810@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?