From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 AEhFMZI+VWQlYQEASxT56A (envelope-from ) for ; Fri, 05 May 2023 19:36:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uFlKMJI+VWR6TAEAG6o9tA (envelope-from ) for ; Fri, 05 May 2023 19:36:18 +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 92E792965A for ; Fri, 5 May 2023 19:36:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puzLF-00062L-5d; Fri, 05 May 2023 13:35: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 1puzLD-00062D-O3 for emacs-orgmode@gnu.org; Fri, 05 May 2023 13:35:35 -0400 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puzLC-0007BW-63 for emacs-orgmode@gnu.org; Fri, 05 May 2023 13:35:35 -0400 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4f139de8cefso16483949e87.0 for ; Fri, 05 May 2023 10:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683308130; x=1685900130; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Qv+OwFsO9yRXJ/DaS63+Oy9tAK59br0nWZ+2XSs8u10=; b=AZhrib0tFwKEhZhg5/Yrf3KjKIclDzrDeY5sEG7ocagr5WBIk11T0A35+m6EJqp2XU nCGbAn0EKMfaQYqfelaawkp0ttqFDpqWFwuhPTC1bU3zxQwDK8MUPSGS7YS5VJteevwH +z5k4Bd0WtepPDc6HGfo5vl7jzvfFHmIMmYi2t7NW8+blYn3mjyKnz5D4sAWLfHp4tL5 pBAX+RBUXbp4I5R8QoEDDtU1m/qux6rtJ/IbVLmTOiE9X8/KTe4Tl0L/iQdCKdL00v5G nEJtZ+lDR/R30ngHRkrYPQeLllBZyiPpmjluXKUxNrvEo2YaPMdrqGdDbfltaMmUEKny pM1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683308130; x=1685900130; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Qv+OwFsO9yRXJ/DaS63+Oy9tAK59br0nWZ+2XSs8u10=; b=WgmC+WJaz96Ge1s/2ETvC7A2CDDDpCrDOWLqXxhjybVjnCJUmp73OTuqyBuAPrWl8S f7SH/0cRPM4BWzVbe9Kuz6TXysHNShQdDniLZb69zcG0AyJ2G1UlxY/b6LLyhO1B5F7E auRYAs9Db+hFLTqc1KEoTUoq2MV1Ti169I+QNuEJfXpg0KB3oYZX8APmSc7OJZ0d8xWF 795XaznHNeQ5sWkAbTIgytIkCc/2Ja52HdBLN6R/5Mb+DLErfUOyDq/3pu1AX91unz0u tTV0NvjIi+aME47x9hlIbkr7PGCL93l2B55Zug6EICa8iADujDDy4OJmMj+rt6mMN22T gj7g== X-Gm-Message-State: AC+VfDyE4Mf3jX8NuiS9UXZCcwyKnQrrfW+KKubXWf/ILqic/u1vzSnH GEOMmQO/Nw47XxlzF05AYYtPBvaGvLafK33s8vIGBTsSj0M= X-Google-Smtp-Source: ACHHUZ4FYX3HSKUcggo7tUw5VnBmN/Bzn08buXZYZ+yunxZymhdr/7s1ojqv5Lx9GVyveOCRKHs5EzYfmkqA96BfLgM= X-Received: by 2002:a2e:9dda:0:b0:295:a8e6:6b15 with SMTP id x26-20020a2e9dda000000b00295a8e66b15mr794937ljj.4.1683308130213; Fri, 05 May 2023 10:35:30 -0700 (PDT) MIME-Version: 1.0 From: Michael Dauer Date: Fri, 5 May 2023 19:35:19 +0200 Message-ID: Subject: BUG: org-cycle does not unfold some subtrees To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000002621f105faf5b78e" Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=mick.dauer@gmail.com; helo=mail-lf1-x129.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, 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=1683308178; a=rsa-sha256; cv=none; b=Tr4WraiBGrFEK4/ImwRrFrN8yOVx9gQnR0IlUM4X3CLq4E8ayZ1M0nFtolusgAAugr6rAp VYtf3zIGHpOtf+MmSRBv4Ghb6vcrVX5fY+w0BcMDDgiQVpu/Brl5y4WtSI0t1huvLq9q0Z qY7seXiuKdxdap6rgMy/AsWSfGghjnIBSZD2iVLCFpwVPJGSEFcdRbmyUo8v/+3M8ENASZ jS5dLHH7wmsyI+vzKcwQO7GAJZfGC/wxg1bIS4Gi9qbaKWZyn6hkKQGRg4H2QZ0K1ioP16 DV06BEW9mrR07FAFuYcE3fc2Sn8FGiOO8TAlVlwwRi0GxQpQrNhbliTz+JqWLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=AZhrib0t; dmarc=pass (policy=none) header.from=gmail.com; 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=1683308178; 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=Qv+OwFsO9yRXJ/DaS63+Oy9tAK59br0nWZ+2XSs8u10=; b=sD9sYgvkOO6IG6VGXcvcgC3UrszTVNrMmAfyqEtMDsiQxma56eU+/Bfu/xrqNfKLkFVBOi vHnrlqt3nDX69goU+s2C6EOWXltnkCMQ/ngiFR/tdSWQLVoO6Yy0f1aMXZYETsuHrPVnNK zl4uUglit2dg3Y3UvMNILOkmZgL+WTr2SKuFKFRv3Wb3V6ucerikgfeMkPR54azgsfcLm2 kF50pOAaIz2NO4W2taFUpLV9Qjw8dXZvb8MhlTkJX2Xo2cbCJLOvHA6JGdldA+bd1OoXaG YDkiyT+7rm4YhmbxOvne2NoBLXaDY7Za4N/uUM+4BOUopMf/dnWXUyEUifsaZA== X-Migadu-Spam-Score: -9.81 X-Spam-Score: -9.81 X-Migadu-Queue-Id: 92E792965A X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=AZhrib0t; dmarc=pass (policy=none) header.from=gmail.com; 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: 2WDfBa5NLVEj --0000000000002621f105faf5b78e Content-Type: text/plain; charset="UTF-8" Maybe I missed a known bug when doing the research. But all the other reports describe different and reproducible behaviour. Sometimes (often) I cannot unfold a subtree. It then affects only one or more subtrees while others in the same buffer or even the same branch still work. The only fix then is to either cut and paste the affected branches, or to close and reopen the file. While quite frequent I have not achieved to reproduce the issue. It just happens after a while of using multiple files navigating with search, tab from agenda, org-refile, and cycle. Based on my analyses it's not the cycle functions, but must come from broken text attributes. Even (org-fold-core-region (point-min) (point-max) nil) does not unfold the affected subtrees then. Assuming that (org-fold-core-region) is the only place where the folding and hiding happens, I expect the problem there. But I understand too little about the emacs internals to debug this function. I hope this helps to fix the issue. Org mode version 9.7-pre (release_9.6.4-327-gf81ba4 --0000000000002621f105faf5b78e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Maybe I missed a known bug when doing the research. B= ut all the other reports describe different=C2=A0and reproducible behaviour= .

Sometimes (often) I cannot unfold a subtree.= It then affects only one or more subtrees while others in the same buffer = or even the same branch still work. The only fix then is to either cut and = paste the affected=C2=A0branches, or to close and reopen the file.

While quite frequent I have not achieved to reproduce the = issue. It just happens after a while of using multiple files navigating wit= h search, tab from agenda, org-refile, and cycle.

= Based on my analyses it's not the cycle functions, but must come from b= roken text attributes. Even=C2=A0(org-fold-core-region (point-min) (point-m= ax) nil) does not unfold the affected subtrees then. Assuming that (org-fol= d-core-region) is the only place where the folding and hiding=C2=A0happens,= I expect the problem there. But I understand too little about the emacs in= ternals to debug this function.

I hope this helps = to fix the issue.

Org mode version 9.7-pre (release_9.6= .4-327-gf81ba4

--0000000000002621f105faf5b78e--