emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org, Leo <sdl.web@gmail.com>
Subject: Re: Search all `org-agenda-files'
Date: Fri, 18 Apr 2008 08:45:11 -0400	[thread overview]
Message-ID: <87prsnbaco.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <BB295BF6-446C-4A1B-8C62-3847C2D11C35@science.uva.nl> (Carsten Dominik's message of "Fri\, 18 Apr 2008 05\:44\:45 +0200")

Carsten Dominik <dominik@science.uva.nl> 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

  parent reply	other threads:[~2008-04-18 12:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-17  9:57 Search all `org-agenda-files' Leo
2008-04-17 12:12 ` Bernt Hansen
2008-04-17 14:34   ` Eddward DeVilla
2008-04-19 12:47   ` Mario Peter
2008-04-17 18:23 ` Jost Burkardt
2008-04-18  3:44 ` Carsten Dominik
2008-04-18  3:58   ` Carsten Dominik
2008-04-18  7:06   ` Leo
2008-04-18 12:45   ` Bernt Hansen [this message]
2008-04-18 13:31 ` Joel J. Adamson

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=87prsnbaco.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=sdl.web@gmail.com \
    /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).