* SEQ_TODO and Headline percentages
@ 2009-07-25 1:54 David A. Gershman
2009-07-26 16:56 ` Bastien
0 siblings, 1 reply; 9+ messages in thread
From: David A. Gershman @ 2009-07-25 1:54 UTC (permalink / raw)
To: Org-Mode List
Hi Everyone,
Is there a way for non-SEQ_TODO labeled sub-headings to still count in
the headline percentage?
Examples are in order...
Currently:
* Some Project [100%]
As you can see in this example, the headings % is 100 because
the first sub heading has no "SEQ_TODO" label.
* Sub heading with no SEQ_TODO label
* DONE sub heading with label
Desired:
* Some Project [50%]
Note the non-labeled sub-heading results in only 50%
* Sub heading with no SEQ_TODO label
* DONE sub heading with label
At the current time, my "fix" is to go ahead and give a label to all
sub-headings. So the above example would have to have something,
perhaps "CREATED" or "Qd" (queued). I'm hoping to alleviate this.
Thanks, and glad to be back with Org-Mode...
---------------
David A. Gershman
gershman@dagertech.net
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: SEQ_TODO and Headline percentages
2009-07-25 1:54 SEQ_TODO and Headline percentages David A. Gershman
@ 2009-07-26 16:56 ` Bastien
2009-07-26 20:04 ` Samuel Wales
0 siblings, 1 reply; 9+ messages in thread
From: Bastien @ 2009-07-26 16:56 UTC (permalink / raw)
To: David A. Gershman; +Cc: Org-Mode List
"David A. Gershman" <dagershman_dgt@dagertech.net> writes:
> Is there a way for non-SEQ_TODO labeled sub-headings to still count in
> the headline percentage?
Now there is.
(setq org-provide-todo-statistics 'all-headlines)
will do the job.
I haven't implemented this for org-provide-checkbox-statistics because
(1) the code is more complex and (2) I am under the impression that it
would not be as useful... but I don't know why I'm under this impression
and feedback is welcome.
Thanks for this idea!
--
Bastien
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: SEQ_TODO and Headline percentages
2009-07-26 16:56 ` Bastien
@ 2009-07-26 20:04 ` Samuel Wales
2009-07-27 3:12 ` Bastien
0 siblings, 1 reply; 9+ messages in thread
From: Samuel Wales @ 2009-07-26 20:04 UTC (permalink / raw)
To: Bastien; +Cc: Org-Mode List, David A. Gershman
It might be worth considering going all the way and allowing a list of
todo kw that will affect statistics.
On 2009-07-26, Bastien <bastienguerry@googlemail.com> wrote:
> "David A. Gershman" <dagershman_dgt@dagertech.net> writes:
>
>> Is there a way for non-SEQ_TODO labeled sub-headings to still count in
>> the headline percentage?
>
> Now there is.
>
> (setq org-provide-todo-statistics 'all-headlines)
>
> will do the job.
>
> I haven't implemented this for org-provide-checkbox-statistics because
> (1) the code is more complex and (2) I am under the impression that it
> would not be as useful... but I don't know why I'm under this impression
> and feedback is welcome.
>
> Thanks for this idea!
>
> --
> Bastien
>
>
> _______________________________________________
> 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
>
--
Myalgic encephalomyelitis makes you die decades early (Jason
et al. 2006) and suffer severely. Conflicts of interest are
destroying research. Silence = death.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: SEQ_TODO and Headline percentages
@ 2009-07-27 4:28 David A. Gershman
2009-07-27 4:52 ` Bastien
0 siblings, 1 reply; 9+ messages in thread
From: David A. Gershman @ 2009-07-27 4:28 UTC (permalink / raw)
To: Org-Mode List
Ok, now I'm pissed and bummed...
I *REALLY* want to use Org-Mode for my GTD stuff, task lists, etc, etc,
etc. However, one of my biggest gripes is that I don't have access to
my data when I'm away from the computer or its turned off (i.e. grocery
shopping, watching TV at night, and so on...)
This is the *only* list I'm a member of where one can ask a question and
in a few days, ! BAM !, feature included. You guys are truly AWESOME!!!
So, any way you can add a command
"org-upload-to-brain-for-people-not-always-on-computer"
for when I stick one end of my USB cable in the computer and the
other... *wink*
(Sorry for the image...its late...I'm tired...and I still don't have my
GTD life in order...)
*sigh* Thanks guys, you really are the best!
> Samuel Wales <samologist@gmail.com> writes:
>
> > It might be worth considering going all the way and allowing a list of
> > todo kw that will affect statistics.
>
> Done. Setting `org-provide-todo-statistics' to a list of TODO keywords
> will only compute todo statistics against headlines containing a keyword
> from this list.
>
> --
> Bastien
>
>
---------------
David A. Gershman
gershman@dagertech.net
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: SEQ_TODO and Headline percentages
@ 2009-07-27 15:55 David A. Gershman
2009-07-27 17:51 ` Samuel Wales
2009-07-27 20:37 ` Bastien
0 siblings, 2 replies; 9+ messages in thread
From: David A. Gershman @ 2009-07-27 15:55 UTC (permalink / raw)
To: Org-Mode List
After a good night's rest, I came to the realization this solution
doesn't help my issue. I was asking if there was a way for
* Heading 1 [%]
* Sub 1
* TODO Sub 2
* DONE Sub 3
To have a statistic of 33% done instead of now it would say 50%. The
sub heading with *no* TODO kw is not even counted.
With the new solution, can a TODO kw be, say, "NIL" to count non-kw lines?
Thanks!
> Samuel Wales <samologist@gmail.com> writes:
>
> > It might be worth considering going all the way and allowing a list of
> > todo kw that will affect statistics.
>
> Done. Setting `org-provide-todo-statistics' to a list of TODO keywords
> will only compute todo statistics against headlines containing a keyword
> from this list.
>
> --
> Bastien
>
>
> _______________________________________________
> 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
>
>
---------------
David A. Gershman
gershman@dagertech.net
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: SEQ_TODO and Headline percentages
2009-07-27 15:55 David A. Gershman
@ 2009-07-27 17:51 ` Samuel Wales
2009-07-27 20:37 ` Bastien
1 sibling, 0 replies; 9+ messages in thread
From: Samuel Wales @ 2009-07-27 17:51 UTC (permalink / raw)
To: David A. Gershman; +Cc: Org-Mode List
nil
On 2009-07-27, David A. Gershman <dagershman_dgt@dagertech.net> wrote:
>
> After a good night's rest, I came to the realization this solution
> doesn't help my issue. I was asking if there was a way for
>
> * Heading 1 [%]
> * Sub 1
> * TODO Sub 2
> * DONE Sub 3
>
> To have a statistic of 33% done instead of now it would say 50%. The
> sub heading with *no* TODO kw is not even counted.
>
> With the new solution, can a TODO kw be, say, "NIL" to count non-kw lines?
>
> Thanks!
>
>> Samuel Wales <samologist@gmail.com> writes:
>>
>> > It might be worth considering going all the way and allowing a list of
>> > todo kw that will affect statistics.
>>
>> Done. Setting `org-provide-todo-statistics' to a list of TODO keywords
>> will only compute todo statistics against headlines containing a keyword
>> from this list.
>>
>> --
>> Bastien
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> ---------------
> David A. Gershman
> gershman@dagertech.net
> http://dagertech.net/gershman/
> "It's all about the path!" --d. gershman
>
>
> _______________________________________________
> 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
>
--
Myalgic encephalomyelitis makes you die decades early (Jason
et al. 2006) and suffer severely. Conflicts of interest are
destroying research. Silence = death.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: SEQ_TODO and Headline percentages
2009-07-27 15:55 David A. Gershman
2009-07-27 17:51 ` Samuel Wales
@ 2009-07-27 20:37 ` Bastien
1 sibling, 0 replies; 9+ messages in thread
From: Bastien @ 2009-07-27 20:37 UTC (permalink / raw)
To: David A. Gershman; +Cc: Org-Mode List
"David A. Gershman" <dagershman_dgt@dagertech.net> writes:
> After a good night's rest, I came to the realization this solution
> doesn't help my issue. I was asking if there was a way for
>
> * Heading 1 [%]
> * Sub 1
> * TODO Sub 2
> * DONE Sub 3
>
> To have a statistic of 33% done instead of now it would say 50%. The
> sub heading with *no* TODO kw is not even counted.
(setq org-provide-todo-statistics 'all-headlines)
should do the trick.
> With the new solution, can a TODO kw be, say, "NIL" to count non-kw
> lines?
No need for that.
HTH,
--
Bastien
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-07-27 22:44 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-25 1:54 SEQ_TODO and Headline percentages David A. Gershman
2009-07-26 16:56 ` Bastien
2009-07-26 20:04 ` Samuel Wales
2009-07-27 3:12 ` Bastien
-- strict thread matches above, loose matches on Subject: below --
2009-07-27 4:28 David A. Gershman
2009-07-27 4:52 ` Bastien
2009-07-27 15:55 David A. Gershman
2009-07-27 17:51 ` Samuel Wales
2009-07-27 20:37 ` Bastien
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).