From: Shiyao Ma <i@introo.me>
To: emacs-orgmode@gnu.org
Subject: How to stop org delete surrounding newline when adding headlines?
Date: Thu, 9 Mar 2017 14:39:03 +0800 [thread overview]
Message-ID: <CAJQX3Dw-0T7LK+1Vmb9N7mskQwCexfJw+LMgcPfAqvny5VKCfg@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2017-03-09 6:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 6:39 Shiyao Ma [this message]
2017-03-10 15:50 ` How to stop org delete surrounding newline when adding headlines? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJQX3Dw-0T7LK+1Vmb9N7mskQwCexfJw+LMgcPfAqvny5VKCfg@mail.gmail.com \
--to=i@introo.me \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).