emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Bastien Guerry <bzg@altern.org>
Cc: Wanrong Lin <wrglin@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Logging state change with timestamp, but without note
Date: Thu, 14 Feb 2008 13:50:31 +0100	[thread overview]
Message-ID: <FC997E4B-70AD-4D95-9C8A-F1A4805F2C15@science.uva.nl> (raw)
In-Reply-To: <87prv0ckos.fsf@bzg.ath.cx>

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

  reply	other threads:[~2008-02-14 12:50 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 [this message]
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
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=FC997E4B-70AD-4D95-9C8A-F1A4805F2C15@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=wrglin@gmail.com \
    /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).