From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Possible bug in task breakdown recounting, narrowing problem from agenda or sparse tree? Date: Fri, 26 Sep 2008 18:29:03 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: multipart/mixed; boundary="===============2140707810==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjGHL-0004I6-Sc for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 12:34:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjGHJ-0004GY-SB for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 12:34:50 -0400 Received: from [199.232.76.173] (port=53372 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjGHI-0004F4-KO for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 12:34:49 -0400 Received: from pony.ic.uva.nl ([145.18.40.181]:57167) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjGGz-0001sn-8Y for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 12:34:46 -0400 In-Reply-To: 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: Charles Sebold Cc: emacs-orgmode@gnu.org --===============2140707810== Content-Type: multipart/alternative; boundary=Apple-Mail-1--673792022 --Apple-Mail-1--673792022 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Charles, This is indeed a bug, fixed now (in the git repo), thank you for your report. - Carsten On Sep 25, 2008, at 8:13 PM, Charles Sebold wrote: > 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/ > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Apple-Mail-1--673792022 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
Hi = Charles,

This is indeed a bug, fixed now (in the git = repo), thank you for your report.

- = Carsten

On Sep 25, 2008, at 8:13 PM, Charles = Sebold wrote:

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)" "|"
=             &n= bsp;    "REQCLOSED(c!)" "REQREASSIGNED(a@)")
=        (sequence "PROJECT(P!)" = "PROJWAITING(W@/!)" "PROJVERIFY(V)" "|"
=             &n= bsp;    "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/


_____________________________= __________________
Emacs-orgmode mailing list
Remember: use `Reply = All' to send replies to the = list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/em= acs-orgmode

= --Apple-Mail-1--673792022-- --===============2140707810== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============2140707810==--