Russell Adams writes: > On Sat, Oct 31, 2020 at 04:06:22PM +0100, Daniele Nicolodi wrote: >> 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. > > I'm on Org mode version 9.4 (9.4-27-g47bf60-elpa) and tested, cannot > reproduce. Do you have something conflicting, or are you running an > Emacs distribution (ie: Doom, Space)?
If you try again, adding SPC on the line before Baz, you should see it on the Org version you report.