emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Ecay <aaronecay@gmail.com>
To: joakim@verona.se, emacs-orgmode@gnu.org
Subject: Re: using rgrep, ag, etc in folded org files?
Date: Mon, 12 Sep 2016 16:36:44 +0100	[thread overview]
Message-ID: <878tuxw2nn.fsf@gmail.com> (raw)
In-Reply-To: <m31t0q9zyt.fsf@chopper>

Hi Joakim,

The function org-reveal needs to be run after the search is executed.
If you are using the built-in emacs rgrep (for example), I think you
need to add a function to next-error-hook.  Grep for “add-hook
'occur-mode-find-occurrence-hook” in org.el for inspiration.

(Arguably this hook function should be added to org-mode, if enough
people find it useful).

-- 
Aaron Ecay

  reply	other threads:[~2016-09-12 15:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-11 16:13 using rgrep, ag, etc in folded org files? joakim
2016-09-12 15:36 ` Aaron Ecay [this message]
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=878tuxw2nn.fsf@gmail.com \
    --to=aaronecay@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=joakim@verona.se \
    /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).