From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-occur customize Date: Sun, 4 Nov 2007 08:22:12 +0100 Message-ID: References: <20071102154812.GA7446@pollux> <87zlxwablw.fsf@bzg.ath.cx> <20071102232639.GA9580@pollux> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IoZoI-0001Ii-Sj for emacs-orgmode@gnu.org; Sun, 04 Nov 2007 02:22:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IoZoG-0001EE-Vp for emacs-orgmode@gnu.org; Sun, 04 Nov 2007 02:22:18 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IoZoG-0001Dc-N6 for emacs-orgmode@gnu.org; Sun, 04 Nov 2007 02:22:16 -0500 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IoZoF-00076i-V7 for emacs-orgmode@gnu.org; Sun, 04 Nov 2007 02:22:16 -0500 Received: from ug-out-1314.google.com ([66.249.92.170]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IoZoE-0005Y1-SA for emacs-orgmode@gnu.org; Sun, 04 Nov 2007 02:22:15 -0500 Received: by ug-out-1314.google.com with SMTP id a2so866477ugf for ; Sun, 04 Nov 2007 00:22:13 -0700 (PDT) In-Reply-To: <20071102232639.GA9580@pollux> 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: Harald Weis Cc: emacs-orgmode@gnu.org On 3Nov2007, at 12:26 AM, Harald Weis wrote: > 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. 5.14 will have a new variable `org-show-entry-below' that allows to customize this behavior. Thanks for pointing out this omission! - Carsten