From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Problem searching CLOSED and DEADLINE properties Date: Fri, 9 Jan 2009 18:06:34 +0100 Message-ID: <65D1ACB6-E5C9-4311-887A-45F9DB36F179@uva.nl> References: <520C8D64-5A7E-47CE-93B8-965CAE3C54C4@uva.nl> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLKoh-0005hI-PK for emacs-orgmode@gnu.org; Fri, 09 Jan 2009 12:06:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLKog-0005gQ-1N for emacs-orgmode@gnu.org; Fri, 09 Jan 2009 12:06:39 -0500 Received: from [199.232.76.173] (port=40731 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLKof-0005gK-SW for emacs-orgmode@gnu.org; Fri, 09 Jan 2009 12:06:37 -0500 Received: from ug-out-1314.google.com ([66.249.92.172]:37379) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LLKof-0001aw-Ac for emacs-orgmode@gnu.org; Fri, 09 Jan 2009 12:06:37 -0500 Received: by ug-out-1314.google.com with SMTP id 36so67100uga.17 for ; Fri, 09 Jan 2009 09:06:36 -0800 (PST) In-Reply-To: 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: Bart Parliman Cc: emacs-orgmode@gnu.org On Jan 9, 2009, at 5:58 PM, Bart Parliman wrote: > On Fri, 9 Jan 2009, Carsten Dominik wrote: > >> >> On Jan 7, 2009, at 9:24 PM, Bart Parliman wrote: >> >>> When the example file below is added to the agenda file list, and >>> I perform an agenda property search (C-c C-a m), I can't seem to >>> locate any CLOSED items if I use the date matching format, for >>> example these don't work... >>> CLOSED>="<2009-01-01>" >> >> This one works fine for me. >> >>> CLOSED="<2009-01-07>" >> >> This one does not, because the CLOSED time stamp >> in the example also contains a time, while you comparison value is >> taken to be at midnight. >> >>> ... but a regexp search like this... >>> CLOSED={2009} >>> ... works fine. For DEADLINE, an exact date matches fails... >>> DEADLINE="<2009-01-28>" >> >> For me it works fine. >> >> - Carsten >> >>> ... but an inequality match succeeds... >>> DEADLINE>="<2009-01-28>" >>> FWIW I'm using version 6.17b. Am I just using this format >>> incorrectly? > > My apologies. I recently installed 6.17b, but to the wrong lisp > target directory (i.e. so I was effectively using an older version > of the code, 6.12b I think). After installing it in the proper > directory this works fine. :-) Yes, many problems come from running one version and reading the manual of another version :-) I am glad it works. Even though, looking at your post, I am wondering if it would be useful to limit the comparison to "date-only" if the comparison value is a date without a time....... - Carsten > > > Bart > >>> Thanks, >>> Bart >>> -------- file start -------- >>> #+SEQ_TODO: NEXT WAITING | DONE >>> #+STARTUP: overview >>> * DONE Test1 >>> CLOSED: [2009-01-07 Wed 12:26] >>> * NEXT Test2 >>> DEADLINE: <2009-01-28 Wed> >>> * Test3 >>> -------- file end -------- >>> _______________________________________________ >>> Emacs-orgmode mailing list >>> Remember: use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >>