emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Hubmann <hubisan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Incorrect display of folded headings after cycling with subheading with VISIBILITY content/children
Date: Tue, 14 Feb 2023 11:05:18 +0100	[thread overview]
Message-ID: <CAOX7s=3NTjpvnFDfwBdozLbLCWANLbCCyCbQNOnNsnMqqFEF3g@mail.gmail.com> (raw)

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

Org mode version 9.6 (9.6-g30314c @
/home/hubisan/.emacs.default/straight/build/org/)
GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33,
cairo version 1.16.0) of 2023-01-03

Have the following org file contents (using emacs -q):

* Heading Lvl 1
** Heading Lvl 2 with VISIBILITY content
:PROPERTIES:
:VISIBILITY: content
:END:
*** Heading Lvl 3
** Another Heading Lvl 2

After using org-cycle-overview (or org-cycle-content) and then using
org-cycle-set-visibility-according-to-property I get this:

* Heading Lvl 1...** Heading Lvl 2 with VISIBILITY content...
*** Heading Lvl 3...

If I use :VISIBILITY: children I get this ("Another Heading Lvl 2" is
hidden):

* Heading Lvl 1
** Heading Lvl 2 with VISIBILITY content
:PROPERTIES:
:VISIBILITY: content
:END:
*** Heading Lvl 3...

Tried to debug it, but didn't find the cause. Happens after exiting
save-restriction.

Best wishes
Daniel

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

             reply	other threads:[~2023-02-14 10:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-14 10:05 Daniel Hubmann [this message]
2023-02-14 18:39 ` [BUG] Incorrect display of folded headings after cycling with subheading with VISIBILITY content/children Bruno Barbier
2023-02-14 21:15   ` William Denton
2023-02-15  9:36     ` Daniel Hubmann
2023-02-15 15:31 ` Ihor Radchenko
2023-02-15 22:26   ` Daniel Hubmann
2023-02-15 23:03     ` Daniel Hubmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOX7s=3NTjpvnFDfwBdozLbLCWANLbCCyCbQNOnNsnMqqFEF3g@mail.gmail.com' \
    --to=hubisan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).