From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: revealing context in org-occur-in-agenda-files Date: Wed, 23 Jan 2008 11:52:39 +0100 Message-ID: <092A5A20-00B3-4488-B4CA-281715BCE7A3@science.uva.nl> References: <20080123101947.GS18716@atlantic.linksys.moosehall> Mime-Version: 1.0 (Apple Message framework v915) 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 1JHdDr-00088B-DX for emacs-orgmode@gnu.org; Wed, 23 Jan 2008 05:52:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHdDp-00086D-CR for emacs-orgmode@gnu.org; Wed, 23 Jan 2008 05:52:46 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHdDp-00085n-1A for emacs-orgmode@gnu.org; Wed, 23 Jan 2008 05:52:45 -0500 Received: from mu-out-0910.google.com ([209.85.134.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JHdDo-0006mA-Jq for emacs-orgmode@gnu.org; Wed, 23 Jan 2008 05:52:44 -0500 Received: by mu-out-0910.google.com with SMTP id g7so2286590muf.0 for ; Wed, 23 Jan 2008 02:52:43 -0800 (PST) In-Reply-To: <20080123101947.GS18716@atlantic.linksys.moosehall> 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: Adam Spiers Cc: org-mode mailing list The same problem exists with normal `M-x occur'. Fixing this would require advising a number of occur functions. Maybe it is better to to define a new hook for the occur commands that we then can use for this. I'll look into it. Very likely this will work in 5.20, but it will require a fresh CVS Emacs. - Carsten On Jan 23, 2008, at 11:19 AM, Adam Spiers wrote: > I've just discovered org-occur-in-agenda-files which is very cool, but > I notice that when you follow a match which is a level 2 headline or > lower, it doesn't automatically reveal the context of that headline, > so you end up having to follow it with a manual invocation of > org-reveal. Am I missing something or could the org-reveal be done > automatically? > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode