emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Leo <sdl.web@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Search all `org-agenda-files'
Date: Fri, 18 Apr 2008 05:44:45 +0200	[thread overview]
Message-ID: <BB295BF6-446C-4A1B-8C62-3847C2D11C35@science.uva.nl> (raw)
In-Reply-To: <xbai8wzc4xd2.fsf@cam.ac.uk>

Hi Leo and others,

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))

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

   This also searched the extra files defined above.

- Carsten

On Apr 17, 2008, at 11:57 AM, Leo wrote:

> Dear All,
>
> 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.
>
> Thank you for considering this proposal.
>
> Regards,
> -- 
> .:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.
>
>       Use the better alternative -- http://www.openoffice.org/
>
>
>
> _______________________________________________
> 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

  parent reply	other threads:[~2008-04-18  3:44 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 [this message]
2008-04-18  3:58   ` Carsten Dominik
2008-04-18  7:06   ` Leo
2008-04-18 12:45   ` Bernt Hansen
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=BB295BF6-446C-4A1B-8C62-3847C2D11C35@science.uva.nl \
    --to=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).