From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Aditya Siram" Subject: Re: Org Mode Searching Bug? Date: Mon, 15 Jan 2007 17:08:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H6VKF-0003GR-Ci for emacs-orgmode@gnu.org; Mon, 15 Jan 2007 12:08:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H6VKD-0003De-Ds for emacs-orgmode@gnu.org; Mon, 15 Jan 2007 12:08:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6VKD-0003DT-8V for emacs-orgmode@gnu.org; Mon, 15 Jan 2007 12:08:49 -0500 Received: from [65.54.246.85] (helo=bay0-omc1-s13.bay0.hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H6VKC-0004HF-Hc for emacs-orgmode@gnu.org; Mon, 15 Jan 2007 12:08:48 -0500 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: carsten.dominik@gmail.com Cc: emacs-orgmode@gnu.org Thanks, this is exactly what I wanted. Deech >From: Carsten Dominik >To: Deech >CC: emacs-orgmode@gnu.org >Subject: Re: [Orgmode] Org Mode Searching Bug? >Date: Mon, 15 Jan 2007 17:23:32 +0100 > >Hi Deech, > >this is intentional, the headline following a headline that matches >the search is also shown, because it makes it easier to edit the headline >and the entry below it without accidentally changing hidden text. >If you are confident that you know outline-mode well enough, >customize the variable `org-show-following-heading'. Get back to >us if you cannot figure out how to modify it correctly - it is >a relatively complex variable. > >While you are at it: there are two more variables that give you very >fine-graned control over what exactly is displayed in sparse tree >and other commands that expose previously hidden parts of the >outline tree. > >org-show-hierarchy-above >org-show-siblings > >Hope this helps > >- Carsten > >On Jan 12, 2007, at 18:43, Deech wrote: > >>Hi all, >>I have been using org mode for the past month and on the whole it's great. >>But I >>am having trouble searching tags and sorting TODO items. >> >>If this is the original file: >> >>*PROJECTS >>** TODO Take out garbage :home: >>Today is garbage + recycling >>** TODO Do the laundry :home: >>** DONE Pay car insurance :bills: >> >>Doing a 'C-c v'(to show only TODO items) also shows the DONE item, like >>this: >> >>*PROJECTS >>** TODO Take out garbage :home: >>** TODO Do the laundry :home: >>** DONE Pay car insurance :bills: >> >>If I move the DONE item to the top of the list, 'C-c v' correctly shows: >> >>*PROJECTS >>** TODO Take out garbage :home: >>** TODO Do the laundry :home: >> >>A similar phenomenon occurs when I search for the tag (C-c \) 'home'. When >>I >>query the original file, the output includes the 'bills' tag like this: >> >>*PROJECTS >>** TODO Take out garbage :home: >>** TODO Do the laundry :home: >>** DONE Pay car insurance :bills: >> >>Similarly, if I move the headline tagged with 'bills' to the top, the >>search >>outputs the right thing: >>*PROJECTS >>** TODO Take out garbage :home: >>** TODO Do the laundry :home: >> >>This is a toy example I made up, but it does the same thing on >>'production' file >>that I use daily. >> >>Any thoughts? >> >>Thanks... >>Deech >> >> >> >>_______________________________________________ >>Emacs-orgmode mailing list >>Emacs-orgmode@gnu.org >>http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> >> > >-- >Carsten Dominik >Sterrenkundig Instituut "Anton Pannekoek" >Universiteit van Amsterdam >Kruislaan 403 >NL-1098SJ Amsterdam >phone: +31 20 525 7477 > _________________________________________________________________ Your Hotmail address already works to sign into Windows Live Messenger! Get it now http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview