Ihor Radchenko <yanta...@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>