emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Child's visibility property is overridden by parent's [9.5.2 (9.5.2-gbc8c3e @ /home/john/.emacs.d/straight/build/org/)
@ 2022-02-15 15:23 John Mathena
  2022-02-19 15:07 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: John Mathena @ 2022-02-15 15:23 UTC (permalink / raw)
  To: emacs-orgmode

It seems like the visibility property on a parent heading overrides
the visibility property on a child heading - is this expected? e.g.
when I have the raw text:

* Foo
:VISIBILITY: content
** Bar
*** Baz

... I would expect (and would like) to see

* Foo...
 * Bar...

that is, where Foo shows only the content below it, and Bar has all of
its children folded. Instead, I get

* Foo...
 * Bar...
  * Baz...

i.e., behavior like if Foo and Bar both "had their visibility" set to
"content" (I'm aware that's not how the internals work but I'm not
sure how else to articulate what I mean). Is there a way to prevent
this and get the behavior I'd expect?

This behavior was reproduced with straight.el on Org mode version
9.5.2 (9.5.2-gbc8c3e @ /home/john/.emacs.d/straight/build/org/, GNU
Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo
version 1.17.4) of 2021-03-26, with org-startup-folded set to nil
(without which the visibility properties don't take effect).



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-19 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 15:23 [BUG] Child's visibility property is overridden by parent's [9.5.2 (9.5.2-gbc8c3e @ /home/john/.emacs.d/straight/build/org/) John Mathena
2022-02-19 15:07 ` Ihor Radchenko

Code repositories for project(s) associated with this 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).