From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 WOWKFCiB4mJ7egEAbAwnHQ (envelope-from ) for ; Thu, 28 Jul 2022 14:29:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YGaYFCiB4mLmpgAA9RJhRA (envelope-from ) for ; Thu, 28 Jul 2022 14:29:28 +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 EE8852CE40 for ; Thu, 28 Jul 2022 14:29:27 +0200 (CEST) Received: from localhost ([::1]:51210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oH2dq-0008B2-Et for larch@yhetil.org; Thu, 28 Jul 2022 08:29:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH2cH-0008Ah-A8 for emacs-orgmode@gnu.org; Thu, 28 Jul 2022 08:27:50 -0400 Received: from ciao.gmane.io ([116.202.254.214]:49488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH2cE-0002hN-Tn for emacs-orgmode@gnu.org; Thu, 28 Jul 2022 08:27:49 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oH2c8-0007Xq-A2 for emacs-orgmode@gnu.org; Thu, 28 Jul 2022 14:27:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: bizarre: checkbox in properties, counting does not work with subheadings Date: Thu, 28 Jul 2022 14:27:35 +0200 Message-ID: <87k07x8ls8.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:v+AWb74BUIoxBa9V0foLTKywMfM= Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TO_NO_BRKTS_PCNT=1, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659011368; 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; bh=suEcwTr98tQHXsYdSkSQsOEB95mD/HSQoqQ4pPZFbok=; b=d4AyYv05ibISYRsYzUQW3i4xC3+Y4UvGc9FTIXsHOZbwGSZAvq2JHUdsmLN8FBAg7zcYyI +xWUhtsNuQy8Tq5a885PJsJRlhFImsAst9YXtJrClB+iez2kVtwsZ6BaCWC6nu2xe6991E gFDwoSfnUiqz/KxLto1posl3PAvrzEtviYVJUtJbsYLJrnxYnmIMn2Tyh8YUjzSmBVPQ/I Fvyj5lfRpq7CVpmra/aTEgOY9G+UIix1E0rR/jw5rdYSziMq56Pv12KKGt5vKNk5lwFsT1 Z+d3lk7LNjVKK61m6/qZ4Bo7QmSJKwtY99zcqxzU1RlaDP7OaQnm1B8pD4UJiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659011368; a=rsa-sha256; cv=none; b=sOxavvLyjWTU6GcjLyNdNtUtHS5ApqGz5D9//6hnH03tdW4yzDqm3yw5EvK9ZI7+x1ILFe pOEKFl5nOTW2qDS0yKl94igVZ7Ne4XYGdYL3oeqEVepifsvhdkt2dJ8zXbzfAGAWEsR5Yj 8gQ9XG3sYTcaR3aCD/ERLRXoVeMaK/9Mqaia70Xj3uVxdCTOtEo89TRr1jM7VPOBNfiJfJ /FZJ9vuupxQGFS65fNG7q44dGcaED8GtAuQ68qIk91fbIBZH8G6GFvbfipDYsMny49cWJj VRrnlBS952Es3aeqMh9xK4NHr81+/eGiC37v/sXT/LzenNQaFyyENXVdJTInvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=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-Migadu-Spam-Score: 2.27 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=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-Migadu-Queue-Id: EE8852CE40 X-Spam-Score: 2.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: iVwgAVqGAxje Hi Please consider #+begin_src * Everything [3/4] :PROPERTIES: :COLUMNS: %TODO %ITEM %Nr %Comp1 %Comp2 :COMP1: [3/4] :COMP2: [3/4] :TODO: [ ] :END: ** DONE Books :PROPERTIES: :Nr: 1 :Comp1: [X] :Comp2: [X] :END: ** DONE Car :PROPERTIES: :Nr: 2 :Comp1: [X] :Comp2: [X] :END: ** DONE Food :PROPERTIES: :Nr: 3 :Comp1: [ ] :Comp2: [X] :END: *** WAIT Computer :PROPERTIES: :Nr: 4 :Comp1: [X] :Comp2: [ ] :END: #+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: #+begin_src * Everything [3/4] :PROPERTIES: :COLUMNS: %TODO %ITEM %Nr %Comp1 %Comp2 :COMP1: [1/1] :COMP2: [1/1] :TODO: [ ] :END: *** DONE Books :PROPERTIES: :Nr: 1 :Comp1: [X] :Comp2: [X] :END: ** DONE Car :PROPERTIES: :Nr: 2 :Comp1: [X] :Comp2: [X] :END: ** DONE Food :PROPERTIES: :Nr: 3 :COMP1: [1/1] :COMP2: [0/1] :END: **** WAIT Computer :PROPERTIES: :Nr: 4 :Comp1: [X] :Comp2: [ ] :END: #+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 | |--------+----+-------+-------| | | | [1/1] | [1/1] | | DONE | 2 | [X] | [X] | | DONE | 3 | [1/1] | [0/1] | #+END: #+end_src Any idea how to avoid this? The expected behavior should be #+begin_src * Everything [3/4] :PROPERTIES: :COLUMNS: %TODO %ITEM %Nr %Comp1 %Comp2 :COMP1: [1/2] :COMP2: [2/2] :TODO: [ ] :END: ** DONE Car :PROPERTIES: :Nr: 2 :Comp1: [X] :Comp2: [X] :END: ** DONE Food :PROPERTIES: :Nr: 3 :Comp1: [ ] :Comp2: [X] :END: #+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 | |--------+----+-------+-------| | | | [1/2] | [2/2] | | DONE | 2 | [X] | [X] | | DONE | 3 | [ ] | [X] | #+END: #+end_src regards Uwe Brauer -- I strongly condemn Putin's war of aggression against the Ukraine. I support to deliver weapons to Ukraine's military. I support the ban of Russia from SWIFT. I support the EU membership of the Ukraine.