From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Pohlack Subject: Re: Both todo and tag search Date: Fri, 18 Jun 2010 09:20:42 +0200 Message-ID: <4C1B1E4A.9090003@os.inf.tu-dresden.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=50733 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPVsm-0003Ij-N6 for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 03:20:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPVsl-0005qP-F7 for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 03:20:56 -0400 Received: from os.inf.tu-dresden.de ([141.76.48.99]:55826) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPVsl-0005pz-A8 for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 03:20:55 -0400 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: Chao Lu Cc: emacs-orgmode@gnu.org Hi, On 18.06.2010 06:40, Chao Lu wrote: > 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? Yes, that should be possible. These two threads may provide valid examples how to to this: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21269.html http://www.mail-archive.com/emacs-orgmode@gnu.org/msg25260.html A lot of information is also in the manual: http://orgmode.org/org.html#Agenda-Views HTH, Martin