all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Including state-changed headings in the agenda
@ 2008-10-29 19:17 Hsiu-Khuern Tang
  2008-10-31 17:02 ` Matthew Lundin
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Hsiu-Khuern Tang @ 2008-10-29 19:17 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hi,

Let's say I have a repeating task like this:

** TODO Do this
   SCHEDULED: <2008-10-29 Wed +1w>

Cycling to a done state will track the done time and increment the scheduled
time according to the repeater:

** TODO Do this
   - State "DONE"       [2008-10-29 Wed 10:44]
   SCHEDULED: <2008-11-05 Wed +1w>

How can I display such items in the daily agenda?  Turning on log mode will
only display CLOSED items, but since the above task is not closed, it doesn't
show up.

Thanks!

-- 
Best,
Hsiu-Khuern.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-10-29 19:17 Including state-changed headings in the agenda Hsiu-Khuern Tang
@ 2008-10-31 17:02 ` Matthew Lundin
  2008-10-31 17:42   ` Bernt Hansen
  2008-11-04  8:47 ` Carsten Dominik
  2008-11-06  8:04 ` Carsten Dominik
  2 siblings, 1 reply; 14+ messages in thread
From: Matthew Lundin @ 2008-10-31 17:02 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org


Hsiu-Khuern Tang <hsiu-khuern.tang@hp.com> writes:

> Hi,
>
> Let's say I have a repeating task like this:
>
> ** TODO Do this
>    SCHEDULED: <2008-10-29 Wed +1w>
>
> Cycling to a done state will track the done time and increment the scheduled
> time according to the repeater:
>
> ** TODO Do this
>    - State "DONE"       [2008-10-29 Wed 10:44]
>    SCHEDULED: <2008-11-05 Wed +1w>
>
> How can I display such items in the daily agenda?  Turning on log mode will
> only display CLOSED items, but since the above task is not closed, it doesn't
> show up.

When I have a recurring task, it looks like this:

* TODO Do this
  SCHEDULED: <2008-11-01 Sat +1d> 
  - State "DONE"       [2008-10-31 Fri 12:00]

In other words, the "Done" lines are added beneath the SCHEDULED line.
As long as the SCHEDULED timestamp directly follows the TODO item, it
should show up in the agenda.

Did you perhaps accidentally move the SCHEDULED line?

Matt Lundin

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-10-31 17:02 ` Matthew Lundin
@ 2008-10-31 17:42   ` Bernt Hansen
  2008-10-31 19:29     ` mdl
  0 siblings, 1 reply; 14+ messages in thread
From: Bernt Hansen @ 2008-10-31 17:42 UTC (permalink / raw)
  To: Matthew Lundin; +Cc: emacs-orgmode@gnu.org

Matthew Lundin <mdl@imapmail.org> writes:

> Hsiu-Khuern Tang <hsiu-khuern.tang@hp.com> writes:
>
>> Hi,
>>
>> Let's say I have a repeating task like this:
>>
>> ** TODO Do this
>>    SCHEDULED: <2008-10-29 Wed +1w>
>>
>> Cycling to a done state will track the done time and increment the scheduled
>> time according to the repeater:
>>
>> ** TODO Do this
>>    - State "DONE"       [2008-10-29 Wed 10:44]
>>    SCHEDULED: <2008-11-05 Wed +1w>
>>
>> How can I display such items in the daily agenda?  Turning on log mode will
>> only display CLOSED items, but since the above task is not closed, it doesn't
>> show up.
>
> When I have a recurring task, it looks like this:
>
> * TODO Do this
>   SCHEDULED: <2008-11-01 Sat +1d> 
>   - State "DONE"       [2008-10-31 Fri 12:00]
>
> In other words, the "Done" lines are added beneath the SCHEDULED line.
> As long as the SCHEDULED timestamp directly follows the TODO item, it
> should show up in the agenda.
>
> Did you perhaps accidentally move the SCHEDULED line?

It shows up no matter where the schedule line is in the body of the
task.

However I think what Hsiu-Khuern Tang is asking is that _completed_ logs
show up in the agenda (ie the fact that it was marked DONE yesterday).

As far as I know you can't do that.  When you mark a repeating task done
it just reschedules to the future and there is no viewable log in the
agenda that you did it previously (unless you clock time against it)

-Bernt

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-10-31 17:42   ` Bernt Hansen
@ 2008-10-31 19:29     ` mdl
  2008-10-31 20:23       ` Hsiu-Khuern Tang
  0 siblings, 1 reply; 14+ messages in thread
From: mdl @ 2008-10-31 19:29 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode@gnu.org

Bernt Hansen <bernt@norang.ca> writes:
>
> However I think what Hsiu-Khuern Tang is asking is that _completed_ logs
> show up in the agenda (ie the fact that it was marked DONE yesterday).
>
> As far as I know you can't do that.  When you mark a repeating task done
> it just reschedules to the future and there is no viewable log in the
> agenda that you did it previously (unless you clock time against it)
>
> -Bernt

Sorry, I misunderstood the question. 

Yes, as far as I'm aware, the "DONE" lines don't show up in the log.

As Bernt suggested, I imagine you could write a function to clock the
items when you switch them to done. That way they'd show up in the
log.

-Matt

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Re: Including state-changed headings in the agenda
  2008-10-31 19:29     ` mdl
@ 2008-10-31 20:23       ` Hsiu-Khuern Tang
  0 siblings, 0 replies; 14+ messages in thread
From: Hsiu-Khuern Tang @ 2008-10-31 20:23 UTC (permalink / raw)
  To: emacs-orgmode

* On Fri 07:29PM +0000, 31 Oct 2008, mdl@imapmail.org (mdl@imapmail.org) wrote:
> Bernt Hansen <bernt@norang.ca> writes:
> >
> > However I think what Hsiu-Khuern Tang is asking is that _completed_ logs
> > show up in the agenda (ie the fact that it was marked DONE yesterday).
> >
> > As far as I know you can't do that.  When you mark a repeating task done
> > it just reschedules to the future and there is no viewable log in the
> > agenda that you did it previously (unless you clock time against it)
> >
> > -Bernt
> 
> Sorry, I misunderstood the question.
> 
> Yes, as far as I'm aware, the "DONE" lines don't show up in the log.

Yes, that's what I meant.

> As Bernt suggested, I imagine you could write a function to clock the
> items when you switch them to done. That way they'd show up in the
> log.

Thanks for both of you for suggesting the use of clocked tasks.  I did briefly
consider it, but I think it is too heavy-duty for my current use of Org-mode.

I suppose I can always use a keyword search for such lines.  It shouldn't be
too hard to find a regexp that matches both "DONE" and the timestamp.

-- 
Best,
Hsiu-Khuern.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-10-29 19:17 Including state-changed headings in the agenda Hsiu-Khuern Tang
  2008-10-31 17:02 ` Matthew Lundin
@ 2008-11-04  8:47 ` Carsten Dominik
  2008-11-04 13:09   ` Bernt Hansen
                     ` (2 more replies)
  2008-11-06  8:04 ` Carsten Dominik
  2 siblings, 3 replies; 14+ messages in thread
From: Carsten Dominik @ 2008-11-04  8:47 UTC (permalink / raw)
  To: Hsiu-Khuern Tang; +Cc: emacs-orgmode@gnu.org

Are there people who would find it useful if log-mode in the
agenda showed all logged state changes?  Might get crowded - but
it is certainly possible to implement that.

- Carsten

On Oct 29, 2008, at 8:17 PM, Hsiu-Khuern Tang wrote:

> Hi,
>
> Let's say I have a repeating task like this:
>
> ** TODO Do this
>   SCHEDULED: <2008-10-29 Wed +1w>
>
> Cycling to a done state will track the done time and increment the  
> scheduled
> time according to the repeater:
>
> ** TODO Do this
>   - State "DONE"       [2008-10-29 Wed 10:44]
>   SCHEDULED: <2008-11-05 Wed +1w>
>
> How can I display such items in the daily agenda?  Turning on log  
> mode will
> only display CLOSED items, but since the above task is not closed,  
> it doesn't
> show up.
>
> Thanks!
>
> -- 
> Best,
> Hsiu-Khuern.
>
>
> _______________________________________________
> 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] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-11-04  8:47 ` Carsten Dominik
@ 2008-11-04 13:09   ` Bernt Hansen
  2008-11-04 16:52     ` Carsten Dominik
  2008-11-04 19:00   ` Hsiu-Khuern Tang
  2008-11-05 16:05   ` Matthew Lundin
  2 siblings, 1 reply; 14+ messages in thread
From: Bernt Hansen @ 2008-11-04 13:09 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode@gnu.org

Carsten Dominik <dominik@science.uva.nl> writes:

> Are there people who would find it useful if log-mode in the
> agenda showed all logged state changes?  Might get crowded - but
> it is certainly possible to implement that.

I'm not sure if that would be useful or not for me... but it would be
interesting :)  It should probably be controlled by an option so you can
keep the current behaviour if your want.

Just my 2 cents,

Bernt

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-11-04 13:09   ` Bernt Hansen
@ 2008-11-04 16:52     ` Carsten Dominik
  2008-11-04 17:23       ` Bernt Hansen
  0 siblings, 1 reply; 14+ messages in thread
From: Carsten Dominik @ 2008-11-04 16:52 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode@gnu.org


On Nov 4, 2008, at 2:09 PM, Bernt Hansen wrote:

> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> Are there people who would find it useful if log-mode in the
>> agenda showed all logged state changes?  Might get crowded - but
>> it is certainly possible to implement that.
>
> I'm not sure if that would be useful or not for me... but it would be
> interesting :)  It should probably be controlled by an option so you  
> can
> keep the current behaviour if your want.

Have I EVER made such a change without making it configurable? :-)

- Carsten

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-11-04 16:52     ` Carsten Dominik
@ 2008-11-04 17:23       ` Bernt Hansen
  0 siblings, 0 replies; 14+ messages in thread
From: Bernt Hansen @ 2008-11-04 17:23 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode@gnu.org

Carsten Dominik <dominik@science.uva.nl> writes:

> On Nov 4, 2008, at 2:09 PM, Bernt Hansen wrote:
>
>> Carsten Dominik <dominik@science.uva.nl> writes:
>>
>>> Are there people who would find it useful if log-mode in the
>>> agenda showed all logged state changes?  Might get crowded - but
>>> it is certainly possible to implement that.
>>
>> I'm not sure if that would be useful or not for me... but it would be
>> interesting :)  It should probably be controlled by an option so you
>> can
>> keep the current behaviour if your want.
>
> Have I EVER made such a change without making it configurable? :-)

Not that I can recall :)

-Bernt

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-11-04  8:47 ` Carsten Dominik
  2008-11-04 13:09   ` Bernt Hansen
@ 2008-11-04 19:00   ` Hsiu-Khuern Tang
  2008-11-05 16:05   ` Matthew Lundin
  2 siblings, 0 replies; 14+ messages in thread
From: Hsiu-Khuern Tang @ 2008-11-04 19:00 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

* On Tue 08:47AM +0000, 04 Nov 2008, Carsten Dominik (dominik@science.uva.nl) wrote:
> Are there people who would find it useful if log-mode in the
> agenda showed all logged state changes?  Might get crowded - but
> it is certainly possible to implement that.

Since I started this thread, you can count me as a "yes" vote :)

I'm still experimenting with different ways of organizing using Org-mode, so I
can't say for sure I'll use this feature in the end.  I think it's nice to be
able to see state changes without using full-blown clocking.  Personally, my
daily agenda won't get too crowded with these entries since I don't get that
many tasks done in a day, but that's no fault of Org-mode :)

Thanks for being so receptive to users' wishlists!

-- 
Best,
Hsiu-Khuern.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-11-04  8:47 ` Carsten Dominik
  2008-11-04 13:09   ` Bernt Hansen
  2008-11-04 19:00   ` Hsiu-Khuern Tang
@ 2008-11-05 16:05   ` Matthew Lundin
  2008-11-05 16:58     ` Dennis Groves
  2 siblings, 1 reply; 14+ messages in thread
From: Matthew Lundin @ 2008-11-05 16:05 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode@gnu.org


Carsten Dominik <dominik@science.uva.nl> writes:

> Are there people who would find it useful if log-mode in the
> agenda showed all logged state changes?  Might get crowded - but
> it is certainly possible to implement that.
>
> - Carsten

Yes, I would like this as an option. It would help me keep track of
how well I've been doing on my daily habits (exercising and such).

- Matt

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-11-05 16:05   ` Matthew Lundin
@ 2008-11-05 16:58     ` Dennis Groves
  0 siblings, 0 replies; 14+ messages in thread
From: Dennis Groves @ 2008-11-05 16:58 UTC (permalink / raw)
  To: Matthew Lundin, Carsten Dominik; +Cc: emacs-orgmode@gnu.org

Agree. I use org-mode to track my diet and exercise.
If you could do:

#   -*- mode: org.log

In my exercise and diet file that would be awesome!

Dennis


On 05/11/2008 16:05, "Matthew Lundin" <mdl@imapmail.org> wrote:

> 
> Carsten Dominik <dominik@science.uva.nl> writes:
> 
>> Are there people who would find it useful if log-mode in the
>> agenda showed all logged state changes?  Might get crowded - but
>> it is certainly possible to implement that.
>> 
>> - Carsten
> 
> Yes, I would like this as an option. It would help me keep track of
> how well I've been doing on my daily habits (exercising and such).
> 
> - Matt
> 
> 
> _______________________________________________
> 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] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-10-29 19:17 Including state-changed headings in the agenda Hsiu-Khuern Tang
  2008-10-31 17:02 ` Matthew Lundin
  2008-11-04  8:47 ` Carsten Dominik
@ 2008-11-06  8:04 ` Carsten Dominik
  2008-11-07 19:58   ` Hsiu-Khuern Tang
  2 siblings, 1 reply; 14+ messages in thread
From: Carsten Dominik @ 2008-11-06  8:04 UTC (permalink / raw)
  To: Hsiu-Khuern Tang; +Cc: emacs-orgmode@gnu.org


On Oct 29, 2008, at 8:17 PM, Hsiu-Khuern Tang wrote:

> Hi,
>
> Let's say I have a repeating task like this:
>
> ** TODO Do this
>   SCHEDULED: <2008-10-29 Wed +1w>
>
> Cycling to a done state will track the done time and increment the  
> scheduled
> time according to the repeater:
>
> ** TODO Do this
>   - State "DONE"       [2008-10-29 Wed 10:44]
>   SCHEDULED: <2008-11-05 Wed +1w>
>
> How can I display such items in the daily agenda?  Turning on log  
> mode will
> only display CLOSED items, but since the above task is not closed,  
> it doesn't
> show up.

This is now possible.  To do it just for a single view,
press `C-u l' instead of `l' in the daily/weekly agenda.

If you like what you see and want this always to be present when you  
turn on log mode, customize the variable `org-agenda-log-mode-items'.

Now, if you finish only ones task during a day, but with several state  
changes, you can feel very productive already :-)

HTH

- Carsten

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Including state-changed headings in the agenda
  2008-11-06  8:04 ` Carsten Dominik
@ 2008-11-07 19:58   ` Hsiu-Khuern Tang
  0 siblings, 0 replies; 14+ messages in thread
From: Hsiu-Khuern Tang @ 2008-11-07 19:58 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

* On Thu 08:04AM +0000, 06 Nov 2008, Carsten Dominik (dominik@science.uva.nl) wrote:
> 
> On Oct 29, 2008, at 8:17 PM, Hsiu-Khuern Tang wrote:
> 
> > Hi,
> >
> > Let's say I have a repeating task like this:
> >
> > ** TODO Do this
> >   SCHEDULED: <2008-10-29 Wed +1w>
> >
> > Cycling to a done state will track the done time and increment the
> > scheduled
> > time according to the repeater:
> >
> > ** TODO Do this
> >   - State "DONE"       [2008-10-29 Wed 10:44]
> >   SCHEDULED: <2008-11-05 Wed +1w>
> >
> > How can I display such items in the daily agenda?  Turning on log
> > mode will
> > only display CLOSED items, but since the above task is not closed,
> > it doesn't
> > show up.
> 
> This is now possible.  To do it just for a single view,
> press `C-u l' instead of `l' in the daily/weekly agenda.
> 
> If you like what you see and want this always to be present when you
> turn on log mode, customize the variable `org-agenda-log-mode-items'.
> 
> Now, if you finish only ones task during a day, but with several state
> changes, you can feel very productive already :-)
> 
> HTH

Yes, it does help!  I tested this using the development version, and things
work just as described.  I now have org-agenda-log-mode-items configured to
(closed state).

Thank you very much for implementing this!

-- 
Best,
Hsiu-Khuern.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-11-07 20:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29 19:17 Including state-changed headings in the agenda Hsiu-Khuern Tang
2008-10-31 17:02 ` Matthew Lundin
2008-10-31 17:42   ` Bernt Hansen
2008-10-31 19:29     ` mdl
2008-10-31 20:23       ` Hsiu-Khuern Tang
2008-11-04  8:47 ` Carsten Dominik
2008-11-04 13:09   ` Bernt Hansen
2008-11-04 16:52     ` Carsten Dominik
2008-11-04 17:23       ` Bernt Hansen
2008-11-04 19:00   ` Hsiu-Khuern Tang
2008-11-05 16:05   ` Matthew Lundin
2008-11-05 16:58     ` Dennis Groves
2008-11-06  8:04 ` Carsten Dominik
2008-11-07 19:58   ` Hsiu-Khuern Tang

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.