From: Sebastian Rose <sebastian_rose@gmx.de>
To: Nathan Neff <nathan.neff@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-todo-keywords prompt for note
Date: Tue, 01 Sep 2009 18:38:19 +0200 [thread overview]
Message-ID: <8763c24o3o.fsf@gmx.de> (raw)
In-Reply-To: <87ab1e4obc.fsf@gmx.de> (Sebastian Rose's message of "Tue, 01 Sep 2009 18:33:43 +0200")
> Nathan Neff <nathan.neff@gmail.com> 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@)")))
next prev parent reply other threads:[~2009-09-01 16:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-01 15:47 org-todo-keywords prompt for note Nathan Neff
2009-09-01 16:33 ` Sebastian Rose
2009-09-01 16:38 ` Sebastian Rose [this message]
2009-09-01 16:56 ` Sebastian Rose
2009-09-02 10:47 ` Carsten Dominik
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=8763c24o3o.fsf@gmx.de \
--to=sebastian_rose@gmx.de \
--cc=emacs-orgmode@gnu.org \
--cc=nathan.neff@gmail.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.