From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Search for tags in TODO item in certain states Date: Tue, 02 Oct 2007 01:08:28 +0100 Message-ID: <874phapedf.fsf@bzg.ath.cx> References: <470083CE.3060307@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IcVJU-0001w6-3r for emacs-orgmode@gnu.org; Mon, 01 Oct 2007 20:08:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IcVJS-0001vA-IC for emacs-orgmode@gnu.org; Mon, 01 Oct 2007 20:08:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IcVJS-0001v7-Fg for emacs-orgmode@gnu.org; Mon, 01 Oct 2007 20:08:34 -0400 Received: from wx-out-0506.google.com ([66.249.82.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IcVJS-0007P0-7h for emacs-orgmode@gnu.org; Mon, 01 Oct 2007 20:08:34 -0400 Received: by wx-out-0506.google.com with SMTP id s7so3217288wxc for ; Mon, 01 Oct 2007 17:08:33 -0700 (PDT) In-Reply-To: <470083CE.3060307@gmail.com> (Wanrong Lin's message of "Mon, 01 Oct 2007 01:21:18 -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: emacs-orgmode@gnu.org Wanrong Lin writes: > For example, I want to have a list of TODO items with "buy" tag, but > not those in "DONE" or "CANCELED" state. C-c a m buy/-DONE-CANCELED (assuming C-c a calls the `org-agenda' command) The slash separates tags from TODO keywords, as explained here: (info "(org)Tag searches") PS: Maybe the use of uppercase letters for both tags and TODO keywords is a bit confusing in the documentation. It could be useful to be able to distinguish between them even when just skimming the doc. I only capitalize TODO keywords ("NEXT") and the first letter of tags ("Home"). I don't know if this convention is largely adopted, but this is the one I would propose for the doc. Comments? -- Bastien