From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: TODO's and cookies Date: Sat, 02 Aug 2014 15:50:14 +0100 Message-ID: <87r40zgd3t.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDadi-0006Ju-HF for emacs-orgmode@gnu.org; Sat, 02 Aug 2014 10:50:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XDadd-0003Jb-JW for emacs-orgmode@gnu.org; Sat, 02 Aug 2014 10:50:30 -0400 Received: from avasout04.plus.net ([212.159.14.19]:56640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDadd-0003JX-DG for emacs-orgmode@gnu.org; Sat, 02 Aug 2014 10:50:25 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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%]=20 ** 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] 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= =20 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-hierarchi= cal-statistics" and have set it up here in my "setup-orgmode.el" - =2D-8<---------------cut here---------------start------------->8--- (setq org-checkbox-hierarchical-statistics t) (setq org-todo-hierarchical-statistics t) =2D-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. =2D-=20 A taste of linux =3D http://www.sharons.org.uk my git repo =3D https://bitbucket.org/boudiccas/dots TGmeds =3D http://www.tgmeds.org.uk Debian testing, fluxbox 1.3.5, emacs 24.3.92.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJT3PqmAAoJEDaBgBkK+INbu+QP/2QJuQZIMqHLsSwmgmfxfMG4 C7rglaHES0WqSBQpMJX8oRkZAy592uQYvhZT6shOBS3UbhVcdw1xdIlKyXgbsXDi VXJE26DDjGpzhLauKLxqj92WKNcRqPoOlb+AA8OfK99bZZV8OkIFIFt5uNL5IbfX tf2FMPtSf2XSKorlQBvlELJj8rzuAotbYv4cG1FodxRAYFFeJ68prQAzPnUhTBPE ZVBmMvn8m0z9LA/trsesdaT2dOgtXAOQwdtZLD/n5axFvgpPfIQWON0nxqzPyRu/ l23E9PqHxQMYKVvUXK8qNC/07SedevGyMIuVAX6nFSQMAmL6zn6mAO96W56Orm69 CLl/Jne5OuAp+oNIeH22w/GxCO1HmlnMOsaAW1avouHMaMJeOlDHcFhp+XvAs0qO 7zejTVGZPY9mvdsgbA/4pQ0fvmo+WJRwfhz0EP/S+ufIBjPuJVzDQubS18M9+4eo zqB7g6CflAifzAXVy9LoSUUsxOsFr3lIm+wIp4b4O7Ge8+2k/0G7iyFklugt0VQC hoEAno6jBvK4iWJ8DkSQe5Z3GjoxcrAkDGUdLu0z1DlUIFpiSJSHV5Gg96MYtiBC +JSyiNkZybCob0cL19/+fpEmh/LOFql+1b1RMut6rb9W7M8Ci+I4OEoJg3+d2WYP kgdeZRhF5cIncFDVB1Hy =DVPe -----END PGP SIGNATURE----- --=-=-=--