emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* VISIBILITY property: Is it mixed children and content?
@ 2024-09-30 21:37 Kepa
  2024-10-10 18:04 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Kepa @ 2024-09-30 21:37 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

Hi

Using :VISIBILITY: in a headline PROPERTIES drawer:

It seems ":visibility: children" shows the headline content and children.

While ":visibility: content" shows just headline's children

Intuitively I'd say it should be the opposite way.

Org mode version 9.8-pre-28b631

Best regards

[-- Attachment #2: Type: text/html, Size: 2382 bytes --]

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

* Re: VISIBILITY property: Is it mixed children and content?
  2024-09-30 21:37 VISIBILITY property: Is it mixed children and content? Kepa
@ 2024-10-10 18:04 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-10-10 18:04 UTC (permalink / raw)
  To: Kepa; +Cc: emacs-orgmode@gnu.org

Kepa <gnu.cognition199@slmails.com> writes:

> Using :VISIBILITY: in a headline PROPERTIES drawer:
>
> It seems ":visibility: children" shows the headline content and children.
>
> While ":visibility: content" shows just headline's children
>
> Intuitively I'd say it should be the opposite way.

You misunderstand the meaning. "content" refers to table of contents -
outline of the document.

Here is an example of how we define "content" in Org mode:

(defun org-cycle-content (&optional arg)
  "Show all headlines in the buffer, like a table of contents.
With numerical argument ARG, show content up to level ARG."

We may probably clarify this in the manual.

-- 
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>


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

end of thread, other threads:[~2024-10-10 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 21:37 VISIBILITY property: Is it mixed children and content? Kepa
2024-10-10 18:04 ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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