From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Searching SCHEDULED/DEADLINE properties turns up spurious headings Date: Sat, 10 Jan 2009 21:54:50 +0100 Message-ID: <411B5F54-4F10-43D6-A516-D11A51BCA5AD@uva.nl> References: <20090109233242.GU24132@hplhtang1> Mime-Version: 1.0 (Apple Message framework v930.3) 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 1LLkr9-0007R2-Hf for emacs-orgmode@gnu.org; Sat, 10 Jan 2009 15:54:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLkr8-0007PX-Ii for emacs-orgmode@gnu.org; Sat, 10 Jan 2009 15:54:55 -0500 Received: from [199.232.76.173] (port=38138 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLkr8-0007PK-Ev for emacs-orgmode@gnu.org; Sat, 10 Jan 2009 15:54:54 -0500 Received: from mail-ew0-f15.google.com ([209.85.219.15]:57315) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LLkr7-0006in-UE for emacs-orgmode@gnu.org; Sat, 10 Jan 2009 15:54:54 -0500 Received: by ewy8 with SMTP id 8so344361ewy.18 for ; Sat, 10 Jan 2009 12:54:52 -0800 (PST) In-Reply-To: <20090109233242.GU24132@hplhtang1> 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: Hsiu-Khuern Tang Cc: "emacs-orgmode@gnu.org" Hi Hsiu, I believe this is a misunderstanding. You are constructing a sparse tree. Sparse tree always show all top-level headlines. The search really only matches the second one, as you can see from the highlighted stars. Sparse tree make a lot more sense when the entries to be matched are not top-level. - Carsten On Jan 10, 2009, at 12:32 AM, Hsiu-Khuern Tang wrote: > I find that doing a tags search for SCHEDULED or DEADLINE turns up > headings > that do not have any schedule or deadlines. > > Using the example from http://article.gmane.org/gmane.emacs.orgmode/10274 > : > > ,---- > | #+SEQ_TODO: NEXT WAITING | DONE > | #+STARTUP: overview > | > | * DONE Test1 > | CLOSED: [2009-01-07 Wed 12:26] > | > | * NEXT Test2 > | DEADLINE: <2009-01-28 Wed> > | > | * Test3 > `---- > > If I type > > C-c \ +DEADLINE<="<2009-01-28>" > > all three headlines are selected! I expected to match the second > headline > only. > > -- > Best, > Hsiu-Khuern. > > > _______________________________________________ > 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