emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [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/)]
@ 2024-07-26 13:14 aragaer
  2024-08-04 18:25 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: aragaer @ 2024-07-26 13:14 UTC (permalink / raw)
  To: emacs-orgmode


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


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

* Re: [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/)]
  2024-07-26 13:14 [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/)] aragaer
@ 2024-08-04 18:25 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-08-04 18:25 UTC (permalink / raw)
  To: aragaer; +Cc: emacs-orgmode

aragaer <ilya.konovalov@pango.co> writes:

> Consider the following file:
> ...
> 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.

Confirmed.
Not urgent.
This is already fixed on a refactoring branch, which will be merged some
time in the future, but not very soon.

-- 
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-08-04 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-26 13:14 [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/)] aragaer
2024-08-04 18:25 ` 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).