From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: property searches for #+CATEGORY Date: Wed, 7 Nov 2007 11:17:30 +0000 Message-ID: <20071107111730.GH13544@atlantic.linksys.moosehall> Reply-To: Adam Spiers 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 1Ipiuf-0002sD-Mn for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 06:17:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ipiud-0002rp-Tg for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 06:17:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ipiud-0002rZ-LH for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 06:17:35 -0500 Received: from mail.beimborn.com ([70.84.38.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ipiud-0007AD-C7 for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 06:17:35 -0500 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id lA7BHYG0008680 for ; Wed, 7 Nov 2007 05:17:34 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id lA7BHXOj008674 for emacs-orgmode@gnu.org; Wed, 7 Nov 2007 11:17:33 GMT Content-Disposition: inline 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: org-mode mailing list I have several personal .org files, and several work-related ones too. In each personal file, I have a line: #+CATEGORY: personal and in each work-related file, I have a line: #+CATEGORY: work I would like to be able to bind agenda custom commands to do tag searches which are narrowed to one of these categories, e.g. "show me all personal priority #A tasks". Such a search needs to span *all* agenda files, therefore the standard per-buffer narrowing provided by the '<' binding in the *Agenda Commands* buffer is insufficient. Would it make sense to include CATEGORY as a special property? After all, pretty much all other per-task meta-data ("TODO", "PRIORITY" etc.) are already available via the property interface, and this way, I could easily achieve what I need with tag searches such as CATEGORY="personal"+PRIORITY="A" Thanks!