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 ms5.migadu.com with LMTPS id eK5WD1cOTWP3zgAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 10:12:07 +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 WOJwDlcOTWOCHQEAG6o9tA (envelope-from ) for ; Mon, 17 Oct 2022 10:12:07 +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 D522DB342 for ; Mon, 17 Oct 2022 10:12:06 +0200 (CEST) Received: from localhost ([::1]:52654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okLEB-0008Fa-J5 for larch@yhetil.org; Mon, 17 Oct 2022 04:12:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okLAP-0008Dp-EL for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 04:08:09 -0400 Received: from mout02.posteo.de ([185.67.36.66]:32785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okLAN-0007ag-9K for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 04:08:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7BA4F240104 for ; Mon, 17 Oct 2022 10:08:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665994084; bh=nPq2E4XWS7oAm6dpg+/X3zNT19AIOoaiIF6w3p2u9j0=; h=From:To:Cc:Subject:Date:From; b=ZhBi7ONurfaoaGkiNNEL7CyDvESxF4dJUoj8NTLnUNDRSDyhxV4S7cNNHovHOmuS3 XSLNxloHfMo5/66AR/DISFm1OhHku6XcXoVE5gnvlXcVpSoBMpe0MmD2mZdLBBtnTW tLUb8vkv8FU5tSmRlVbboJIc1R5dmpHsdG2tAXYD8Vw1l8gSiluQQFZZaqncvTF7or HybjierdKaG69So8nDTmtyCMWgZWviTM9PXbgbWXE1zWclrXIwwus94qLoUN/vsnll Qz1P0e3iQiWs4pupZxIcO97Zm6Gg2HiVFVmjhikkTMU8nZoskhO7ldp1sia3eptzsh JCW19UquknKoA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MrV3l1vrrz6tmT; Mon, 17 Oct 2022 10:08:02 +0200 (CEST) From: Ihor Radchenko To: Uwe Brauer Cc: emacs-orgmode@gnu.org Subject: Re: bizarre: checkbox in properties, counting does not work with subheadings In-Reply-To: <87k07x8ls8.fsf@mat.ucm.es> References: <87k07x8ls8.fsf@mat.ucm.es> Date: Mon, 17 Oct 2022 08:08:50 +0000 Message-ID: <87wn8yj2i5.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: -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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665994326; 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=8gS4dqWQlQcVnlH/tvclkZAo09LpvYohzWi+lWRmqyk=; b=QV/rAUKekukmRGm4CS46DhkQFJ1cQY8ywDDKjKl3F8YWVPs57DMYWkcNbyx3yQuV7ozMO2 GcMSnIREe5dicjbPG8zN8aAe3IpnjpbVaF3gO9PDUCNBYwDt/RW0NN0+jvATSWmXMqnPAZ JdlykhnuZ1+2j/CBRHargjMs6Pee7w0wPIREzM2Hi9VSveSCWqVbFNAQQH9ErUALaeI3Ky bJW/clHNXtGFtFNnIPwvcVAOCUE6WRboezM72E+rnYzuSlfRTVqbOevDW/JT8zEWvwbRsf FuIDzFWi0S6auTlrQ/IqsyJXk0/ivbnDP7Yd+Ni8iSBUsjf4LmpzfmmqddO9Tg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665994326; a=rsa-sha256; cv=none; b=RR+n5uO/0/Hp4+B40Kk+eJe/OMiE+mvBDpzhs5CIfKtNsaDAO7Az0T65b9cUeLjtbaBbqz zxHSv7vKXz5vN55crkH/B5YVIX7UkvTFe43YqYnF31NtVhF4r4nQvKOqU7yLbbWr7oPTfb q+pUij4NGwGSeudoIpTaWECCrcvEFTUJKJ+4u845faCe/kSF+T962E8bGTN1gOGi7CsPD7 akm/mYT1PHddV3cXb6X41D8PRHg0SY2o956jUVZSDYRrCfeUaF8B9Xf0dfxwpZqBUrthp9 sVX9gYvOYU6eWBsfQ3ndgrLkClHSlg1fJj/BmL/bp4PUPt6baZBHN+kW3JxVKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZhBi7ONu; dmarc=pass (policy=none) header.from=posteo.net; 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-Migadu-Spam-Score: -3.42 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZhBi7ONu; dmarc=pass (policy=none) header.from=posteo.net; 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-Migadu-Queue-Id: D522DB342 X-Spam-Score: -3.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: fCIPpSlMttrs Uwe Brauer writes: > #+BEGIN: columnview :maxlevel 2 :skip-empty-rows t :hlines 1 :indent nil :format "%5TODO(Status) %5Nr(Nr) %5Comp1(Comp1){X/} %5Comp2(Comp2){X/}" > | Status | Nr | Comp1 | Comp2 | > |--------+----+-------+-------| > | | | [3/4] | [3/4] | > | DONE | 1 | [X] | [X] | > | TODO | 2 | [X] | [X] | > | DONE | 3 | [ ] | [X] | > | WAIT | 4 | [X] | [ ] | > #+END: > > > #+end_src > > Everything is as expected, now I will lower the level of the first and > last subheaders and the statistics of the checkbox turns nuts: Confirmed. The culprit is org-columns--compute-spec. I do not fully understand how it works, but it feels like your scenario breaks some implicit assumption in the function. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at