emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: John J Foerch <jjfoerch@earthlink.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: feature related to elided text while searching
Date: Tue, 12 Dec 2006 11:45:09 +0100	[thread overview]
Message-ID: <bcdcddbba230722640e7e649ebf2624c@science.uva.nl> (raw)
In-Reply-To: <87psaqnxd2.fsf@earthlink.net>

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

  reply	other threads:[~2006-12-12 10:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-11 17:41 feature related to elided text while searching John J Foerch
2006-12-12 10:45 ` Carsten Dominik [this message]
2006-12-13 17:35   ` John J Foerch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bcdcddbba230722640e7e649ebf2624c@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=jjfoerch@earthlink.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).