emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sharon Kimble <boudiccas@skimble.plus.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>, Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to get cookies working with TODOs?
Date: Wed, 20 Aug 2014 11:46:16 +0100	[thread overview]
Message-ID: <877g23wi9z.fsf@skimble.plus.com> (raw)
In-Reply-To: <87lhqkdncj.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 20 Aug 2014 08:19:24 +0800")

[-- Attachment #1: Type: text/plain, Size: 3282 bytes --]

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/)
>
> 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
--8<---------------cut here---------------start------------->8---
** WAITING Anise
CLOSED: [2014-08-20 Wed 10:29]
--8<---------------cut here---------------end--------------->8---

And only _waiting_ shows as closed, none of these other conditions do -
--8<---------------cut here---------------start------------->8---
#+TODO: TODO DONE NEXT IN-PROGRESS NOTES FIXME WAITING
--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. 

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:<the-date>"

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/d1c750572c9367c3d86b5a1f9cfa200e07e9d988/emacs/setup-orgmode.el?at=master"
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. 

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

  parent reply	other threads:[~2014-08-20 10:46 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
2014-08-20 10:46   ` Sharon Kimble [this message]
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=877g23wi9z.fsf@skimble.plus.com \
    --to=boudiccas@skimble.plus.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    --cc=ndokos@gmail.com \
    /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).