emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to stop org delete surrounding newline when adding headlines?
@ 2017-03-09  6:39 Shiyao Ma
  2017-03-10 15:50 ` Narendra Joshi
  2017-03-10 17:21 ` Nicolas Goaziou
  0 siblings, 2 replies; 7+ messages in thread
From: Shiyao Ma @ 2017-03-09  6:39 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

Hi,

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?


Regards.

[-- Attachment #2: Type: text/html, Size: 544 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-03-11 13:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-09  6:39 How to stop org delete surrounding newline when adding headlines? Shiyao Ma
2017-03-10 15:50 ` Narendra Joshi
2017-03-10 16:16   ` Nicolas Goaziou
2017-03-10 17:21 ` Nicolas Goaziou
2017-03-11  2:48   ` Shiyao Ma
2017-03-11 10:08     ` Nicolas Goaziou
2017-03-11 13:21       ` Shiyao Ma

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).