From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kK9GFYqEHmWNWAAA9RJhRA:P1 (envelope-from ) for ; Thu, 05 Oct 2023 11:40:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kK9GFYqEHmWNWAAA9RJhRA (envelope-from ) for ; Thu, 05 Oct 2023 11:40:26 +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 D021C66940 for ; Thu, 5 Oct 2023 11:40:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=L7se582U; 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=1696498826; 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=NKTWNBcl07ekF5mXre4U5TTG86/JKTFm25XMV3xLjIA=; b=Ar7RWMpk52V5O021ABdZDDKS5rGhJQsFRiexylbn6XiCtyzVFE+lgS2/iki8BfEEaXnV+g ChHCBWyclvBvQHL90mN4fvNxofhPCkHg53huu6LC9jM6K7GIeBxv+s2ZIO0MlQBSIoPGM+ 2SKsynekPc3vM2vrBPRMOoe77g4o0VhXao7dQ+LvdP6ocM4Lq6YqNXR8Qm9FZy8jQlLP9u ZVOhb7D9JnF0x60sm68b+MPK0KtlBhEdi0bWyyxVC2Um2gKcvN7sq6hdVlBEwtD1YQbzh6 mIWLT4bb05Zj432a8+y4KKmX22CyJSpCyxOjE/q3dX5lVjHXtlq/JWHQt1PrJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696498826; a=rsa-sha256; cv=none; b=ZWJm/CA/D7iV6WpbP6IB59hz80RBILV3gHOTs79tYmCIE0Qw0CCtaCh4PaR2Pqsv/p671b Odf/+7JQc9Xy0aQKDTAORfIV2bkEE8VGnga8A2tSPXoBekJL6ifn1seVDPCTE8VK5aa88P Qa7BxWYcxqWd99ZthXvh9UU849kCxqBEmffNH082MBEwzWuQgVjbLJT6375XFBl9ZF6+aH prq/c1anVeWv4vm/5/QiHdkqshaXMKYahr9FhDhS8lBpys2jtTd8/UZ2p/Ez2jBw/2fQlz 8iFy2oIykplZI7uIBTS5ink7m3DlfwpGmxbgS/Ezs5htRNrjiKouMfooPinxMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=L7se582U; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoKpF-0004fi-VQ; Thu, 05 Oct 2023 05:39:22 -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 1qoKpE-0004fI-Ov for emacs-orgmode@gnu.org; Thu, 05 Oct 2023 05:39:20 -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 1qoKpA-0007AO-Ke for emacs-orgmode@gnu.org; Thu, 05 Oct 2023 05:39:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7E716240104 for ; Thu, 5 Oct 2023 11:39:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696498752; bh=orGn13iFNqVnJkn/BR7op1W7y/iT5H+dlrLID4QueBU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=L7se582UMrBDglC5gjSX/zPUKTwpGAmyxdDAFY07hxj7heswTTGcrwr7PJor0611S VuxbwaY3zyR+XDiB2hxW9uOHfpnqOGCbMmtbeBILQlX6T1WR60qcAwW7Lz3n7TJ1n1 Kgt9a3Grr7pHzOXd00kU2OjOPjVbAfcL3zf47lboI1lQaUENClTASkghTzR+LUMRYa gisSvJ4o40YHmy8h52FU9O3A+mOWpb8vlZR2EYY2vLhGdNITUugPponjpuZYOIvuoq RthTdD5DKlpQG0wSQgVfiq+GBHaUW9/4M2UxHKBJ0GPsgZiMVEwj8c7jkT9kxRWT1z ZCeHNZpHc8heQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S1RMz3YR9z6tv5; Thu, 5 Oct 2023 11:39:11 +0200 (CEST) From: Ihor Radchenko To: "J. G." Cc: "emacs-orgmode@gnu.org" Subject: Re: [PATCH] org-list.el: Reduce scope to subtree In-Reply-To: <1700336757.1605468.1695739462846@mail.yahoo.com> References: <861235485.1488189.1695598530412.ref@mail.yahoo.com> <861235485.1488189.1695598530412@mail.yahoo.com> <87edil9t1a.fsf@localhost> <1700336757.1605468.1695739462846@mail.yahoo.com> Date: Thu, 05 Oct 2023 09:40:42 +0000 Message-ID: <87h6n5jtk5.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -8.95 X-Spam-Score: -8.95 X-Migadu-Queue-Id: D021C66940 X-TUID: AgQBw9qgbZr+ "J. G." writes: > When the relevant headline has that property set, is recurring, and is marked as done, the headline and its subtrees (without my patch as I've now learned) have their checkboxes and counter cookies correctly reset. However, top level headlines elsewhere have their counter cookies incorrectly reset to [0/0]. > I have attached an example org file which contains a subheading "The > heading to mark done to reproduce the problem" that when set to done > will demonstrate this problem. I see the top level headings "Test > heading 2" and "Test heading 3" have their counter cookies set to > [0/0] which is not the desired behavior. Thanks for providing the reproducer! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=88ff6c2fb -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at