emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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:33:43 +0200	[thread overview]
Message-ID: <87ab1e4obc.fsf@gmx.de> (raw)
In-Reply-To: <211769420909010847i1e76123fk9694e2a440b30f71@mail.gmail.com> (Nathan Neff's message of "Tue, 1 Sep 2009 10:47:01 -0500")

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.



  Sebastian

  reply	other threads:[~2009-09-01 16:33 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 [this message]
2009-09-01 16:38   ` Sebastian Rose
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ab1e4obc.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).