From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: feature related to elided text while searching Date: Tue, 12 Dec 2006 11:45:09 +0100 Message-ID: References: <87psaqnxd2.fsf@earthlink.net> Mime-Version: 1.0 (Apple Message framework v624) 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 1Gu58N-0005RD-L1 for emacs-orgmode@gnu.org; Tue, 12 Dec 2006 05:45:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gu58M-0005Q0-IN for emacs-orgmode@gnu.org; Tue, 12 Dec 2006 05:45:14 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gu58M-0005Pp-E1 for emacs-orgmode@gnu.org; Tue, 12 Dec 2006 05:45:14 -0500 Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gu58M-0000YJ-71 for emacs-orgmode@gnu.org; Tue, 12 Dec 2006 05:45:14 -0500 In-Reply-To: <87psaqnxd2.fsf@earthlink.net> 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: John J Foerch Cc: emacs-orgmode@gnu.org This is something on my wish list. What would be needed to accomplish this is a new hook in isearch.el which runs late enough. Currently there is no such hook. What you can do is run org-reveal `C-c C-r' after the search finishes, this may at least partially fix the problem? To show all siblings, you will actually need C-u C-c C-r - Carsten On Dec 11, 2006, at 18:41, John J Foerch wrote: > Hi, > > Suppose I am viewing an org-mode file, with a large tree of headings > and > subheadings, all collapsed. I search for some text from the top of > the file, > and when the search completes, point is now in one of the subheadings. > If > this subheading has sibling nodes after it, those headings are elided > with > `...'. This is the behavior I would like to change. I would like > sibling > headings to be shown collapsed, rather than completely elided. > > Can anyone tell me how I might accomplish this? What part of org-mode > source > code should I study to make this happen? > > Thank you, > > John Foerch > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477