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 <mail@nicolasgoaziou.fr> wrote:
Hello,

Shiyao Ma <i@introo.me> 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