From: Jose Robins <jorobins@yahoo.com>
To: Sebastian Rose <sebastian_rose@gmx.de>
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 09:00:20 -0700 [thread overview]
Message-ID: <47F65094.9010908@yahoo.com> (raw)
In-Reply-To: <87od8p4s4a.fsf@kassiopeya.localdomain>
[-- Attachment #1.1: Type: text/plain, Size: 980 bytes --]
Sebastian Rose wrote:
> Yes, sorry - was just trying this on in exactly this moment :-/
>
> The clocking works too, but then the TODO - STARTED - DONE is added
> automatically.
Sorry Sebastian, did not exactly catch your point about "clocking works
too". For me, if I try to clock in/out on a regular checkbox list item,
clocking starts on it's parent and NOT on the checkbox list item.
> 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)))
>
>
>
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 1401 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2008-04-04 16:03 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
2008-04-04 16:00 ` Jose Robins [this message]
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=47F65094.9010908@yahoo.com \
--to=jorobins@yahoo.com \
--cc=emacs-orgmode@gnu.org \
--cc=sebastian_rose@gmx.de \
/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.