From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Question about org-search-view and org-occur-in-agenda-files Date: Mon, 25 Jul 2011 22:07:24 +0200 Message-ID: References: <4e2db626.1451640a.13da.fffff268@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlRRL-0006uY-6w for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 16:07:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlRRK-0002k4-7b for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 16:07:47 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:37682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlRRK-0002k0-2v for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 16:07:46 -0400 Received: by fxd18 with SMTP id 18so7841292fxd.39 for ; Mon, 25 Jul 2011 13:07:45 -0700 (PDT) In-Reply-To: <4e2db626.1451640a.13da.fffff268@mx.google.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Darlan Cavalcante Moreira Cc: org-mode mailing list Hi Darlan, On Mon, Jul 25, 2011 at 8:29 PM, Darlan Cavalcante Moreira wrote: > You can probably use custom agenda commands for this. See the documentation > for the org-agenda-custom-commands and the corresponding section in the > manual [1]. Custom agenda commands do not support prompting for search phrases. > You can set the org-agenda-files and > org-agenda-text-search-extra-files to point to the old project for > some custom search. > However the above comment gave me an idea. I could use a custom function to wrap around the search functions and use let to bind the value of agenda-files and org-agenda-text-search-extra-files as needed. Thank you very much! -- Suvayu Open source is the future. It sets us free.