[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] org-todo-keywords prompt for note
From: |
Sebastian Rose |
Subject: |
Re: [Orgmode] org-todo-keywords prompt for note |
Date: |
Tue, 01 Sep 2009 18:38:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
> Nathan Neff <address@hidden> writes:
>> Hello,
>>
>> When marking an item as DONE, I would like to be able to press "n"
>> if I want to leave a note, and press "d" to just mark the item as DONE.
>>
>> I've tried using this trick:
>>
>> (setq org-todo-keywords '(
>> (sequence "TODO(t)" "STARTED(s)" "|" "DONE(n@/@)" "DONE(d!)")
>>
>>
>> I also tried this:
>>
>> (sequence "TODO(t)" "STARTED(s)" "|" "DONE(n@/@)")
>> (sequence "TODO(t)" "STARTED(s)" "|" "DONE(d!)")
>>
>> But neither kludge would prompt me for a note when I press Ctrl-C Ctrl-T n
>>
>> I realize this is picky, because I can manually insert a note before marking
>> an item as DONE. I'm just wondering if anyone knows a way that two
>> shortcuts can be defined for the same TODO state, with one of the
>> shortcuts prompting for a note.
>
>
>
>
> (setq org-todo-keywords (quote ("TODO" "STARTED" "|" "DONE@")))
>
> works here. Note, that org chooses the first letter of the todo keyword
> in lowercase automatically if you press C-c C-t, so there's no need for
> "TODO(t)" et al.
I just found I use the trick including the keydefinition in my own setup
:) which is superfluous:
(setq org-todo-keywords (quote ("TODO" "STARTED" "|" "DONE" "CANCELED(c@)")))