[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggested experimental test
From: |
Lars Ingebrigtsen |
Subject: |
Re: Suggested experimental test |
Date: |
Mon, 22 Mar 2021 22:04:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> 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`.
And I had a
(global-set-key "\C-m" 'newline-and-indent)
at 3% in my .emacs file, which makes about 15 years old, I think, and I
had no idea that it was there.
> 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.
This end user had no recollection of doing so, so I think it still makes
sense to point to `C-o' here.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Suggested experimental test, (continued)
- 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, 2021/03/22
- Re: Suggested experimental test,
Lars Ingebrigtsen <=
- 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
- RE: [External] : Re: Suggested experimental test, Drew Adams, 2021/03/22