emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Wanrong Lin <wanrong.lin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Logging state change with timestamp, but without note
Date: Thu, 14 Feb 2008 10:09:53 -0500	[thread overview]
Message-ID: <47B459C1.6000606@gmail.com> (raw)
In-Reply-To: <FC997E4B-70AD-4D95-9C8A-F1A4805F2C15@science.uva.nl>


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 <wanrong.lin@gmail.com> 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.
>>
>> <org.el.patch>
>> -- 
>> Bastien
>

  parent reply	other threads:[~2008-02-14 15:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-14  1:47 Logging state change with timestamp, but without note Wanrong Lin
2008-02-14  2:53 ` Bastien Guerry
2008-02-14 12:50   ` Carsten Dominik
2008-02-14 13:43     ` Bastien
2008-02-14 13:46       ` Carsten Dominik
2008-02-14 13:49       ` Carsten Dominik
2008-02-14 15:09     ` Wanrong Lin [this message]
2008-02-14 16:19       ` Carsten Dominik
2008-02-15 10:14     ` Carsten Dominik
2008-02-15 16:17       ` Wanrong Lin
2008-02-15 16:34         ` Bernt Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47B459C1.6000606@gmail.com \
    --to=wanrong.lin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).