emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: emacs-orgmode@gnu.org
Subject: using rgrep, ag, etc in folded org files?
Date: Sun, 11 Sep 2016 18:13:30 +0200	[thread overview]
Message-ID: <m31t0q9zyt.fsf@chopper> (raw)

Hello,

I would like to use ag search, or rgrep etc, to jump to matches in my
org files, and have the matched lines tree be unfolded.

- isearch works in a folded orgfile
- jumping with occur in a folded file works
- rgrep, ag, etc doesnt unfold the tree where the match is


I found this 6 year old thread discussing the same issue:
"org-mode, grep and folding issue".

The thread described some workarounds which used agenda search or
something like that. I would rather like to use helm-projectile though.

Is it possible?
-- 
Joakim Verona

-- 
Joakim Verona

             reply	other threads:[~2016-09-11 16:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-11 16:13 joakim [this message]
2016-09-12 15:36 ` using rgrep, ag, etc in folded org files? Aaron Ecay
2016-09-12 16:14   ` Clément Pit--Claudel
2016-09-13  9:20     ` Stig Brautaset
2016-09-12 23:04 ` Adam Porter

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=m31t0q9zyt.fsf@chopper \
    --to=joakim@verona.se \
    --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).