From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: opinion+suggestions: Check boxes on headlines and cookies to take care of this into account... Date: Fri, 04 Apr 2008 16:22:29 +0200 Message-ID: <87od8p4s4a.fsf@kassiopeya.localdomain> References: <47F641C4.5010808@yahoo.com> <47F64252.5040303@yahoo.com> <87sky14sy8.fsf@kassiopeya.localdomain> <47F6443F.1030105@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jhnji-0001A5-NN for emacs-orgmode@gnu.org; Fri, 04 Apr 2008 11:21:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jhnjg-00016q-FM for emacs-orgmode@gnu.org; Fri, 04 Apr 2008 11:21:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jhnjf-00016O-SC for emacs-orgmode@gnu.org; Fri, 04 Apr 2008 11:21:47 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Jhnjf-0003wZ-L2 for emacs-orgmode@gnu.org; Fri, 04 Apr 2008 11:21:47 -0400 In-Reply-To: <47F6443F.1030105@yahoo.com> (Jose Robins's message of "Fri, 04 Apr 2008 08:07:43 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jose Robins Cc: emacs-orgmode Mailinglist Yes, sorry - was just trying this on in exactly this moment :-/ The clocking works too, but then the TODO - STARTED - DONE is added automatically. But this one could be corrected by using the hook org-after-todo-state-change-hook. Some (not very elegant) function like (defun my-delete-todo-keyword () "Delete todo keyword when DONE" (interactive) ;; missing code for finding the headline (beginning-of-line) (forward-word 1) (backward-word 1) (if (looking-at "DONE") (progn (kill-word 1) (delete-char 1)))) (setq org-after-todo-state-change-hook (quote (org-clock-out-if-current sr-org-todo-toggle-to-started my-delete-todo-keyword))) -- Sebastian Rose, Hanover, Germany Phone: +49 173 83 93 417 Mail.: sebatian_rose@gmx.de, s.rose@emma-stil.de