Re: [O] TODO's and cookies

2014-08-18 Thread Eric S Fraga
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



[O] TODO's and cookies

2014-08-02 Thread Sharon Kimble
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


signature.asc
Description: PGP signature