emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: aragaer <ilya.konovalov@pango.co>
To: emacs-orgmode@gnu.org
Subject: [BUG] [BUG] org-fold-hide-block-all doesn't hide blocks inside folded headings [9.7.8 (9.7.8-7f2ce8 @ /home/aragaer/.config/emacs/elpa/org-9.7.8/)]
Date: Fri, 26 Jul 2024 16:14:38 +0300	[thread overview]
Message-ID: <87zfq4l2gx.fsf@pango.co> (raw)


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

Consider the following file:

```
#+startup: hideblocks
#+startup: overview

:FOLDED-DRAWER-1:
:END:

#+begin_quote
folded
#+end_quote

* heading
:FOLDED-DRAWER-2:
:END:

#+begin_quote
not folded
#+end_quote
```

When file is opened, on top level drawer, quote and subtree are all
folded. However when subtree is opened only drawer inside it is folded.

The difference in behavior is related to org-block-map function which
uses org-at-block-p function which returns nil for non-visible blocks.

Emacs  : GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, X toolkit)
 of 2024-07-06
Package: Org mode version 9.7.8 (9.7.8-7f2ce8 @ /home/aragaer/.config/emacs/elpa/org-9.7.8/)


             reply	other threads:[~2024-07-31 12:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-26 13:14 aragaer [this message]
2024-08-04 18:25 ` [BUG] [BUG] org-fold-hide-block-all doesn't hide blocks inside folded headings [9.7.8 (9.7.8-7f2ce8 @ /home/aragaer/.config/emacs/elpa/org-9.7.8/)] Ihor Radchenko

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=87zfq4l2gx.fsf@pango.co \
    --to=ilya.konovalov@pango.co \
    --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).