emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to preserve empty headings


From: Berry, Charles
Subject: Re: How to preserve empty headings
Date: Mon, 30 Nov 2020 22:25:47 +0000


> On Nov 30, 2020, at 11:25 AM, Diego Zamboni <diego@zzamboni.org> wrote:
> 
> What are RET and C-j bound to?
> 
> In my setup, RET is bound to =org-return=, which does not delete spaces, but 
> C-j is bound to =org-return-and-maybe-indent=, which does. So I have the 
> opposite behavior as yours.
> 


Probably you have `electric-indent-mode' set to nil.

C-j is org-return-and-maybe-indent.

RET is org-return.

If I read the docstrings correctly, org-return (thru org--newline) and 
org-return-and-indent-maybe both trefer to electric-indent-mode, but in 
opposite manner (nil vs. t).

Chuck

[rest deleted]



reply via email to

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