From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: How to get cookies working with TODOs? Date: Wed, 20 Aug 2014 11:46:16 +0100 Message-ID: <877g23wi9z.fsf@skimble.plus.com> References: <87ppfw9vvr.fsf@skimble.plus.com> <87lhqkdncj.fsf@ericabrahamsen.net> 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]:55864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK3PU-0001uh-Cj for emacs-orgmode@gnu.org; Wed, 20 Aug 2014 06:46:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XK3PP-0001Wi-U3 for emacs-orgmode@gnu.org; Wed, 20 Aug 2014 06:46:32 -0400 Received: from avasout08.plus.net ([212.159.14.20]:49419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK3PP-0001We-Nc for emacs-orgmode@gnu.org; Wed, 20 Aug 2014 06:46:27 -0400 In-Reply-To: <87lhqkdncj.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 20 Aug 2014 08:19:24 +0800") 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: Eric Abrahamsen , Nick Dokos Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eric Abrahamsen writes: > Sharon Kimble writes: > >> I'm trying to get cookies working with TODO items. The source document >> is a book I'm writing and is an outline of each section and chapters so >> that I can see what is still to be done. I'm writing it in latex but >> doing the outline in orgs-mode. >> >> * TODO CHAPTER 1 - preface [0%] >> ** DONE Disclaimer >> CLOSED: [2014-07-30 Wed 23:49] >> ** DONE Introduction >> CLOSED: [2014-07-30 Wed 23:50] >> >> >> Following "5.5 Breaking tasks down into subtasks" in the "org.pdf" I >> should be able to 'C-c C-c' on the cookie and it updates the cookie, >> except it doesn't work in this case. There are 5 sections which are all >> completed in this chapter, but the cookie doesn't update. >> >> * TODO CHAPTER 2 - preamble [0/11] [0%] >> :PROPERTIES: >> :COOKIE_DATA: todo recursive >> :END: >> ** DONE An overview of the endocrine system >> CLOSED: [2014-07-31 Thu 02:12] >> >> Like it shows on page 55. But the cookie doesn't update either in this c= ase. > > Hmm, I just tried your example above, and it worked just fine. I didn't > even need to hit C-c C-c, just adding TODOs and toggling their state > updated the cookie automatically. I'm using Org-mode version 8.3beta > (release_8.3beta-232-g644e60 @ /home/eric/.emacs.d/org-mode/lisp/) > > Are you using a relatively recent Org? > Eric - I'm using "Org-mode version 8.2.7c (release_8.2.7c @ /home/boudiccas/git/org-mode/lisp/)", which is fairly recent so should be okay. Hmm, if they work for you then its something in my set-up. And after having a play, the cookie is only changed when it is toggled [C-c C-t] to "Waiting" which then shows =2D-8<---------------cut here---------------start------------->8--- ** WAITING Anise CLOSED: [2014-08-20 Wed 10:29] =2D-8<---------------cut here---------------end--------------->8--- And only _waiting_ shows as closed, none of these other conditions do - =2D-8<---------------cut here---------------start------------->8--- #+TODO: TODO DONE NEXT IN-PROGRESS NOTES FIXME WAITING =2D-8<---------------cut here---------------end--------------->8--- The conditions are set specifically for this one file, and I've just reverted to a previous 'setq org-todo-keyword-faces' and that now shows those sections marked as 'DONE' as being closed.=20 If I 'C-c C-c' a TODO item, whether showing as "TODO/DONE/whatever" it triggers the setting of 'org-tags'! So something is screwy there, but I don't know what! But it does not trigger the insertion of "CLOSED:" Nick - I do have 'org-provide-todo-statistics' set to "t" I've just uploaded my 'setup-orgmode.el' file to my bitbucket, at "https://bitbucket.org/boudiccas/dots/src/d1c750572c9367c3d86b5a1f9cfa200e0= 7e9d988/emacs/setup-orgmode.el?at=3Dmaster" and I would be very grateful if anybody could tell me where I'm going wrong, and then how to put it right, please? I think that the problems all stem from my set-up, but I can't see exactly where.=20 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 iQIcBAEBCgAGBQJT9Hx4AAoJEDaBgBkK+INbv3MP+wfaTyqE0zyNEIPrtsscU12B 2kePNQW4vy3xgQzGABYgkfIpoLfJ12KObX9YkBdp0e3D+gOU0kgTfLoF+0kJl+Q1 YzdW7tLvCU+kdR4qQSy4Dg7Fw9fT58vJacP+H+bCRuSowM2qgvJwItoBNdjUXRsf +/1uAFykB15cv47lXsfglnkDUyvy5wkFP0AMcF9hrC+J3s/OtALZOIktDTBsIEbS mZXOD3k+cLU+x1hWuu2cBlJs3WLG2S1Tm+WXauqdFuZiKipjtKNKSMA9PuYfTISl lPMmbmYFmHUIRjPIw0m4AYaU2uS9FUEN8oaaxv/459m1i5zSG1hAE7vlRdwhvzLd l7/zuQCBE6MYf44+1fuUbHvjlHMLydaao/2qUicHrC6SrjqtFq3iziHGmSf91/Hs T3/9b3ZFpFGYF7nuGIsEkXH04GD8MJD6Qo4wVUEa+1IavXppRR/JFcXEdtbMHfde Df3Bg+bxurA5rnibg1Xt6yUFAG28a11CIyTvU5W3Wmo0J5V0dIV5StPSbMaDUVKh nkihpEzZHUsI80Klo3xNuwYJuWbOjg4QDDzfezpBKgi4QCke2sO9YvobGbkjTmQD nP3a/43vS6lwWXUuO2Toaoxg4pCU2HBmrg2BnXbtyk8fJ1N3hxNkBBAugEuJs1mu fJYPHWpHQtV2CQ5AuG8h =YnK3 -----END PGP SIGNATURE----- --=-=-=--