From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Weis Subject: Re: org-occur customize Date: Sat, 3 Nov 2007 00:26:39 +0100 Message-ID: <20071102232639.GA9580@pollux> References: <20071102154812.GA7446@pollux> <87zlxwablw.fsf@bzg.ath.cx> 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 1Io4vV-000203-UQ for emacs-orgmode@gnu.org; Fri, 02 Nov 2007 18:23:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Io4vR-0001t1-JR for emacs-orgmode@gnu.org; Fri, 02 Nov 2007 18:23:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Io4vQ-0001su-P4 for emacs-orgmode@gnu.org; Fri, 02 Nov 2007 18:23:36 -0400 Received: from smtp8-g19.free.fr ([212.27.42.65]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Io4vQ-0003Hy-56 for emacs-orgmode@gnu.org; Fri, 02 Nov 2007 18:23:36 -0400 Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id 5031317F539 for ; Fri, 2 Nov 2007 23:22:05 +0100 (CET) Received: from che78-3-82-246-30-233.fbx.proxad.net (che78-3-82-246-30-233.fbx.proxad.net [82.246.30.233]) by smtp8-g19.free.fr (Postfix) with ESMTP id 33DA817F538 for ; Fri, 2 Nov 2007 23:22:05 +0100 (CET) Content-Disposition: inline In-Reply-To: <87zlxwablw.fsf@bzg.ath.cx> 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 On Fri, Nov 02, 2007 at 03:52:27PM +0000, Bastien wrote: > Harald Weis writes: > > > I need the following customization of the org-occur function: > > If the match is in a headline, headline _and_ body are made visible. > > > > Is there a way to accomplish this? > > Have a look at the variable `org-show-hierarchy-above': > > ,----[ org-show-hierarchy-above ] > | > | Non-nil means, show full hierarchy when revealing a location. > | Org-mode often shows locations in an org-mode file which might have > | been invisible before. When this is set, the hierarchy of headings > | above the exposed location is shown. > | > | [...] Sorry, this does not help. It is not the hierarchy _above_ which I want to see, but the body of the _matched_ headline. Harald