From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Question about org-search-view and org-occur-in-agenda-files Date: Mon, 25 Jul 2011 22:09:54 -0500 Message-ID: <871uxdg2kx.fsf@fastmail.fm> References: <4e2db626.1451640a.13da.fffff268@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlY1u-00026F-41 for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 23:09:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlY1t-0006jn-4S for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 23:09:58 -0400 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:40834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlY1s-0006jj-TV for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 23:09:57 -0400 In-Reply-To: (suvayu ali's message of "Mon, 25 Jul 2011 22:07:24 +0200") 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: suvayu ali Cc: org-mode mailing list suvayu ali writes: > 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. The following custom agenda command offers a prompt: --8<---------------cut here---------------start------------->8--- (org-add-agenda-custom-command '("x" "Search special files" search "" ((org-agenda-files '("~/special/"))))) --8<---------------cut here---------------end--------------->8--- Best, Matt