emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Percent Done value not working....
@ 2010-11-22 20:27 C64 Whiz
  2010-11-23  0:44 ` Bernt Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: C64 Whiz @ 2010-11-22 20:27 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 471 bytes --]

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!

--C64Whiz

[-- Attachment #1.2: Type: text/html, Size: 538 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Percent Done value not working....
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2010-11-23  0:44 UTC (permalink / raw)
  To: C64 Whiz; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Percent Done value not working....
  2010-11-23  0:44 ` Bernt Hansen
@ 2010-11-23 18:27   ` C64 Whiz
  2010-11-23 18:29     ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: C64 Whiz @ 2010-11-23 18:27 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1373 bytes --]

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?


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
>

[-- Attachment #1.2: Type: text/html, Size: 1955 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: Percent Done value not working....
  2010-11-23 18:27   ` C64 Whiz
@ 2010-11-23 18:29     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2010-11-23 18:29 UTC (permalink / raw)
  To: C64 Whiz; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-23 18:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).