all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Search to show only trees with no recent clock entries
@ 2013-12-02 22:50 Subhan Tindall
  2013-12-06 13:58 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Subhan Tindall @ 2013-12-02 22:50 UTC (permalink / raw)
  To: Org-Mode

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

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.

I'm at a bit of a loss.

Thanks!
Subhan


-- 
Subhan Michael Tindall | Software Developer
| smt@rentrakmail.com
RENTRAK | www.rentrak.com | NASDAQ: RENT

[-- Attachment #2: Type: text/html, Size: 827 bytes --]

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

* Re: Search to show only trees with no recent clock entries
  2013-12-02 22:50 Search to show only trees with no recent clock entries Subhan Tindall
@ 2013-12-06 13:58 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-12-06 13:58 UTC (permalink / raw)
  To: Subhan Tindall; +Cc: Org-Mode

Hi Subhan,

Subhan Tindall <subhan.tindall@rentrakmail.com> 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

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

end of thread, other threads:[~2013-12-06 13:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02 22:50 Search to show only trees with no recent clock entries Subhan Tindall
2013-12-06 13:58 ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.