From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: How to get cookies working with TODOs? Date: Tue, 19 Aug 2014 22:52:58 -0400 Message-ID: <877g23zxbp.fsf@pierrot.dokosmarshall.org> References: <87ppfw9vvr.fsf@skimble.plus.com> <87lhqkdncj.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJw1d-0003mv-I6 for emacs-orgmode@gnu.org; Tue, 19 Aug 2014 22:53:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJw1W-0000lP-BN for emacs-orgmode@gnu.org; Tue, 19 Aug 2014 22:53:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:59977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJw1W-0000lL-4n for emacs-orgmode@gnu.org; Tue, 19 Aug 2014 22:53:18 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XJw1Q-0004Na-44 for emacs-orgmode@gnu.org; Wed, 20 Aug 2014 04:53:12 +0200 Received: from pool-173-48-174-104.bstnma.fios.verizon.net ([173.48.174.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Aug 2014 04:53:12 +0200 Received: from ndokos by pool-173-48-174-104.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Aug 2014 04:53:12 +0200 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: emacs-orgmode@gnu.org 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 case. > > 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/) > That was my experience as well - there is a variable that controls the automatic cookie setting, org-provide-todo-statistics, but it is set to t by default, so it should just work. > Are you using a relatively recent Org? > -- Nick