From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: search for dates as tag or property Date: Tue, 27 Nov 2007 14:42:10 +0000 Message-ID: <87prxv7nst.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ix1di-0007A6-Aa for emacs-orgmode@gnu.org; Tue, 27 Nov 2007 09:42:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ix1dg-00079X-QG for emacs-orgmode@gnu.org; Tue, 27 Nov 2007 09:42:18 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ix1dg-00079T-HH for emacs-orgmode@gnu.org; Tue, 27 Nov 2007 09:42:16 -0500 Received: from mu-out-0910.google.com ([209.85.134.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ix1dg-0007n1-2H for emacs-orgmode@gnu.org; Tue, 27 Nov 2007 09:42:16 -0500 Received: by mu-out-0910.google.com with SMTP id i2so1711027mue for ; Tue, 27 Nov 2007 06:42:15 -0800 (PST) In-Reply-To: (Fabian Braennstroem's message of "Sun, 25 Nov 2007 13:39:36 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Fabian Braennstroem 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