* Re: Logging state change with timestamp, but without note
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
2008-02-15 10:14 ` Carsten Dominik
2 siblings, 2 replies; 11+ messages in thread
From: Bastien @ 2008-02-14 13:43 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Wanrong Lin, emacs-orgmode
Carsten Dominik <dominik@science.uva.nl> writes:
> 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.
Yes, my patch was just doing part of the job. I wanted to check whether
such a workaround would be hard to implement.
> 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.
Indeed.
Do you want me to work on this?
BTW I think letting "%!" in `org-log-note-headings' would still be
useful.
For example, if someone uses "#+STARTUP: lognotedone", then any switch
to a DONE state will require a note, no matter whether there is a "@"
cookie appended at the end of the DONE state or not. In this case, I
guess some people would find it useful to put "%!" in the 'done cell of
`org-log-note-headings'.
What do you think? Would that be too much or a bit redundant?
--
Bastien
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Logging state change with timestamp, but without note
2008-02-14 13:43 ` Bastien
@ 2008-02-14 13:46 ` Carsten Dominik
2008-02-14 13:49 ` Carsten Dominik
1 sibling, 0 replies; 11+ messages in thread
From: Carsten Dominik @ 2008-02-14 13:46 UTC (permalink / raw)
To: Bastien; +Cc: Wanrong Lin, emacs-orgmode
On Feb 14, 2008, at 2:43 PM, Bastien wrote:
> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> 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.
>
> Yes, my patch was just doing part of the job. I wanted to check
> whether
> such a workaround would be hard to implement.
>
>> 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.
>
> Indeed.
>
> Do you want me to work on this?
>
> BTW I think letting "%!" in `org-log-note-headings' would still be
> useful.
>
> For example, if someone uses "#+STARTUP: lognotedone", then any switch
> to a DONE state will require a note, no matter whether there is a "@"
> cookie appended at the end of the DONE state or not. In this case, I
> guess some people would find it useful to put "%!" in the 'done cell
> of
> `org-log-note-headings'.
>
> What do you think? Would that be too much or a bit redundant?
I guess a different way would be
#+STARTUP: logstate
in analogy to logdone?
- Carsten
>
>
> --
> Bastien
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Logging state change with timestamp, but without note
2008-02-14 13:43 ` Bastien
2008-02-14 13:46 ` Carsten Dominik
@ 2008-02-14 13:49 ` Carsten Dominik
1 sibling, 0 replies; 11+ messages in thread
From: Carsten Dominik @ 2008-02-14 13:49 UTC (permalink / raw)
To: Bastien; +Cc: Wanrong Lin, emacs-orgmode
On Feb 14, 2008, at 2:43 PM, Bastien wrote:
> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> 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.
>
> Yes, my patch was just doing part of the job. I wanted to check
> whether
> such a workaround would be hard to implement.
>
>> 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.
>
> Indeed.
>
> Do you want me to work on this?
Well let me do this, I know this code well. To be honest, I'd much
rather have you focus on the exporter.... :-)
>
>
> BTW I think letting "%!" in `org-log-note-headings' would still be
> useful.
>
> For example, if someone uses "#+STARTUP: lognotedone", then any switch
> to a DONE state will require a note, no matter whether there is a "@"
> cookie appended at the end of the DONE state or not. In this case, I
> guess some people would find it useful to put "%!" in the 'done cell
> of
> `org-log-note-headings'.
>
> What do you think? Would that be too much or a bit redundant?
>
> --
> Bastien
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Logging state change with timestamp, but without note
2008-02-14 12:50 ` Carsten Dominik
2008-02-14 13:43 ` Bastien
@ 2008-02-14 15:09 ` Wanrong Lin
2008-02-14 16:19 ` Carsten Dominik
2008-02-15 10:14 ` Carsten Dominik
2 siblings, 1 reply; 11+ messages in thread
From: Wanrong Lin @ 2008-02-14 15:09 UTC (permalink / raw)
To: emacs-orgmode
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
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Logging state change with timestamp, but without note
2008-02-14 15:09 ` Wanrong Lin
@ 2008-02-14 16:19 ` Carsten Dominik
0 siblings, 0 replies; 11+ messages in thread
From: Carsten Dominik @ 2008-02-14 16:19 UTC (permalink / raw)
To: Wanrong Lin; +Cc: emacs-orgmode
On Feb 14, 2008, at 4:09 PM, Wanrong Lin wrote:
>
> 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.
Yes, obviously.
- Carsten
>
>
> 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
>>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Logging state change with timestamp, but without note
2008-02-14 12:50 ` Carsten Dominik
2008-02-14 13:43 ` Bastien
2008-02-14 15:09 ` Wanrong Lin
@ 2008-02-15 10:14 ` Carsten Dominik
2008-02-15 16:17 ` Wanrong Lin
2 siblings, 1 reply; 11+ messages in thread
From: Carsten Dominik @ 2008-02-15 10:14 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode, Wanrong Lin
This is in the git repo now.
- Carsten
On Feb 14, 2008, at 1:50 PM, 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
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Logging state change with timestamp, but without note
2008-02-15 10:14 ` Carsten Dominik
@ 2008-02-15 16:17 ` Wanrong Lin
2008-02-15 16:34 ` Bernt Hansen
0 siblings, 1 reply; 11+ messages in thread
From: Wanrong Lin @ 2008-02-15 16:17 UTC (permalink / raw)
Cc: emacs-orgmode
Thanks a lot. I have not got time to learn git yet (I was told it is
hard to get it working under windows), so I will wait for the next
release to try the feature.
Wanrong
Carsten Dominik wrote:
> This is in the git repo now.
>
> - Carsten
>
> On Feb 14, 2008, at 1:50 PM, 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
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 11+ messages in thread