[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggested experimental test
From: |
Stefan Monnier |
Subject: |
Re: Suggested experimental test |
Date: |
Mon, 22 Mar 2021 16:54:50 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen [2021-03-22 20:52:19] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Maybe because it already says:
>> To just insert a newline, use \\[electric-indent-just-newline].
> Not here (in Emacs 28)...
I guess this is a misunderstanding coming from:
Perhaps the doc string of `RET' (i.e., `newline-and-indent' in most
modes) should mention (and link to) to `C-o'?
RET is supposed to be bound to `newline` by default, pretty
much everywhere. There are many modes which still bind RET to
`newline-and-indent`, but that's a historical accident that we should
fix because it disregards the user's choice to enable or disable
`electric-indent(-local)-mode`.
The docstring of `newline` (the thing bound to RET by default, AFAIC)
does include the line above, AFAICT. I don't see a string need for
`newline-and-indent` to point to something else (like `open-line`) since
this is a command which should basically never be bound except by an
explicit choice of the end-user.
Stefan
- Re: Suggested experimental test, (continued)
- Re: Suggested experimental test, Alfred M. Szmidt, 2021/03/22
- Re: Suggested experimental test, Thierry Volpiatto, 2021/03/22
- RE: [EXTERNAL] Re: Suggested experimental test, Stephan Mueller, 2021/03/22
- Re: Suggested experimental test, Lars Ingebrigtsen, 2021/03/22
- Re: Suggested experimental test, Eli Zaretskii, 2021/03/22
- Re: Suggested experimental test, Lars Ingebrigtsen, 2021/03/22
- Re: Suggested experimental test, Eli Zaretskii, 2021/03/22
- Re: Suggested experimental test, Lars Ingebrigtsen, 2021/03/22
- Re: Suggested experimental test, Stefan Monnier, 2021/03/22
- Re: Suggested experimental test, Lars Ingebrigtsen, 2021/03/22
- Re: Suggested experimental test,
Stefan Monnier <=
- Re: Suggested experimental test, Lars Ingebrigtsen, 2021/03/22
- Re: Suggested experimental test, Eli Zaretskii, 2021/03/23
- Re: Suggested experimental test, chad, 2021/03/22
- Re: Suggested experimental test, Eli Zaretskii, 2021/03/22
- Re: Suggested experimental test, Stefan Monnier, 2021/03/22
- Re: Suggested experimental test, Eli Zaretskii, 2021/03/22
- Re: Suggested experimental test, Lars Ingebrigtsen, 2021/03/22
- Re: Suggested experimental test, Lars Ingebrigtsen, 2021/03/22
- Re: Suggested experimental test, Eli Zaretskii, 2021/03/23
- Re: Suggested experimental test, Stefan Monnier, 2021/03/22