emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sharon Kimble <boudiccas@skimble.plus.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: TODO's and cookies
Date: Sat, 02 Aug 2014 15:50:14 +0100	[thread overview]
Message-ID: <87r40zgd3t.fsf@skimble.plus.com> (raw)

[-- 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 --]

             reply	other threads:[~2014-08-02 14:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-02 14:50 Sharon Kimble [this message]
2014-08-18  8:06 ` TODO's and cookies Eric S Fraga

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=87r40zgd3t.fsf@skimble.plus.com \
    --to=boudiccas@skimble.plus.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).