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

chad <yandros@gmail.com> writes:

> I'm having a hard time finding a behavior difference between `C-o C-n'
> and `C-j' in these contexts. Can someone help me understand the
> difference?

That's true, but `C-j' is sometimes more complicated:

---
It is bound to C-j.

(electric-newline-and-maybe-indent)

Insert a newline.
If ‘electric-indent-mode’ is enabled, that’s that, but if it
is *disabled* then additionally indent according to major mode.
---

But, yes, `C-j' is often the command to use when `RET' does too much.

-- 
(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]