From: Sebastian Rose <sebastian_rose@gmx.de>
To: Jose Robins <jorobins@yahoo.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
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 [thread overview]
Message-ID: <87od8p4s4a.fsf@kassiopeya.localdomain> (raw)
In-Reply-To: <47F6443F.1030105@yahoo.com> (Jose Robins's message of "Fri, 04 Apr 2008 08:07:43 -0700")
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
next prev parent reply other threads:[~2008-04-04 15:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-04 14:57 opinion+suggestions: Check boxes on headlines and cookies to take care of this into account Jose Robins
2008-04-04 14:59 ` Jose Robins
[not found] ` <87sky14sy8.fsf@kassiopeya.localdomain>
[not found] ` <47F6443F.1030105@yahoo.com>
2008-04-04 14:22 ` Sebastian Rose [this message]
2008-04-04 16:00 ` Jose Robins
2008-04-04 14:26 ` Sebastian Rose
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87od8p4s4a.fsf@kassiopeya.localdomain \
--to=sebastian_rose@gmx.de \
--cc=emacs-orgmode@gnu.org \
--cc=jorobins@yahoo.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.