From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Randle Subject: Problem with sparse tree not displaying results Date: Tue, 03 Nov 2009 12:30:12 +0000 Message-ID: <4AF02254.4070702@amlog.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5IWo-0004iX-78 for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 07:30:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5IWj-0004hi-JB for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 07:30:25 -0500 Received: from [199.232.76.173] (port=55663 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5IWj-0004hc-E9 for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 07:30:21 -0500 Received: from lon1-post-3.mail.demon.net ([195.173.77.150]:61337) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5IWj-0005GP-3n for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 07:30:21 -0500 Received: from amlog.demon.co.uk ([80.177.106.135] helo=[192.168.128.2]) by lon1-post-3.mail.demon.net with esmtp (Exim 4.69) id 1N5IWg-0005GV-dd for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 12:30:18 +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 Hi Carsten I'm using Org-mode 6.32b under GNU Emacs 22.1.1 and Windows XP Pro SP3. I've just noticed that creating a sparse tree with `C-c / r' is not displaying matches in my org file. It hasn't always been this way, I *think* things were working OK around 6.29, but it's hard to be sure. I've managed to pare my org file down to a few lines that demonstrate the problem =============================== * Customers ** Customer A *** Billing **** Support during September :ARCHIVE: ** Customer B 07964-xxxxxx *** Problem with Laptop ** Customer C *** Current Details *** Test of 07968 showing up ** Customer D 01673-xxxxxx 07968-xxxxxx *** Laptop slowdown fix spoolsv.exe at 99% =================================== Setting a sparse tree by regexp 0796[48] returns "3 match(es) for regexp 0796[48]", but the tree doesn't expand at the hit locations. If I manually expand the tree at the locations of the hits, the results are highlighted. It makes no difference if the hits are in a headline or in notes beneath a headline. Remove the ARCHIVE tag from the "Support during September" headline with `C-c C-x a' and redo the sparse tree. Everything now appears expanded as I'd expect. The values of my org-show variables are org-show-hierarchy-above is a variable defined in `org.el'. Its value is ((default . t)) org-show-following-heading is a variable defined in `org.el'. Its value is ((default)) org-show-siblings is a variable defined in `org.el'. Its value is ((default) (isearch t)) org-show-entry-below is a variable defined in `org.el'. Its value is ((default)) -- Chris Randle