emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Nathan Neff <nathan.neff@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-todo-keywords prompt for note
Date: Wed, 2 Sep 2009 12:47:06 +0200	[thread overview]
Message-ID: <FA1CEB40-B8BF-40FD-8BA0-237951697311@gmail.com> (raw)
In-Reply-To: <211769420909010847i1e76123fk9694e2a440b30f71@mail.gmail.com>


On Sep 1, 2009, at 5:47 PM, Nathan Neff wrote:

> 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.


Hi Nathan,

I can think of two solutions:

1. Just follow Org into the notes buffer, but kill it with `C-c C-k'.

2. (setq org-treat-S-cursor-todo-selection-as-state-change nil)
    and then use S-right to switch states when you don't want notes to  
be taken.
    Unfortunately that does not work from the agenda......

HTH

- Carsten


>
> Thanks,
> --Nate
>
>
> _______________________________________________
> 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

      parent reply	other threads:[~2009-09-02 10:47 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
2009-09-01 16:56   ` Sebastian Rose
2009-09-02 10:47 ` Carsten Dominik [this message]

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=FA1CEB40-B8BF-40FD-8BA0-237951697311@gmail.com \
    --to=carsten.dominik@gmail.com \
    --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).