|
From: | Aaron Ecay |
Subject: | Re: [O] using rgrep, ag, etc in folded org files? |
Date: | Mon, 12 Sep 2016 16:36:44 +0100 |
User-agent: | Notmuch/0.21+26~g8881a61 (https://notmuchmail.org) Emacs/25.0.50.1 (x86_64-unknown-linux-gnu) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |