From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanrong Lin Subject: Re: Logging state change with timestamp, but without note Date: Thu, 14 Feb 2008 10:09:53 -0500 Message-ID: <47B459C1.6000606@gmail.com> References: <47B39DB7.2020706@gmail.com> <87prv0ckos.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPfiu-0005AX-Dc for emacs-orgmode@gnu.org; Thu, 14 Feb 2008 10:10:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPfit-00059h-NB for emacs-orgmode@gnu.org; Thu, 14 Feb 2008 10:10:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPfit-00059W-I3 for emacs-orgmode@gnu.org; Thu, 14 Feb 2008 10:10:03 -0500 Received: from wx-out-0506.google.com ([66.249.82.235]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JPfit-0004mj-Aj for emacs-orgmode@gnu.org; Thu, 14 Feb 2008 10:10:03 -0500 Received: by wx-out-0506.google.com with SMTP id s7so388738wxc.24 for ; Thu, 14 Feb 2008 07:10:02 -0800 (PST) In-Reply-To: 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: emacs-orgmode@gnu.org Hi, Carsten and Bastien, Thanks a lot for putting a lot of thought on this. I always get more than I asked for here, which is rare in life. :-) Just one more question though: Are we going to make the "CANCELED(c!)" notation also a global option (vs per-file option) when we define the TODO states in .emacs? I almost never use per-file options (except for exporting) as I want to stick to one simple set-up everywhere. Thank you. Wanrong Carsten Dominik wrote: > Hi Bastien, > > I am not sure this i a complete enough solution. If I understand > Wanrong correctly, > I think he wants to be able to define the specific states that should > record a time. > > So I guess a complete solution would be to introduce a character like > "!", similar to the "@" we are already using to denote taking a note. So > > #+TODO: TODO(t) WAITING(w@) | DELEGATED DONE CANCELED(c!) > > would record a note when switching to WAITING, and only a time when > switching to CANCELED. > > - Carsten > > > On Feb 14, 2008, at 3:53 AM, Bastien Guerry wrote: > >> Wanrong Lin writes: >> >>> I would like to record down the time stamp when a TODO item changed its >>> state into some specific states (like "DELEGATED"), but I don't want to >>> be prompt with a window for notes. >> >> I like the idea. >> >> Here is a patch against latest org.el from git that implements something >> that might suits your needs. >> >> If you add "%!" to one of the heading in `org-log-note-headings' then >> Org doesn't pop up a new buffer, the log is filled automatically. >> >> (setq org-log-note-headings >> '((done . "CLOSING NOTE %t") >> (state . "State %-12s %t%!") >> (clock-out . "")))) >> >> Carsten, if you like it, I push it and update the manual accordingly. >> >> >> -- >> Bastien >