emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to get cookies working with TODOs?
Date: Tue, 19 Aug 2014 22:52:58 -0400	[thread overview]
Message-ID: <877g23zxbp.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: 87lhqkdncj.fsf@ericabrahamsen.net

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Sharon Kimble <boudiccas@skimble.plus.com> 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

  reply	other threads:[~2014-08-20  2:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-19 18:28 How to get cookies working with TODOs? Sharon Kimble
2014-08-20  0:19 ` Eric Abrahamsen
2014-08-20  2:52   ` Nick Dokos [this message]
2014-08-20 10:46   ` Sharon Kimble
2014-08-20 11:51     ` Eric S Fraga
2014-08-20 12:02     ` Nick Dokos
2014-08-22 18:29       ` Sharon Kimble

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=877g23zxbp.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@gmail.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).