* TODO's and cookies
@ 2014-08-02 14:50 Sharon Kimble
2014-08-18 8:06 ` Eric S Fraga
0 siblings, 1 reply; 2+ messages in thread
From: Sharon Kimble @ 2014-08-02 14:50 UTC (permalink / raw)
To: org-mode
[-- Attachment #1: Type: text/plain, Size: 2422 bytes --]
I've been looking for some time how to extend cookies in an org-mode file
with loads of TODO's. In my specific case I am writing a book, and this
file has the plan of the book, with each section its own TODO, and ditto
for the chapters. Some of the sections are IN-PROGRESS or DONE, others
still TODO. So its looking like this -
* TODO Universal Herbs 2014 [1/8] [12%]
** DONE CHAPTER 1 - preface [5/5] [100%]
*** DONE Disclaimer
*** DONE Introduction
*** DONE Please note
*** DONE Acknowledgements
*** DONE About the author
** TODO CHAPTER 2 - preamble [9/11] [81%]
** TODO CHAPTER 3 - Herbs [9/19] [47%]
*** DONE Alfalfa
CLOSED: [2014-07-31 Thu 02:16]
*** TODO Angelica
*** TODO Anise
*** DONE Black Cohosh
CLOSED: [2014-07-31 Thu 02:16]
*** DONE Cannabis
CLOSED: [2014-07-31 Thu 02:16]
*** DONE Chaste Tree/Berry
CLOSED: [2014-07-31 Thu 02:17]
*** TODO Dates
*** TODO Dill
*** DONE Don Quai
CLOSED: [2014-07-31 Thu 02:17]
*** TODO Fennel
*** TODO Fenugreek
*** IN-PROGRESS Ginseng
*** TODO Kudzu
*** TODO Liquorice
*** TODO Motherwort
*** DONE Red Clover
CLOSED: [2014-07-31 Thu 02:17]
*** DONE Sage
CLOSED: [2014-07-31 Thu 02:17]
*** DONE Saw Palmetto
CLOSED: [2014-07-31 Thu 02:18]
*** DONE Soya
CLOSED: [2014-07-31 Thu 02:18]
<snip>
By the first TODO which is the title its showing - [1/8] [12%] - which
is showing that there are 8 chapters, and its 12% completed. But, is it
possible to also get an overall count of all the sections/TODO's completed
please?
I've been looking at http://orgmode.org/manual/Checkboxes.html#Checkboxes
and have set up cookies as in that file. I've found "org-checkbox-hierarchical-statistics"
and have set it up here in my "setup-orgmode.el" -
--8<---------------cut here---------------start------------->8---
(setq org-checkbox-hierarchical-statistics t)
(setq org-todo-hierarchical-statistics t)
--8<---------------cut here---------------end--------------->8---
which is not working with my TODO's. I've been trying to evaluate it with "C-c #"
but I can't get it to work.
So is it possible to get an overall impression of my project from its
"TODO/IN-PROGRESS/DONE" states please, using the cookies as above?
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.92.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: TODO's and cookies
2014-08-02 14:50 TODO's and cookies Sharon Kimble
@ 2014-08-18 8:06 ` Eric S Fraga
0 siblings, 0 replies; 2+ messages in thread
From: Eric S Fraga @ 2014-08-18 8:06 UTC (permalink / raw)
To: Sharon Kimble; +Cc: org-mode
On Saturday, 2 Aug 2014 at 15:50, Sharon Kimble wrote:
> I've been looking for some time how to extend cookies in an org-mode file
> with loads of TODO's. In my specific case I am writing a book, and this
> file has the plan of the book, with each section its own TODO, and ditto
> for the chapters. Some of the sections are IN-PROGRESS or DONE, others
> still TODO. So its looking like this -
[...]
> By the first TODO which is the title its showing - [1/8] [12%] - which
> is showing that there are 8 chapters, and its 12% completed. But, is it
> possible to also get an overall count of all the sections/TODO's completed
> please?
You would have to use lists instead of headlines and then use checkboxes
on the list entries. Each of your headlines in your example would be a
list item.
> (setq org-checkbox-hierarchical-statistics t)
Checkboxes are only for lists.
HTH,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-237-gcc6aa4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-18 8:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-02 14:50 TODO's and cookies Sharon Kimble
2014-08-18 8:06 ` Eric S Fraga
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).