emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniele Nicolodi <daniele@grinta.net>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Bug: headline folding broken by whitespace
Date: Sat, 31 Oct 2020 16:06:22 +0100	[thread overview]
Message-ID: <9ab68310-7aeb-7a6a-0a73-07c292dd23d7@grinta.net> (raw)


i saw a few reports of bugs related to folding and unfolding of
headlines recently, but I think this is not a duplicate.

I just noticed that with the latest release (Org mode version 9.4
(9.4-27-g47bf60-elpa @ /Users/daniele/.emacs.d/elpa/org-20201026/)
unfolding of headlines is broken by whitespace. In particular with a
buffer with this content:

* Foo
** Bar
   bar bar bar+49 1520 7178926

* Baz

where the line before "* Baz" contains a single whitespace character,
the headline "* Foo" can be folded but cannot be unfolded. Removing the
whitespace while the headline is folded fixes the problem.


             reply	other threads:[~2020-10-31 15:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-31 15:06 Daniele Nicolodi [this message]
2020-10-31 16:28 ` Bug: headline folding broken by whitespace Russell Adams
2020-10-31 16:44   ` Daniele Nicolodi
2020-10-31 16:53   ` Kyle Meyer
2020-10-31 16:49 ` Kyle Meyer
2020-10-31 16:59   ` Daniele Nicolodi
2020-10-31 17:58     ` Kyle Meyer
2020-10-31 20:43       ` Russell Adams
2020-10-31 21:12         ` Kyle Meyer
2020-11-02  8:25           ` Richard Kim

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=9ab68310-7aeb-7a6a-0a73-07c292dd23d7@grinta.net \
    --to=daniele@grinta.net \
    --cc=emacs-orgmode@gnu.org \


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