From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tim O'Callaghan" Subject: Re: property searches for #+CATEGORY Date: Wed, 7 Nov 2007 14:23:12 +0100 Message-ID: <3d6808890711070523u50bd8bbp963960978171e132@mail.gmail.com> References: <20071107111730.GH13544@atlantic.linksys.moosehall> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpksF-0008GP-Pw for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 08:23:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpksE-0008FU-65 for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 08:23:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpksE-0008FQ-39 for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 08:23:14 -0500 Received: from nf-out-0910.google.com ([64.233.182.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpksD-0004uL-Iy for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 08:23:13 -0500 Received: by nf-out-0910.google.com with SMTP id f5so2312965nfh for ; Wed, 07 Nov 2007 05:23:12 -0800 (PST) In-Reply-To: <20071107111730.GH13544@atlantic.linksys.moosehall> 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: Adam Spiers , org-mode mailing list On 07/11/2007, Adam Spiers wrote: > 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! > It would seem to me that this is exactly what tags does. You could move everything down a level and use tag inheritance: * personal stuff :personal: * work stuff :work: Tim.