Carsten Dominik <[EMAIL PROTECTED]> 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


_______________________________________________
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