From: Leo Alekseyev <leo.alekseyev@gmail.com>
To: Emacs-orgmode@gnu.org
Subject: Search in headings before searching in leaves
Date: Sun, 15 Nov 2009 22:35:46 -0500 [thread overview]
Message-ID: <4e3ad400911151935v451904f7x605fb455600bfb95@mail.gmail.com> (raw)
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
reply other threads:[~2009-11-16 3:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4e3ad400911151935v451904f7x605fb455600bfb95@mail.gmail.com \
--to=leo.alekseyev@gmail.com \
--cc=Emacs-orgmode@gnu.org \
/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).