emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: C64 Whiz <c64whiz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Percent Done value not working....
Date: Tue, 23 Nov 2010 19:29:38 +0100	[thread overview]
Message-ID: <12C92B2A-273A-45F7-8E0A-FD125BAA56ED@gmail.com> (raw)
In-Reply-To: <AANLkTindv5ibc8MniM7GSMUA5Z2pv0HeEeSG5HsikVzi@mail.gmail.com>


On Nov 23, 2010, at 7:27 PM, C64 Whiz wrote:

> C-c # didn't work.  I'm still getting 66%.  The only way I can get a  
> complete count is to (setq org-hierarchical-todo-
> statistics nil) and change the keyword on heading 1.2.1.  However,  
> in my actual file, those lower headings are dates for journal  
> entries.  I don't want to put keywords on those.  i.e.
>
> * Head 1 [66%]
> ** DONE Head 1.1
> ** DONE Head 1.2
> *** 2010/08/25 11:28:12 (11:28:12 AM)
>      Some log entry and notes.  Putting a keyword on this entries  
> heading is a waste, yet Head 1
>      doesn't provide the correct DONE total.
>
> Any other ideas?

The docstring of that variable is:

   "Non-nil means TODO statistics covers just direct children.
When nil, all entries in the subtree are considered.
This has only an effect if `org-provide-todo-statistics' is set.
To set this to nil for only a single subtree, use a COOKIE_DATA
property and include the word \"recursive\" into the value."

Is that not clear?  It means that all sublevels are flattened out, so  
that TODO entries on all levels are treated equally.

HTH

- Carsten


>
>
> On Mon, Nov 22, 2010 at 4:44 PM, Bernt Hansen <bernt@norang.ca> wrote:
> C64 Whiz <c64whiz@gmail.com> writes:
>
> > Hello,
> >
> > I have the following tree with (setq org-hierarchical-todo- 
> statistics nil) in my .emacs:
> >
> > * Head 1 [66%]
> > ** DONE Head 1.1
> > ** DONE Head 1.2
> > *** TODO Head 1.2.1
> >
> > Changing the keyword on heading 1.2.1 alters the 66% accordingly.
> >
> > When I change my .emacs to   (setq org-hierarchical-todo- 
> statistics t), changing the heading 1.2.1 keyword does
> > *not* alter the 66%.  However, it STILL says 66%.
> >
> > If Subtrees are ignored, shouldn't the [%] be 100% ?
> >
> > Thanks!
>
> Hi,
>
> It probably goes up one level, sees not statistics cookie to update  
> and
> quits looking.  You can update the statistics cookie on Head 1 with
> C-c #
>
> HTH,
> Bernt
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2010-11-23 18:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 20:27 Percent Done value not working C64 Whiz
2010-11-23  0:44 ` Bernt Hansen
2010-11-23 18:27   ` C64 Whiz
2010-11-23 18:29     ` Carsten Dominik [this message]

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=12C92B2A-273A-45F7-8E0A-FD125BAA56ED@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=c64whiz@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).