From: Giovanni Moretti <Giovanni@reflections.co.nz>
Subject: Heading won't unfold on TAB if last line has just spaces, with empty line preceding.
Date: Wed, 14 Oct 2020 16:33:23 +1300 [thread overview]
Message-ID: <email@example.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]
There's something weird with headings that can cause unfolding to fail. Headings can
be folded with TAB refuse to unfold - they need Shift-TAB to see the contents. This
is scary as it looks like content has been accidentally deleted whereas it's really
The TAB-cycling worked as expected in Org 9.1.9 for the following example but fails
The example below illustrates the difficulties:
* Block 1 - you can delete X to leave two empty lines and TAB on "Block 1" (or 1a)
cycles as expected - GOOD!
But if the last line isn't empty but has spaces:
* Block 2 - deleting X (leaving empty line) and then Z to leave the last line with
just a space (one or more) and heading will fold on TAB /but won't unfold/.
Shift-Tab is needed.
* Block 3 - the same symptoms as Block 2 but has a subtree to show
"Folded/Children/Subtree" when Tab-cycling on level one heading.
* Block 1 - OK
Block 1 text
** Block 1a heading
Block 1a content
* BAD BLOCK 2 - Delete X & Z, then TAB WON'T UNFOLD
Block 2 content
* BAD BLOCK 3 - TAB WON'T UNFOLD
Block 2 content
** BAD BLOCK 3a
Block 3a content
* Block 4 - OK
[-- Attachment #2: Type: text/html, Size: 1839 bytes --]
next reply other threads:[~2020-10-14 3:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-14 3:33 Giovanni Moretti [this message]
2020-10-14 4:29 ` Heading won't unfold on TAB if last line has just spaces, with empty line preceding Kyle Meyer
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 \
* 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).