[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to preserve empty headings
From: |
Titus von der Malsburg |
Subject: |
Re: How to preserve empty headings |
Date: |
Mon, 30 Nov 2020 19:14:12 +0100 |
User-agent: |
mu4e 1.5.5; emacs 28.0.50 |
On 2020-11-30 Mon 18:31, Berry, Charles wrote:
>> 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'.
I’m aware of several workarounds and this one is perhaps the best. However,
I’d prefer if RET would just work as expected. Org sometimes inserts extra
material on RET which I think is okay (e.g. indentation), but is there any
precedent, in Org or Emacs more broadly, for RET deleting text? It seems very
counter-intuitive to me.
Titus
- How to preserve empty headings, Titus von der Malsburg, 2020/11/30
- Re: How to preserve empty headings, Berry, Charles, 2020/11/30
- Re: How to preserve empty headings,
Titus von der Malsburg <=
- Re: How to preserve empty headings, Diego Zamboni, 2020/11/30
- Re: How to preserve empty headings, Titus von der Malsburg, 2020/11/30
- Re: How to preserve empty headings, Tom Gillespie, 2020/11/30
- Re: How to preserve empty headings, Diego Zamboni, 2020/11/30
- Re: How to preserve empty headings, Berry, Charles, 2020/11/30
- Re: How to preserve empty headings, Titus von der Malsburg, 2020/11/30