emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Adding a LAST_REPEAT property without logging
@ 2017-07-10  7:01 Luke
  2017-07-10 10:14 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Luke @ 2017-07-10  7:01 UTC (permalink / raw)
  To: emacs-orgmode

I have a number of repeated tasks in my Org-mode file. As a general rule 
I don't require logging of TODO state changes (which I've disabled by 
setting org-log-repeat to nil).

However, while I don't need the full history of TODO state changes, it 
would be useful for me to know the last time that a task was repeated. 
The LAST_REPEAT property is ideal for this, but when I disable logging 
this property is no longer added/updated for any repeated tasks.

Is there an easy way to have the LAST_REPEAT property, but without a 
history of TODO state changes?

-- 
Luke

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

* Re: Adding a LAST_REPEAT property without logging
  2017-07-10  7:01 Adding a LAST_REPEAT property without logging Luke
@ 2017-07-10 10:14 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-07-10 10:14 UTC (permalink / raw)
  To: Luke; +Cc: Carsten Dominik, emacs-orgmode

Hello,

Luke <mideniko1234-org@yahoo.co.uk> writes:

> I have a number of repeated tasks in my Org-mode file. As a general
> rule I don't require logging of TODO state changes (which I've
> disabled by setting org-log-repeat to nil).
>
> However, while I don't need the full history of TODO state changes, it
> would be useful for me to know the last time that a task was repeated.
> The LAST_REPEAT property is ideal for this, but when I disable logging
> this property is no longer added/updated for any repeated tasks.
>
> Is there an easy way to have the LAST_REPEAT property, but without
> a history of TODO state changes?

It is not possible anymore, since
12e73e58af9881faf5aba52db68798c16cff22c0 (Apr. 2010).

The commit message is

    Only record LAST_REPEAT if it makes sense.
    
    The definition of "makes sense is here:
    
    - either the user is logging repeats (org-log-repeat)
    - or the entry contains clock data, in which case the LAST_REPEAT is
      needed to display clocking time properly.
    
    Request by Dan Griswold, with some support from Bernt Hansen


As your message suggets, we might extend the "makes sense" definition.
Maybe Carsten (Cc'ed) has an opinion about this old change.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2017-07-10 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-10  7:01 Adding a LAST_REPEAT property without logging Luke
2017-07-10 10:14 ` Nicolas Goaziou

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