From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: How to get cookies working with TODOs? Date: Wed, 20 Aug 2014 12:51:25 +0100 Message-ID: <87zjezgz0i.fsf@ucl.ac.uk> References: <87ppfw9vvr.fsf@skimble.plus.com> <87lhqkdncj.fsf@ericabrahamsen.net> <877g23wi9z.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK4QU-0006Qt-BQ for emacs-orgmode@gnu.org; Wed, 20 Aug 2014 07:51:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XK4QM-0004Gy-Rr for emacs-orgmode@gnu.org; Wed, 20 Aug 2014 07:51:38 -0400 Received: from mail-db3lrp0082.outbound.protection.outlook.com ([213.199.154.82]:18517 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK4QM-0004Gk-JM for emacs-orgmode@gnu.org; Wed, 20 Aug 2014 07:51:30 -0400 In-Reply-To: <877g23wi9z.fsf@skimble.plus.com> (Sharon Kimble's message of "Wed, 20 Aug 2014 11:46:16 +0100") 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: Sharon Kimble Cc: Eric Abrahamsen , Nick Dokos , emacs-orgmode@gnu.org On Wednesday, 20 Aug 2014 at 11:46, Sharon Kimble wrote: [...] > 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 > > ** WAITING Anise > CLOSED: [2014-08-20 Wed 10:29] > > > And only _waiting_ shows as closed, none of these other conditions do - > > #+TODO: TODO NEXT IN-PROGRESS NOTES FIXME | WAITING DONE > > 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:" It probably has to do with the fact that you haven't put a "|" anywhere so only the WAITING type is one that indicates a completed task? Look at the Workflow states section of the manual. Something like this might work better for you: #+TODO: TODO NEXT IN-PROGRESS NOTES FIXME | WAITING DONE Note the move of DONE to the end and the addition of |. The important thing about the move of DONE is not that it be last but that it be placed after the |. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-246-g77d0da