emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Sebold <csebold@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Possible bug in task breakdown recounting, narrowing problem from agenda or sparse tree?
Date: Thu, 25 Sep 2008 13:13:02 -0500	[thread overview]
Message-ID: <u4p442ixd.fsf@gmail.com> (raw)

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/

             reply	other threads:[~2008-09-25 18:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-25 18:13 Charles Sebold [this message]
2008-09-26 16:29 ` Possible bug in task breakdown recounting, narrowing problem from agenda or sparse tree? Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u4p442ixd.fsf@gmail.com \
    --to=csebold@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).