From: Matt Lundin <mdl@imapmail.org>
To: Doug Hellmann <doug.hellmann@gmail.com>
Cc: Emacs Org-mode <emacs-orgmode@gnu.org>, Good Bad <nbko3@yahoo.com>
Subject: Re: org-mode, grep and folding issue
Date: Sat, 05 Dec 2009 13:34:11 -0500 [thread overview]
Message-ID: <87ws11w9r0.fsf@fastmail.fm> (raw)
In-Reply-To: <356CAC89-E3C3-4A4E-99D6-DFA870194E35@gmail.com> (Doug Hellmann's message of "Sat, 5 Dec 2009 11:25:58 -0500")
Doug Hellmann <doug.hellmann@gmail.com> writes:
> On Dec 5, 2009, at 10:22 AM, Good Bad wrote:
>
>> My notes are scattered across various org files. So I use grep
>> (usually M-x lgrep and M-x rgrep) to search my notes. When I click
>> one of the grep results (in the *grep* buffer), it leads to where
>> the match is, but often the corresponding line is hidden because it
>> is inside a folded heading in an org file. In that case, I need to
>> press <S-tab> (org-shifttab) to cycle through global visibility
>> levels to start editing the line. Is there a way to not have to
>> press <S-tab>?
>
> If all of the files are being added to your agenda, you can search
> with "C-c a s <regex>" and the agenda view will show your results.
I'd also recommend the agenda's multi-occur search ("C-c a /"), which
displays all matching lines in the agenda and reveals them properly when
you press return.
In short, use "C-c a s" when you want to see all headlines containing a
word/regexp. Use "C-c a /" when you want to see the matching lines in
the results.
- Matt
next prev parent reply other threads:[~2009-12-05 18:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-05 15:22 org-mode, grep and folding issue Good Bad
2009-12-05 16:25 ` Doug Hellmann
2009-12-05 18:34 ` Matt Lundin [this message]
2009-12-05 20:51 ` Bernt Hansen
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=87ws11w9r0.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=doug.hellmann@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=nbko3@yahoo.com \
/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).