emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Berry, Charles" via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: Titus von der Malsburg <malsburg@posteo.de>
Cc: Org mailing list <emacs-orgmode@gnu.org>
Subject: Re: How to preserve empty headings
Date: Mon, 30 Nov 2020 17:31:42 +0000	[thread overview]
Message-ID: <14271996-3E32-4E0D-A61D-C69F0FC01475@health.ucsd.edu> (raw)
In-Reply-To: <87tut6pxp1.fsf@posteo.de>

> On Nov 30, 2020, at 9:21 AM, Titus von der Malsburg <malsburg@posteo.de> wrote:
> When I start a new line with '* ' followed by RET, the space is automatically deleted and I’m left with a line that just has the asterisk (i.e. not a headline).
> Unfortunately there are use cases where empty headlines make sense and they occur often in my work.  One example is Beamer slides where each headline at some level produces a slide.  If the user needs a slide without title (common, e.g., for a large images that fill the slide), an empty headline is needed.
> Is there a way to teach Org to leave the empty headline intact?
> I may be old-fashioned but when I type '* ', I do it for a reason and I wish that my text editor respects that. :)

Instead of `* SPACE RET', try `* SPACE C-j'.

This works for me and leaves a blank heading intact through export.



  reply	other threads:[~2020-11-30 17:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30 17:21 How to preserve empty headings Titus von der Malsburg
2020-11-30 17:31 ` Berry, Charles via General discussions about Org-mode. [this message]
2020-11-30 18:14   ` Titus von der Malsburg
2020-11-30 18:25     ` Diego Zamboni
2020-11-30 18:38       ` Titus von der Malsburg
2020-11-30 19:17         ` Tom Gillespie
2020-11-30 19:25         ` Diego Zamboni
2020-11-30 22:25           ` Berry, Charles via General discussions about Org-mode.
2020-11-30 19:20       ` Titus von der Malsburg

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:

  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=14271996-3E32-4E0D-A61D-C69F0FC01475@health.ucsd.edu \
    --to=emacs-orgmode@gnu.org \
    --cc=ccberry@health.ucsd.edu \
    --cc=malsburg@posteo.de \


* 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


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).