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



_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to