From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Logging state change with timestamp, but without note Date: Thu, 14 Feb 2008 13:50:31 +0100 Message-ID: References: <47B39DB7.2020706@gmail.com> <87prv0ckos.fsf@bzg.ath.cx> Mime-Version: 1.0 (Apple Message framework v919.2) 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 1JPdXz-0008VE-62 for emacs-orgmode@gnu.org; Thu, 14 Feb 2008 07:50:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPdXx-0008Uy-JQ for emacs-orgmode@gnu.org; Thu, 14 Feb 2008 07:50:38 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPdXx-0008Uv-GW for emacs-orgmode@gnu.org; Thu, 14 Feb 2008 07:50:37 -0500 Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JPdXw-0003R8-W6 for emacs-orgmode@gnu.org; Thu, 14 Feb 2008 07:50:37 -0500 Received: by ug-out-1314.google.com with SMTP id a2so1088172ugf.48 for ; Thu, 14 Feb 2008 04:50:35 -0800 (PST) In-Reply-To: <87prv0ckos.fsf@bzg.ath.cx> 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: Bastien Guerry Cc: Wanrong Lin , emacs-orgmode@gnu.org 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