emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* feature related to elided text while searching
@ 2006-12-11 17:41 John J Foerch
  2006-12-12 10:45 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: John J Foerch @ 2006-12-11 17:41 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: feature related to elided text while searching
  2006-12-11 17:41 feature related to elided text while searching John J Foerch
@ 2006-12-12 10:45 ` Carsten Dominik
  2006-12-13 17:35   ` John J Foerch
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2006-12-12 10:45 UTC (permalink / raw)
  To: John J Foerch; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: feature related to elided text while searching
  2006-12-12 10:45 ` Carsten Dominik
@ 2006-12-13 17:35   ` John J Foerch
  0 siblings, 0 replies; 3+ messages in thread
From: John J Foerch @ 2006-12-13 17:35 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> 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
>

Thank you.  I'll look into that.

--John

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-13 17:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-11 17:41 feature related to elided text while searching John J Foerch
2006-12-12 10:45 ` Carsten Dominik
2006-12-13 17:35   ` John J Foerch

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).