all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Bruno Barbier <brubar.cs@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-babel-execute-subtree removes all overlays (org-fold-save-outline-visibility) [9.7-pre, gfb61e8]
Date: Sat, 16 Mar 2024 09:27:28 +0000	[thread overview]
Message-ID: <874jd6jzlr.fsf@localhost> (raw)
In-Reply-To: <65f4a408.df0a0220.5debf.2c65@mx.google.com>

Bruno Barbier <brubar.cs@gmail.com> writes:

> Org removes all overlays when calling org-babel-execute-subtree.
> ...
> After investigation, it seems that any use of
> `org-save-outline-visibility' will call:
>
>     (org-fold-core-region START END nil)
>                                     ^^^
>
> which will, indeed, remove any overlay (except for those that are
> both 'org-invisible and 'invisible).

Thanks for reporting!
Fixed, on bugfix and main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8b73c8b98
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=712ef988c

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


  reply	other threads:[~2024-03-16  9:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15 19:39 [BUG] org-babel-execute-subtree removes all overlays (org-fold-save-outline-visibility) [9.7-pre, gfb61e8] Bruno Barbier
2024-03-16  9:27 ` Ihor Radchenko [this message]
2024-03-16 11:03   ` Bruno Barbier

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

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

  git send-email \
    --in-reply-to=874jd6jzlr.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=brubar.cs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.