emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Local visibility makes header always visible
@ 2022-04-09 20:27 Eduardo Suarez
  2022-04-18  5:59 ` Eduardo Suarez-Santana
  0 siblings, 1 reply; 4+ messages in thread
From: Eduardo Suarez @ 2022-04-09 20:27 UTC (permalink / raw)
  To: emacs-orgmode

Say next org file, where I want the content of entry ABA not to be shown (e.g.
because it is not important).

--- BEGIN ORG FILE ---
#+STARTUP: content
* A
** AA
** AB
*** ABA
:PROPERTIES:
:VISIBILITY: folded
:END:
**** ABAA
**** ABAB
**** ABAC
** AC
* B
* C
--- END ORG FILE

This works as expected an entries ABAA, ABAB and ABAC are not shown at startup.

However, if I change startup visibility from 'content' to 'overview', I would
expect only first level headers to be shown. However, what I get is:

--- BEGIN ORG BUFFER (VISIBLE) ---
#+STARTUP: overview
* A...
** AB
*** ABA...
* B
* C
--- END ORG BUFFER (VISIBLE) ---

Is this intended behaviour?


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

* Re: Local visibility makes header always visible
  2022-04-09 20:27 Local visibility makes header always visible Eduardo Suarez
@ 2022-04-18  5:59 ` Eduardo Suarez-Santana
  2022-04-19  2:45   ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Eduardo Suarez-Santana @ 2022-04-18  5:59 UTC (permalink / raw)
  To: emacs-orgmode

Would you consider this as a bug?

On Sat, Apr 09, 2022 at 09:27:36PM +0100, Eduardo Suarez wrote:
> Say next org file, where I want the content of entry ABA not to be shown (e.g.
> because it is not important).
> 
> --- BEGIN ORG FILE ---
> #+STARTUP: content
> * A
> ** AA
> ** AB
> *** ABA
> :PROPERTIES:
> :VISIBILITY: folded
> :END:
> **** ABAA
> **** ABAB
> **** ABAC
> ** AC
> * B
> * C
> --- END ORG FILE
> 
> This works as expected an entries ABAA, ABAB and ABAC are not shown at startup.
> 
> However, if I change startup visibility from 'content' to 'overview', I would
> expect only first level headers to be shown. However, what I get is:
> 
> --- BEGIN ORG BUFFER (VISIBLE) ---
> #+STARTUP: overview
> * A...
> ** AB
> *** ABA...
> * B
> * C
> --- END ORG BUFFER (VISIBLE) ---
> 
> Is this intended behaviour?
> 



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

* Re: Local visibility makes header always visible
  2022-04-18  5:59 ` Eduardo Suarez-Santana
@ 2022-04-19  2:45   ` Ihor Radchenko
  2022-10-12  5:50     ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2022-04-19  2:45 UTC (permalink / raw)
  To: Eduardo Suarez-Santana; +Cc: emacs-orgmode

Eduardo Suarez-Santana <esuarez@itccanarias.org> writes:

> Would you consider this as a bug?

Yep.

Confirmed.

Best,
Ihor


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

* Re: Local visibility makes header always visible
  2022-04-19  2:45   ` Ihor Radchenko
@ 2022-10-12  5:50     ` Ihor Radchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Ihor Radchenko @ 2022-10-12  5:50 UTC (permalink / raw)
  To: Eduardo Suarez-Santana; +Cc: emacs-orgmode

Ihor Radchenko <yantar92@gmail.com> writes:

> Eduardo Suarez-Santana <esuarez@itccanarias.org> writes:
>
>> Would you consider this as a bug?
>
> Yep.
>
> Confirmed.

Fixed on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=eb15341b3c0c0dc82eab7edf3b634bc211bfa797

-- 
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] 4+ messages in thread

end of thread, other threads:[~2022-10-12  5:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-09 20:27 Local visibility makes header always visible Eduardo Suarez
2022-04-18  5:59 ` Eduardo Suarez-Santana
2022-04-19  2:45   ` Ihor Radchenko
2022-10-12  5:50     ` 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).