emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Tom <adatgyujto@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Turning on repeat logging for a subtree only
Date: Wed, 20 Apr 2011 19:39:02 -0400	[thread overview]
Message-ID: <87sjtcqyqx.fsf@fastmail.fm> (raw)
In-Reply-To: <loom.20110420T105315-449@post.gmane.org> (Tom's message of "Wed, 20 Apr 2011 08:59:53 +0000 (UTC)")

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

      reply	other threads:[~2011-04-20 23:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20  8:59 Turning on repeat logging for a subtree only Tom
2011-04-20 23:39 ` Matt Lundin [this message]

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=87sjtcqyqx.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=adatgyujto@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).