From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Both todo and tag search Date: Fri, 18 Jun 2010 07:53:38 -0400 Message-ID: <87mxus7e0t.fsf@gollum.intra.norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=43672 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPa8s-00010d-Nq for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 07:53:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPa8m-0000IR-7A for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 07:53:50 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:65499) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPa8m-0000I6-5Y for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 07:53:44 -0400 In-Reply-To: (Chao Lu's message of "Fri\, 18 Jun 2010 00\:40\:26 -0400") 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: Chao Lu Cc: emacs-orgmode@gnu.org Chao Lu writes: > For the custom agenda command, is it possible to define a search > performing both todo and tag search, for example, the items whose todo > state is ACTIVE, and the context(defined by tag) is Office? Do a tags match search for Office/ACTIVE Items before the / are tags and after the / are TODO keywords. HTH, Bernt