emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Scheduled date in closing note for repeated task
@ 2009-07-07 15:33 Michaël Parienti
  2009-07-08  5:10 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Michaël Parienti @ 2009-07-07 15:33 UTC (permalink / raw)
  To: Org Mode


Hi,

I use a lot of repeated tasks, daily mostly, for which I want to log
the result as a note. So I use the "lognoterepeat" variable. But the
note doesn't contain the date of the task, just the date of when I
mark the task as done.

Example:

** TODO Did it rain this day?
  SCHEDULED: <2009-07-06 Mon +1d> 
   - State "DONE"       from "TODO"       [2009-07-07 Tue 17:27] \\
     No
   - State "DONE"       from "TODO"       [2009-07-07 Tue 17:23] \\
     Yes

I would like to have:

** TODO Did it rain this day?
   SCHEDULED: <2009-07-06 Mon +1d> 
   - State "DONE"       from "TODO"       [2009-07-05 Sun] \\
     No
   - State "DONE"       from "TODO"       [2009-07-04 Sat] \\
     Yes

Is there a way to have the desired result with an org variable? 

Thanks in advance


-- 
Michaël Parienti
gpg:        D4C8 F73D A000 71C7 44EF  27E6 8982 4991 7126 3CE3

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

* Re: Scheduled date in closing note for repeated task
  2009-07-07 15:33 Scheduled date in closing note for repeated task Michaël Parienti
@ 2009-07-08  5:10 ` Carsten Dominik
  2009-07-08  5:39   ` Michaël Parienti
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2009-07-08  5:10 UTC (permalink / raw)
  To: Michaël Parienti; +Cc: Org Mode


On Jul 7, 2009, at 5:33 PM, Michaël Parienti wrote:

>
> Hi,
>
> I use a lot of repeated tasks, daily mostly, for which I want to log
> the result as a note. So I use the "lognoterepeat" variable. But the
> note doesn't contain the date of the task, just the date of when I
> mark the task as done.
>
> Example:
>
> ** TODO Did it rain this day?
>  SCHEDULED: <2009-07-06 Mon +1d>
>   - State "DONE"       from "TODO"       [2009-07-07 Tue 17:27] \\
>     No
>   - State "DONE"       from "TODO"       [2009-07-07 Tue 17:23] \\
>     Yes
>
> I would like to have:
>
> ** TODO Did it rain this day?
>   SCHEDULED: <2009-07-06 Mon +1d>
>   - State "DONE"       from "TODO"       [2009-07-05 Sun] \\
>     No
>   - State "DONE"       from "TODO"       [2009-07-04 Sat] \\
>     Yes
>
> Is there a way to have the desired result with an org variable?

This is currently not possible.  The date in the state change line
is supposed to be the date when you acted, snd I would not think it
is a good idea to change that.  However, we might add a hook that can  
be used to pre-insert some stuff into the note buffer, and that hooks  
could
be used to find and add the scheduled date....  Would that make sense?

- Carsten

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

* Re: Scheduled date in closing note for repeated task
  2009-07-08  5:10 ` Carsten Dominik
@ 2009-07-08  5:39   ` Michaël Parienti
  0 siblings, 0 replies; 3+ messages in thread
From: Michaël Parienti @ 2009-07-08  5:39 UTC (permalink / raw)
  To: emacs-orgmode

On Wed, 8 Jul 2009 07:10:20 +0200
Carsten Dominik <carsten.dominik@gmail.com> wrote:

> > I use a lot of repeated tasks, daily mostly, for which I want to log
> > the result as a note. So I use the "lognoterepeat" variable. But the
> > note doesn't contain the date of the task, just the date of when I
> > mark the task as done.
> >
> > I would like to have:
> >
> > ** TODO Did it rain this day?
> >   SCHEDULED: <2009-07-06 Mon +1d>
> >   - State "DONE"       from "TODO"       [2009-07-05 Sun] \\
> >     No
> >   - State "DONE"       from "TODO"       [2009-07-04 Sat] \\
> >     Yes
> >
> > Is there a way to have the desired result with an org variable?  
> 
> This is currently not possible.  The date in the state change line
> is supposed to be the date when you acted, snd I would not think it
> is a good idea to change that. 

Of course org-mode must not change its default behavior, but I was
thinking about an option that can be set by entry or by file.


> However, we might add a hook that
> can be used to pre-insert some stuff into the note buffer, and that
> hooks could
> be used to find and add the scheduled date....  Would that make sense?

A hook will be fine too. I will learn to use them :-)

Thanks 

-- 
Michaël Parienti
gpg:        D4C8 F73D A000 71C7 44EF  27E6 8982 4991 7126 3CE3

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

end of thread, other threads:[~2009-07-08  5:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-07 15:33 Scheduled date in closing note for repeated task Michaël Parienti
2009-07-08  5:10 ` Carsten Dominik
2009-07-08  5:39   ` Michaël Parienti

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).