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:56:22 +0200 Message-ID: <871vmq4n9l.fsf@gmx.de> References: <211769420909010847i1e76123fk9694e2a440b30f71@mail.gmail.com> <87ab1e4obc.fsf@gmx.de> 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 1MiWem-0007U5-Dj for emacs-orgmode@gnu.org; Tue, 01 Sep 2009 12:56:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiWeh-0007IK-A0 for emacs-orgmode@gnu.org; Tue, 01 Sep 2009 12:56:31 -0400 Received: from [199.232.76.173] (port=35648 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiWeh-0007Hy-58 for emacs-orgmode@gnu.org; Tue, 01 Sep 2009 12:56:27 -0400 Received: from mail.gmx.net ([213.165.64.20]:54904) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MiWef-0001tk-6x for emacs-orgmode@gnu.org; Tue, 01 Sep 2009 12:56:25 -0400 In-Reply-To: <87ab1e4obc.fsf@gmx.de> (Sebastian Rose's message of "Tue, 01 Sep 2009 18:33:43 +0200") 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 Hi Nathan, Sorry for my typo (see below). Sebastian Rose writes: > 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@"))) Pardon me, this should be: (setq org-todo-keywords (quote ("TODO" "STARTED" "|" "DONE(@)"))) I found you'll have to close and open the Org file in question again to make it work. BTW: What's your value of the variable `org-todo-interpretation' ? Maybe add these lines to your setup: (setq org-todo-interpretation (quote sequence)) (setq org-todo-keywords (quote ("TODO" "STARTED" "|" "DONE(@)"))) HTH Sebastian