From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-todo-keywords prompt for note Date: Wed, 2 Sep 2009 12:47:06 +0200 Message-ID: References: <211769420909010847i1e76123fk9694e2a440b30f71@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MinMx-0004BU-PK for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 06:47:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MinMt-00046D-3e for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 06:47:15 -0400 Received: from [199.232.76.173] (port=34426 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MinMs-00045w-R7 for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 06:47:10 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:40609) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MinMs-0003Lh-CJ for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 06:47:10 -0400 Received: by ewy7 with SMTP id 7so598054ewy.31 for ; Wed, 02 Sep 2009 03:47:09 -0700 (PDT) In-Reply-To: <211769420909010847i1e76123fk9694e2a440b30f71@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nathan Neff Cc: emacs-orgmode@gnu.org 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