From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Bug: Minor Bug: COOKIE_DATA property breaks parent statistics [7.5 (release_7.5.24.g5f0ef)] Date: Wed, 09 Mar 2011 23:12:19 -0500 Message-ID: <87r5af62cc.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=55337 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxXEd-0007kZ-EZ for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 23:12:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxXEc-0004eA-9G for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 23:12:23 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:11351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxXEc-0004e1-7O for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 23:12:22 -0500 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1PxXEb-000PsO-M2 for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 04:12:21 +0000 Received: from localhost.localdomain (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2A4CJxr026446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 9 Mar 2011 23:12:20 -0500 Received: from localhost.localdomain (gollum [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id p2A4CJUH011445 for ; Wed, 9 Mar 2011 23:12:19 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I've run into a minor bug with cookie statistics. The COOKIE_DATA property seems to break parent task statistics when it is set to 'recursive'. In the org file below task one/two/foo/a has the COOKIE_DATA property set to recursive. Changing the state of task 'a' does not change the statistics cookie of the parent task 'foo' when 'a' changes from TODO to DONE or DONE to TODO. I cannot update the statistics of task 'foo' manually after changing task 'a' by hitting C-c # on the 'foo' headline. If I update one of the other tasks under 'foo' then the statistics are updated correctly. I think this should update automagically when the state of 'a' changes. Regards, Bernt --8<---------------cut here---------------start------------->8--- * TODO one [0/1] [0%] ** TODO two [0/3] [0%] *** TODO foo [1/4] **** TODO a [3/6] :PROPERTIES: :COOKIE_DATA: recursive :END: ***** TODO a.1 ****** TODO a.1.1 ****** DONE a.1.2 CLOSED: [2011-03-09 Wed 22:50] :LOGBOOK: - State "DONE" from "TODO" [2011-03-09 Wed 22:50] :END: ****** TODO a.1.3 ***** DONE a.2 CLOSED: [2011-03-09 Wed 22:50] :LOGBOOK: - State "DONE" from "TODO" [2011-03-09 Wed 22:50] :END: ***** DONE a.3 CLOSED: [2011-03-09 Wed 22:50] :LOGBOOK: - State "DONE" from "TODO" [2011-03-09 Wed 22:50] :END: **** TODO b CLOSED: [2011-03-09 Wed 22:50] :LOGBOOK: - State "DONE" from "TODO" [2011-03-09 Wed 22:50] :END: **** DONE c CLOSED: [2011-03-09 Wed 22:50] :LOGBOOK: - State "DONE" from "TODO" [2011-03-09 Wed 22:50] :END: **** TODO d *** TODO bar *** TODO baz --8<---------------cut here---------------end--------------->8--- Emacs : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian Package: Org-mode version 7.5 (release_7.5.24.g5f0ef) -- Bernt