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 ms9.migadu.com with LMTPS id D9xuJZyxXmRnMAEASxT56A (envelope-from ) for ; Fri, 12 May 2023 23:37:32 +0200 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 WBufJJyxXmTmaQAAauVa8A (envelope-from ) for ; Fri, 12 May 2023 23:37:32 +0200 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 4365524F69 for ; Fri, 12 May 2023 23:37:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxaRJ-00017r-Fm; Fri, 12 May 2023 17:36:37 -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 1pxaRH-00017R-O4 for emacs-orgmode@gnu.org; Fri, 12 May 2023 17:36:35 -0400 Received: from gproxy4-pub.mail.unifiedlayer.com ([69.89.23.142]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxaRD-00045W-2O for emacs-orgmode@gnu.org; Fri, 12 May 2023 17:36:35 -0400 Received: from cmgw12.mail.unifiedlayer.com (unknown [10.0.90.127]) by progateway6.mail.pro1.eigbox.com (Postfix) with ESMTP id 91B2C10044F48 for ; Fri, 12 May 2023 21:36:15 +0000 (UTC) Received: from box2035.bluehost.com ([74.220.219.237]) by cmsmtp with ESMTP id xaQxp3vgb611HxaQxpN44J; Fri, 12 May 2023 21:36:15 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=KewXDSUD c=1 sm=1 tr=0 ts=645eb14f a=VozZY++RX3oc2UgfNhVfaA==:117 a=VozZY++RX3oc2UgfNhVfaA==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10:nop_charset_1 a=MKtGQD3n3ToA:10:nop_fastflux_from_domain_1 a=1oJP67jkp3AA:10:nop_fastflux_mid_domain_1 a=P0xRbXHiH_UA:10:nop_rcvd_month_year a=DPR-AOO6AYYA:10:endurance_base64_authed_username_1 a=A2tt7buDTgEA:10:from_fastflux_domain1 a=uChsZFC9AAAA:8 a=ybZZDoGAAAAA:8 a=NEAV23lmAAAA:8 a=NjIK7znJAAAA:8 a=ENGrBcemAAAA:8 a=nh8m005ANvHOhphWolIA:9 a=QEXdDO2ut3YA:10:nop_charset_2 a=ULtXvzFHYWHLyBAuiDia:22 a=0RhZnL1DYvcuLYC8JZ5M:22 a=O1c1nmEkCxIQdeELtU9r:22 a=JxtpB5M8Rz1eJETyE13c:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tsdye.online; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To: From:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YUEwQxhEGWAOSMn7/14t8D2oaH7it7YFs0juIG0XVEU=; b=erG4+9l1TJfSMgwJ+FBejf4wyo toKhwmTYeWK4IEWG91oQ59FPlJVs2WoF/V2e8C6h4C/OfDCqP5ViHB9wgInyM0A0d/p0dvexDV8eh V/wGF7d82YwUjGZWYyVyym//T9JkQKP2W8fymHZg3GMHBSDl5nkbA3ABphlC18d28/DcvZjYvqA/O N0sXINYwb7C5/BKNli6noz7aD/swhtFrOxSikWURanxrdYU8g23BVFo7SvNdhSEr5bulKQcWnsEB3 pSqgDmEoa2JpIDUQdNKVeoWK+VaYDUx78P3BfXlhSclR7s2J92s+zuMa4fYJjGdDD39lIrqCza3+e JYHvR+Fw==; Received: from 113x38x235x130.ap113.ftth.ucom.ne.jp ([113.38.235.130]:60605 helo=smtpclient.apple) by box2035.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pxaQw-003tKh-Un; Fri, 12 May 2023 15:36:15 -0600 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: BUG: org-cycle does not unfold some subtrees From: Thomas Dye In-Reply-To: <87v8gxs134.fsf@localhost> Date: Sat, 13 May 2023 06:36:03 +0900 Cc: William Denton , emacs-orgmode@gnu.org Message-Id: References: <87v8gxs134.fsf@localhost> To: Ihor Radchenko X-Mailer: iPhone Mail (20E252) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box2035.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tsdye.online X-BWhitelist: no X-Source-IP: 113.38.235.130 X-Source-L: No X-Exim-ID: 1pxaQw-003tKh-Un X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 113x38x235x130.ap113.ftth.ucom.ne.jp (smtpclient.apple) [113.38.235.130]:60605 X-Source-Auth: tsd@tsdye.online X-Email-Count: 1 X-Source-Cap: dHNkeWVvbmw7dHNkeWVvbmw7Ym94MjAzNS5ibHVlaG9zdC5jb20= X-Local-Domain: yes Received-SPF: pass client-ip=69.89.23.142; envelope-from=tsd@tsdye.online; helo=gproxy4-pub.mail.unifiedlayer.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FROM_SUSPICIOUS_NTLD=0.191, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01, 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683927452; a=rsa-sha256; cv=none; b=B6McW3WmlQ5wWqxRgQ6fmzE/7zcJizQqAsNj2kx5jBjsJ+yfyTQ7AE7W7INu9FJxo7lwHq eLYbOoieaNdzMnBWzZXg/N8AmXXZzo9C2U6i6sLL5N8Ay6iTJ12+kK4FIptFdh4HbndfCE ltObbKIUKAq58zElUJBFnkPkf/AyoOcEWvU9DTQbjcV9wDpJSlOdgCPqhJmxm1+egaP5Jb sUrdXBYplPz5Jgh9J78JjjqW6AfQGFx3uq21iOVGxdY1kRpqewtxdmuXs3/vxQGIfimI0O fsvJdVWAlwPA3e/x2kiuxtKDNcj+WMa+p1pxS8JDmMXasCBpkbAyFEtQP3WzbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tsdye.online header.s=default header.b=erG4+9l1; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683927452; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=YUEwQxhEGWAOSMn7/14t8D2oaH7it7YFs0juIG0XVEU=; b=bNR+MZbuLTZvcKcZUwBGiRWhPfhyYbDodK1vrA4bpx6C4AYjyM7ecRcgaUdTdnXWm0u3aT ihoB5eRYYFtK4o8aEpYwOn+aPyLf5ZsdkLJ2K5U88jJdE7/xS7lhcggZEU6RIPoCxDIxQu 6dkrlHAwe2JZgkR5cRFLVpUSXv2jBpOhFKcfofFpXptyECW2xNWHUwPc+iB/W3j1RZI/jZ kPvmIpiYDEKccxtdrlxjPASCRmAiJw7qH2kWPakYaUCHnPJWoH13yolq8m8Q1gOfNMj7u/ AYMsXJzAsZuTexU+nzj+/di00k/0W8tAdmQ71stVYhqG/9J1a3qqU4aH5TCqcg== X-Migadu-Spam-Score: 0.29 X-Spam-Score: 0.29 X-Migadu-Queue-Id: 4365524F69 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tsdye.online header.s=default header.b=erG4+9l1; dmarc=none; 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" X-TUID: nEw/byQ4LRqF Apologies. This message sent from my phone. Yes, I use swiper. My folding pr= oblems went away when I set org-fold-core-style to =E2=80=98overlay. Limited= testing.=20 Tom > On May 13, 2023, at 6:14 AM, Ihor Radchenko wrote: >=20 > =EF=BB=BFWilliam Denton writes: >=20 >> No and no, but now that I'm thinking about searching, I remember I use Sw= iper=20 >> (and Ivy and Counsel).=C2=B9 C-s runs =3Dswiper=3D, which is =3Disearch-= forward=3D "with an overview," as it=20 >> describes itself. >>=20 >> If we've narrowed it down to searching, could it be connected to that? T= o the=20 >> other people with this problem: do you use Swiper? >=20 > I am looking at > https://github.com/abo-abo/swiper/blob/master/swiper.el#L980 and I note > that swiper calls `isearch-filter-predicate', but not > `isearch-mode-end-hook', which indeed explains why the isearch overlays > are not converted back to proper Org folds. >=20 > Does it help if you try the following variant of `org-fold-core--isearch-f= ilter-predicate-overlays': >=20 > (defun org-fold-core--isearch-filter-predicate-overlays (beg end) > "Return non-nil if text between BEG and END is deemed visible by isearch.= > This function is intended to be used as `isearch-filter-predicate'." > (when isearch-mode (org-fold-core--create-isearch-overlays beg end)) ;; t= rick isearch by creating overlays in place of invisible text > (isearch-filter-visible beg end)) >=20 > --=20 > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at >=20