From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-occur customize Date: Fri, 02 Nov 2007 15:52:27 +0000 Message-ID: <87zlxwablw.fsf@bzg.ath.cx> References: <20071102154812.GA7446@pollux> 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 1Inxt8-000516-Fs for emacs-orgmode@gnu.org; Fri, 02 Nov 2007 10:52:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Inxt6-0004wc-VS for emacs-orgmode@gnu.org; Fri, 02 Nov 2007 10:52:46 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Inxt6-0004wM-QI for emacs-orgmode@gnu.org; Fri, 02 Nov 2007 10:52:44 -0400 Received: from nf-out-0910.google.com ([64.233.182.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Inxt6-0002az-Ck for emacs-orgmode@gnu.org; Fri, 02 Nov 2007 10:52:44 -0400 Received: by nf-out-0910.google.com with SMTP id f5so918666nfh for ; Fri, 02 Nov 2007 07:52:43 -0700 (PDT) In-Reply-To: <20071102154812.GA7446@pollux> (Harald Weis's message of "Fri, 2 Nov 2007 16:48:12 +0100") 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 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. | | [...] `---- HTH, -- Bastien