From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Search all `org-agenda-files' Date: Fri, 18 Apr 2008 05:44:45 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JmhWv-00011D-4t for emacs-orgmode@gnu.org; Thu, 17 Apr 2008 23:44:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JmhWt-00010L-DB for emacs-orgmode@gnu.org; Thu, 17 Apr 2008 23:44:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmhWt-00010I-8T for emacs-orgmode@gnu.org; Thu, 17 Apr 2008 23:44:51 -0400 Received: from fg-out-1718.google.com ([72.14.220.159]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JmhWs-0000c2-0q for emacs-orgmode@gnu.org; Thu, 17 Apr 2008 23:44:50 -0400 Received: by fg-out-1718.google.com with SMTP id d23so445353fga.30 for ; Thu, 17 Apr 2008 20:44:49 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Leo Cc: emacs-orgmode@gnu.org 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