Leo <[EMAIL PROTECTED]> writes:

> Have you ever wanted to retrieve some information from your org files
> regarding some projects?
>
> I wonder whether a command similar to `occur' but applies to all files
> listed in `org-agenda-files' and their corresponding ARCHIVED files
> might be desirable for org users.

It seems to me that grep works just fine for this application.  I put
all my org files under a single directory so that a single recursive
grep for a regexp over *.org and *.org_archive gets me the information I
want.  Then I use org to edit/read the files at the specific line
matches.

If you do this in org-mode do you only search files in org-agenda-files
(and maybe their archives?).  If you scatter files around a lot how do
you locate them all for the search?

$ find $HOME -name '*.org' -o -name '*.org_archive' | xargs grep -n -e $REGEXP

is probably simpler.

-Bernt


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to