bug-gnu-emacs
[Top][All Lists]
Advanced

[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 <address@hidden>
> Cc: Xue Fuqiao <address@hidden>,  address@hidden,
>   address@hidden
> 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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]