* Turning on repeat logging for a subtree only
@ 2011-04-20 8:59 Tom
2011-04-20 23:39 ` Matt Lundin
0 siblings, 1 reply; 2+ messages in thread
From: Tom @ 2011-04-20 8:59 UTC (permalink / raw)
To: emacs-orgmode
I generally have repeat logging off, but I want to turn it on
for a certain subtree.
I added the property LOGGING with the value logrepeat:
:PROPERTIES:
:LOGGING: logrepeat
:END:
But this doesn't seem to work, when I toogle the task state
the repeat is not logged.
I checked the source and apparently it is because logrepeat
sets org-log-repeat to 'state, but I want to it to be set to 'time.
Is there a way to set to it 'time instead of 'state?
And BTW why this 'state value is not documented in the docstring
of org-log-repeat? Isn't it a doc bug?
http://repo.or.cz/w/org-mode.git/blob/HEAD:/lisp/org.el#l2435
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Turning on repeat logging for a subtree only
2011-04-20 8:59 Turning on repeat logging for a subtree only Tom
@ 2011-04-20 23:39 ` Matt Lundin
0 siblings, 0 replies; 2+ messages in thread
From: Matt Lundin @ 2011-04-20 23:39 UTC (permalink / raw)
To: Tom; +Cc: emacs-orgmode
Tom <adatgyujto@gmail.com> writes:
> I generally have repeat logging off, but I want to turn it on
> for a certain subtree.
>
> I added the property LOGGING with the value logrepeat:
>
> :PROPERTIES:
> :LOGGING: logrepeat
> :END:
>
> But this doesn't seem to work, when I toogle the task state
> the repeat is not logged.
>
Works fine for me here. I set org-log-repeat to nil and used the
following headline:
--8<---------------cut here---------------start------------->8---
* TODO A test :hack:
SCHEDULED: <2011-04-20 Wed +1d>
:PROPERTIES:
:LOGGING: logrepeat
:END:
--8<---------------cut here---------------end--------------->8---
When I mark it DONE, I get the following results:
--8<---------------cut here---------------start------------->8---
* TODO A test :hack:
SCHEDULED: <2011-04-21 Thu +1d>
:LOGBOOK:
- State "DONE" from "TODO" [2011-04-20 Wed 18:32]
:END:
:PROPERTIES:
:LOGGING: logrepeat
:LAST_REPEAT: [2011-04-20 Wed 18:32]
:END:
--8<---------------cut here---------------end--------------->8---
> I checked the source and apparently it is because logrepeat
> sets org-log-repeat to 'state, but I want to it to be set to 'time.
>
> Is there a way to set to it 'time instead of 'state?
>
AFAICT 'time and 'state are the same thing.
Best,
Matt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-20 23:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-20 8:59 Turning on repeat logging for a subtree only Tom
2011-04-20 23:39 ` Matt Lundin
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).