emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] search for dates as tag or property


From: Bastien
Subject: Re: [Orgmode] search for dates as tag or property
Date: Tue, 27 Nov 2007 14:42:10 +0000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

Fabian Braennstroem <address@hidden> writes:

> I would like to include the date in my property/tags search ...
> E.g. one entry looks like this:
>
> *** KONVERGIERT <2007-09-07 Fri>Klimakruemmer 2 /  FLUENT
>    :PROPERTIES:
>    :Bauteil:Klimakruemmer
>    :END:

Maybe something along this:

(org-add-agenda-custom-command
 '("d" tags "Bauteil={.+}"
   ((org-agenda-skip-function 
     '(org-agenda-skip-entry-if 'notregexp
     "[0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}")))))

> Is it possible to do a search, which looks for the property
> 'Bauteil' and for the month corresponding to the time stamp
> of the entry, i.e. September?

You cannot inherit a timestamp (or scheduled/deadline value) for now.
If you are using the date not only for getting this entry displayed at
the right place in the agenda view, maybe you could add a "Month"
property?  Then you can use it for searches like any other property.

> The property search is no problem, but I couldn't find any special
> syntax for the 'time stamps' search!?  Would be nice, if that works

Why not... but the agenda view is already a way to "search" for entries,
no?

-- 
Bastien




reply via email to

[Prev in Thread] Current Thread [Next in Thread]