From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: org-todo-keywords prompt for note Date: Tue, 01 Sep 2009 18:33:43 +0200 Message-ID: <87ab1e4obc.fsf@gmx.de> References: <211769420909010847i1e76123fk9694e2a440b30f71@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiWIp-0007h9-CK for emacs-orgmode@gnu.org; Tue, 01 Sep 2009 12:33:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiWIk-0007cc-Vh for emacs-orgmode@gnu.org; Tue, 01 Sep 2009 12:33:50 -0400 Received: from [199.232.76.173] (port=39997 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiWIk-0007cM-Jt for emacs-orgmode@gnu.org; Tue, 01 Sep 2009 12:33:46 -0400 Received: from mail.gmx.net ([213.165.64.20]:35452) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MiWIk-0004Nc-1f for emacs-orgmode@gnu.org; Tue, 01 Sep 2009 12:33:46 -0400 In-Reply-To: <211769420909010847i1e76123fk9694e2a440b30f71@mail.gmail.com> (Nathan Neff's message of "Tue, 1 Sep 2009 10:47:01 -0500") 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 Nathan Neff 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