emacs-devel
[Top][All Lists]
Advanced

[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 20:13:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> > I use C-o (usually followed by C-n) many times a day, instead of
>> > <Enter>, in order to suppress re-indentation of the current line in
>> > cases where that re-indentation will be incorrect for my purposes**.
>> 
>> Oh, I see -- it's useful as an alternative to `RET' exactly when
>> re-indentation does the wrong thing?
>
> Yes, but not only that -- it doesn't move point to the next line,
> unlike RET.

Right, but in the use case described, the `C-o' is followed by `C-n', so
it's just to suppress faulty re-indentation, apparently.

And I think that's a valid use case -- Emacs does get these things wrong
now and then, and having an escape hatch readily available seems
useful.  Perhaps the doc string of `RET' (i.e., `newline-and-indent' in
most modes) should mention (and link to) to `C-o'?  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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