emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] How to stop org delete surrounding newline when adding headlines


From: Shiyao Ma
Subject: Re: [O] How to stop org delete surrounding newline when adding headlines?
Date: Sat, 11 Mar 2017 10:48:48 +0800

Hi,

Yes, I've tried with '((heading . auto)).  

'((heading . auto)) opens the possibility of inserting newline, which is not desirable for me.



On Sat, Mar 11, 2017 at 1:21 AM, Nicolas Goaziou <address@hidden> wrote:
Hello,

Shiyao Ma <address@hidden> writes:

> I don't want org to automatically insert newline when adding headlines, so
> I set this:
>
> org-blank-before-new-entry '((heading . nil) (plain-list-item . nil))
>
> But turns out, org *aggressively* delete the existing newlines when I press
> ctrl-return.
>
>
> How to tell org simply not to add newline when adding headline, meanwhile
> not do anything else?

Have you tried '((heading . auto))?

Regards,

--
Nicolas Goaziou


reply via email to

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