[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Search all `org-agenda-files'
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: Search all `org-agenda-files' |
Date: |
Fri, 18 Apr 2008 08:45:11 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Carsten Dominik <address@hidden> writes:
> Internal commands for this in Org are:
>
> 1. multi-occur, a standard emacs command. To apply it to the
> agenda files, call it through the agenda dispatcher, for me this
> is `C-c a /'.
>
> That does not include any archive files though. To do so,
> get the new version from the git repo and do
>
> (setq org-agenda-text-search-extra-files '(agenda-archives))
>
Great! I learn more useful org-mode/Emacs commands everyday :)
> 2. You can also use search view, which is a new agenda view and allows
> you
> to search for multiple words and/or regexps which all need to match
> in an
> entry, not necessarily in a single line. It searches for whole
> words, not
> partial words. Hmm, maybe it should for partial words as well?
>
> C-c a S +word1 +word2 -excludethisword RET
C-c a s +word1 +word2 -excludethisword RET
^
lowercase 's'
>
> This also searched the extra files defined above.
I tried this with the org-agenda-text-search-extra-files setting above
and it runs through each of my archives stating they don't exist.
non-existent file todo.org_archive. [R]emove from list or [A]bort?
Maybe it's looking in the wrong directory?
Thanks for this. I can see this will be really useful for digging up
my old notes in my (now huge) org files (and their archives) :-)
Regards,
Bernt