[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Child's visibility property is overridden by parent's [9.5.2 (
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] Child's visibility property is overridden by parent's [9.5.2 (9.5.2-gbc8c3e @ /home/john/.emacs.d/straight/build/org/) |
Date: |
Tue, 30 Jan 2024 13:48:26 +0000 |
Ihor Radchenko <yantar92@gmail.com> writes:
> I would say that the existing behaviour is a confusing and might be
> considered as a bug. However, it may not always be straightforward how
> to deal with different combinations of VISIBILITY setting for
> ancestor/descendent headings. Consider the following example:
>
> * Foo
> :PROPERTIES:
> :VISIBILITY: folded
> :END:
> ** Bar
> :PROPERTIES:
> :VISIBILITY: content
> :END:
> *** Baz
>
> Foo is supposed to be folded, but it is unclear how to process Bar.
> Should Bar's contents be visible? Should it be folded?
My conclusion is that Bar should be visible. This will be consistent
with how VISIBILITY overrides document-wide STARTUP settings.
Also, the comment in one of Org tests I was concerned about was
inaccurate - it tested for a slightly different bug.
Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a5c977b43
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [BUG] Child's visibility property is overridden by parent's [9.5.2 (9.5.2-gbc8c3e @ /home/john/.emacs.d/straight/build/org/),
Ihor Radchenko <=