[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Search to show only trees with no recent clock entries
From: |
Bastien |
Subject: |
Re: [O] Search to show only trees with no recent clock entries |
Date: |
Fri, 06 Dec 2013 14:58:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Hi Subhan,
Subhan Tindall <address@hidden> writes:
> Looking for a search to show only first-level trees that meet the
> following criteria:
>
> all clock entries under the heading are older than a given date (IE 2
> weeks ago)
> clock entries may be under several different sub-headings, at levels
> ranging from * to ****
>
> ONLY level-1 entries meeting this criteria should be returned.
You can't do this directly.
But you could use `org-clock-out-hook' to update a dedicated date
property of the entry, then only look for entries that are newer than
the value of the property.
Just quickly sketching this idea, sorry for not going into details.
--
Bastien