From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UKjXEXFn9WWU0gAA62LTzQ:P1 (envelope-from ) for ; Sat, 16 Mar 2024 10:33:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UKjXEXFn9WWU0gAA62LTzQ (envelope-from ) for ; Sat, 16 Mar 2024 10:33:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ew2LeyiD; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710581617; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5FM5ax96gLOONTqLenzJqbIX+ttPwXexfEw6bEQB3fg=; b=VM3xMynh+CyLaR6YYYrEBdaUVa1yfl2Tdh8ONp2PR2TgidyjTudmpRrk+37z7DvKFKBB94 pN61etTtK2Fw1QGMyVb+Ps0RK4nbJAjBZ4jqj2+dk1+4uGzqTHDqpY9at7hEeWNb3sKvuY 7zBx+iuWRI1GuqjwHxpM9SLvxuOkqz/vABVTVjzmXIKdyp6XTIFEuEBwogvhT4/Pd+hJ1m nyfXPqjYISwzNIWr/iHYalivKQXuqSmRr9Y5CYB9SKZIvU8nHwbS+3l3cTiuQo/zpeMRFt eRjt1bJInc5pjsjOQlqwQfBuss3xNlXWpJxsr2z58SrxQWSrhgruynAzNpa88A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ew2LeyiD; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710581617; a=rsa-sha256; cv=none; b=Oit7O/Hs/NqOMc+fsbwgQ+0D+Xi/X6iw+JdlOm0S84HM9/sVAcpL9dFcOfSWzt7t0h0yJ4 0BYXyNBNUrtG6eCpus37LYH4IwKaBrfaYnl9/pbwB2ChTj3yVuzK3bgKTVrQjc0kJvdeS5 0Zsd/3Iq3yXNTct2YEiSHcVfz3BwTjwRzN8M+nJbjlmyA7K/kXnlSfGv1vO/xeOxhQqUoC UPPdBU7PpYmcED9je/QSGL5PIuNAEFJWbCSxQUiVcWfW097JXtQDQmoOCjJlCQ788BtmKY jq7Cl0tBrA5nfuSjyn1ZMP8opGnPQ/osY2nZCRNoO12BcycY40U7LmxAM1/SRw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EDC0237235 for ; Sat, 16 Mar 2024 10:33:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlQKK-0004vj-I9; Sat, 16 Mar 2024 05:27:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlQKH-0004vO-VY for emacs-orgmode@gnu.org; Sat, 16 Mar 2024 05:27:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlQKG-00087c-9k for emacs-orgmode@gnu.org; Sat, 16 Mar 2024 05:27:37 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5979E240106 for ; Sat, 16 Mar 2024 10:27:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710581253; bh=OWxeqQ+xMwRBu93Z1RWh55tJnRsK4rDahUl4Vn8pOiY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Ew2LeyiDNXdTjXNuquuDknFW68hbg+Tzjq7QvZZNWv2okEv/BuBUvpMoAEmi5f5fW wtX4ahB6eB2DNQGh8/8OC4Qeh/AWZ/dZLLlSmzTO+Hp9Jp4QGEvqRIL9+QpKa/O1VX QjzAYa/O1KvBv1zLA5bRzMoFEDwUk71YtcBrQ47w+OlDc3NKCTP1ub639Rddf6cjvI Ab3aLdwgLT1F63L7VGatr3pBdmHF3W8SCoO3jk9IBHnjXiYgWdwNxrrp+HVVmGytdS I51Uv17LcNfvpEUfpMagF4I7GU+AjYt797UIh25IdnbT1LGJL7yKqiT91AFP2RhVhw ovkhcQtEp45nA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TxbPJ2S00z9rxD; Sat, 16 Mar 2024 10:27:32 +0100 (CET) From: Ihor Radchenko To: Bruno Barbier Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-babel-execute-subtree removes all overlays (org-fold-save-outline-visibility) [9.7-pre, gfb61e8] In-Reply-To: <65f4a408.df0a0220.5debf.2c65@mx.google.com> References: <65f4a408.df0a0220.5debf.2c65@mx.google.com> Date: Sat, 16 Mar 2024 09:27:28 +0000 Message-ID: <874jd6jzlr.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.53 X-Spam-Score: -7.53 X-Migadu-Queue-Id: EDC0237235 X-TUID: wVZdL3uAduld Bruno Barbier 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 . Support Org development at , or support my work at