From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Sebold Subject: Possible bug in task breakdown recounting, narrowing problem from agenda or sparse tree? Date: Thu, 25 Sep 2008 13:13:02 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KivL2-0001Af-TB for emacs-orgmode@gnu.org; Thu, 25 Sep 2008 14:13:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KivKz-00019c-AZ for emacs-orgmode@gnu.org; Thu, 25 Sep 2008 14:13:16 -0400 Received: from [199.232.76.173] (port=47637 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KivKy-00019V-MP for emacs-orgmode@gnu.org; Thu, 25 Sep 2008 14:13:12 -0400 Received: from rn-out-0910.google.com ([64.233.170.184]:3202) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KivKy-0000Rv-K5 for emacs-orgmode@gnu.org; Thu, 25 Sep 2008 14:13:13 -0400 Received: by rn-out-0910.google.com with SMTP id k32so235473rnd.7 for ; Thu, 25 Sep 2008 11:13:07 -0700 (PDT) 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 In an org file that looks like this: ------------------------------------------------------------------------ #+STARTUP: odd #+STARTUP: hidestars #+TAGS: :meta:test: #+CATEGORY: Test * PROJECT [0/5] Made up of several todo's *** TODO first *** TODO second *** TODO third *** TODO fourth *** TODO fifth ------------------------------------------------------------------------ And with my todo keywords looking like this: ------------------------------------------------------------------------ (setq org-todo-keywords '( (sequence "INBOX(i)" "TICKLER(t!)" "|" "FILE(f@)" "CANCELED(k@)") (sequence "TODO" "WAITING" "VERIFY" "|" "DONE" "REASSIGNED") (sequence "DAILY(d!)" "|" "DONEDLY" "UNSCHEDDLY(D@)") (sequence "WEEKLY(e!)" "|" "DONEWKLY" "UNSCHEDWKLY(E@)") (sequence "MONTHLY(m!)" "|" "DONEMNTHLY" "UNSCHEDMNTHLY(M@)") (sequence "APPT" "RESCHEDULE(s@)" "|" "APPTPAST" "APPTCANCELED(n@)") (sequence "REQUEST(r!)" "REQWAITING(w@/!)" "REQVERIFY(v)" "|" "REQCLOSED(c!)" "REQREASSIGNED(a@)") (sequence "PROJECT(P!)" "PROJWAITING(W@/!)" "PROJVERIFY(V)" "|" "PROJCLOSED(C!)" "PROJREASSIGNED(A@)") )) ------------------------------------------------------------------------ According to (info "(org)Breaking down tasks") marking one of these as one of the DONE states (in this sequence it would be either "DONE" or "REASSIGNED") should change the PROJECT breakdown to [1/5]. If I am in the buffer with that org file, it's completely unfolded, and I do it, that's the effect I get. However, if: (a) the outline of that project is partially or completely folded to begin with, and (b) I change the TODO to DONE in the Agenda buffer, it seems to narrow around that TODO item, and the breakdown becomes [0/1] or some smaller number than the actual number of subtasks under the project. I just tried it with a sparse tree that only unfolded to display the third TODO item, and the same thing happened, so I guess it's probably something to do with the way the sparse tree works with folding. I'm running org-mode 6.07b downloaded from the website. Sorry if this is a known problem; I didn't see it on the "bugs" page in the info file. -- Charles Sebold http://merbc.invigorated.org/ http://triablogue.blogspot.com/