From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0DPHKhxd62PwDwEAbAwnHQ (envelope-from ) for ; Tue, 14 Feb 2023 11:06:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AEeEKhxd62MXMgEAauVa8A (envelope-from ) for ; Tue, 14 Feb 2023 11:06:20 +0100 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 8737CE33B for ; Tue, 14 Feb 2023 11:06:20 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oqLaRQBM; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676369180; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GJ3BAkchpvZUpkFEorpfD8uD2cdU5vReXSmRqKkgsB4=; b=onV0hzEjywIiF5RCJjtRwN/r+j9j9mjT08QhUnF9DZMbTwdlZpmd3Vs5fc5+teZ918L6uF hVUqhj4Qs6WwniSidPC4OvMdmjZ1LM/iit7X1tJ3TmJK1t024XpMJoye3TH1jFcgqmlFUM hK69k0E/lZycIVldims79gNWf1ob++xpR9wbWDkrBoc8y1L7kaXmmM7lUOzPlIN0qW0UWy Gwgz0o5D+9pXaCDkSD8fgxc4TnwrXuoCXvvBvgtpl0rL0tbY2NU2qBDkiGRAhu2Wqoh5uz 5+mmRQpWOzcwIvEah9tiXF/d8rLh11b4OH+HXzkGOvlARbb12F6EwCteKj/MWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oqLaRQBM; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676369180; a=rsa-sha256; cv=none; b=t4aE4FUzg8atf2Keed9fdiC37aUVEfeGxQ+XVvcRdMzTA1VCgvcAKmPpJUaxIWBirOP91E VViwRLZ/nK267DcqtpOE2o1WobqBMhOOc1un1mKAG5S/wrYu0u1E5VJ/xPcUM/uA1p3jPy HgNW14XQvja+2CJX3vnIiJCRI+zc1gD+x72z7f/9FGrUq86GrppvEYmLDxy5SQNxTsPPrA iy6KPU8WWBccXhMnHZZ+YelsJhFLrXTXsxoSYxIScyWR9s3p2JcuJKT+MBfqA87sT/iPA+ MSNF1Wi2aZSmD4Iules3UDGFQItqpMa3ZmW4oJXdL/iagstqSo4NRq2S8WlhUA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRsBr-0005hW-PK; Tue, 14 Feb 2023 05:05:35 -0500 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 1pRsBp-0005go-0L for emacs-orgmode@gnu.org; Tue, 14 Feb 2023 05:05:33 -0500 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRsBn-0004ry-CP for emacs-orgmode@gnu.org; Tue, 14 Feb 2023 05:05:32 -0500 Received: by mail-pl1-x635.google.com with SMTP id m2so16530826plg.4 for ; Tue, 14 Feb 2023 02:05:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=GJ3BAkchpvZUpkFEorpfD8uD2cdU5vReXSmRqKkgsB4=; b=oqLaRQBMxxkOj1LtHnjjuQxvWDKlJmFbI58qjqucVQquSKjJ/FpFPsO9XkG+tcLuw9 V94jq90khO0GSHUc8r4Cvr3nRvoI2Iwpv3+a8T0iTJCNdMOrpNTkJx4VTQypR80gNqTg RS500A2kvLmupEXrhd3wBfyyII+s9ZljkA50pTygtMLPEhtERmQHfmGyFPw2M5T41o1m a1IviBOR6k5VCnvnzb5sqMH5Bn2gnQmc/f98v067BrSa2MpFFFqX33LB5UOOLkCq0/5S 6o2cEjXeJRro5QZ4+knXpUcSeR7BOcwt1gOlJ1AyBOwCNoyyUdctP/SHSjXo+sW8WYWY T9vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GJ3BAkchpvZUpkFEorpfD8uD2cdU5vReXSmRqKkgsB4=; b=s5nV5Rp7t2D/uhKybYIUURtSrZQb00dHHBMElPNyhtlQtUBwJuTYJgB0XWoyA7k19I NWRWBUfkjCcXyjEEfiveg40OWvQwPDBPWICXjNazi4d3pZkyAjc6JMtF1IlCS2jEBvj+ f4DQN0RQFyCqIIjODe8SFEM+fvSxJQtOKqA/RIic1dx5Y62IOulw5OFRDPKL+4um5+c3 c3nBMHdChwfSFviZHdE0MZxHOVWvI9Hy0OLf8CYLbpeRpifBnwdckbQslJmOIgJYyX+I uCqPUNFXqKbGasnj74EOo5WFL3R0JUA36AZ3ZF38QrtsqofKX6kVw8djnJivFwFe4e/b zN+A== X-Gm-Message-State: AO0yUKVMHp8Mp9LkQIpWgQIqR9bqSRp1KIbXSA+z7qpeHlZyOutNTiyv W9hLvXJeUDbGOJKFtmpuf3+OMsDnhKfB+bsERPgOFkMPbwY= X-Google-Smtp-Source: AK7set/yMWIS2CuBfG5ZS2C08XK3tf8Y4G5aXsbibSQmc1uq//rQ7HGsfGmivdNBjqqRm8vxGjiw8Ef5H5FGtsd4uHs= X-Received: by 2002:a17:90a:1b6d:b0:232:ceca:33d2 with SMTP id q100-20020a17090a1b6d00b00232ceca33d2mr268726pjq.90.1676369129138; Tue, 14 Feb 2023 02:05:29 -0800 (PST) MIME-Version: 1.0 From: Daniel Hubmann Date: Tue, 14 Feb 2023 11:05:18 +0100 Message-ID: Subject: [BUG] Incorrect display of folded headings after cycling with subheading with VISIBILITY content/children To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000746d8405f4a61a15" Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=hubisan@gmail.com; helo=mail-pl1-x635.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: X-Migadu-Queue-Id: 8737CE33B X-Spam-Score: -6.33 X-Migadu-Spam-Score: -6.33 X-Migadu-Scanner: scn0.migadu.com 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-TUID: PQU9t+MD+3hI --000000000000746d8405f4a61a15 Content-Type: text/plain; charset="UTF-8" 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 --000000000000746d8405f4a61a15 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Org mode version 9.6 (9.6-g30314c @ /home/hubisan/.emacs.d= efault/straight/build/org/)
GNU Emacs 29.0.60 (build 1, x86_64-pc-l= inux-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<= /span> 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. Ha= ppens after exiting save-restriction.

Best wis= hes
Daniel
--000000000000746d8405f4a61a15--