emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Search in headings before searching in leaves
@ 2009-11-16  3:35 Leo Alekseyev
  0 siblings, 0 replies; only message in thread
From: Leo Alekseyev @ 2009-11-16  3:35 UTC (permalink / raw)
  To: Emacs-orgmode

I thought it would be a rather useful behavior for isearch to search
only in the displayed text.  That is to say, if I have a structure
such as

<cursor is here>
* Folded Heading 1...
* Folded Heading 2... [ whose body has 1 bazillion occurrences of SearchTerm  ]
* Folded Heading With SearchTerm...
* Folded Heading 4...

when I do an isearch I would like to jump to the heading (and if I
continue pressing C-s cycle back to the occurrences of SearchTerm
within Heading 2.

Are there existing hacks for org mode or outline mode that would
result in such behavior?..  If not, consider this a feature request :)

--Leo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-16  3:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-16  3:35 Search in headings before searching in leaves Leo Alekseyev

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