From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel J. Sinder" Subject: Categories in tags-TODO agendas Date: Wed, 24 May 2006 13:21:29 -0700 Message-ID: <4474C049.1070809@gmail.com> 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 1FizrK-0006BW-Je for emacs-orgmode@gnu.org; Wed, 24 May 2006 16:21:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FizrH-00066C-V2 for emacs-orgmode@gnu.org; Wed, 24 May 2006 16:21:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FizrH-00065y-OX for emacs-orgmode@gnu.org; Wed, 24 May 2006 16:21:31 -0400 Received: from [208.97.132.5] (helo=randymail-a6.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fizvn-0008WM-Hw for emacs-orgmode@gnu.org; Wed, 24 May 2006 16:26:11 -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 I'm using org-mode for GTD, and I also use tags for GTD context. I put TODO entries under headlines for their respective projects and use a tag for each project which is inherited by it's next actions/TODOs. I have 3 main org files for GTD: work, meetings, personal -- each with #+CATEGORY labels by the same name. A few weeks back I requested a customization option for tag-specific TODO-only agendas, which Carsten promptly implemented -- thanks Carsten. Now I have customized commands to generate agenda buffers by project or context, which works like a charm. I've recently encountered one bug and one inconsistency (I'm up to date with 4.33). Here's the bug: After generating the first weekly agenda and quitting it, subsequent tag-search agendas result in the same CATEGORY label on all entries regardless of the CATEGORY label on the file that produced the entry. Subsequent weekly agendas still show the correct categories however. (It's not obvious to me if there's any consistency as to *which* file's category is selected for the tag searches.) And the inconsistency has to do with how tag inheritance is handled in tag searches. Suppose I have in one of my org files: * Projects ** Resolve inconsistency with org-mode tag searches :OrgMode: *** TODO Post to emacs-orgmode list :Email: *** TODO Write a patch for org-mode tag searches :Computer: If I do a tag query for "OrgMode" (C-c a m OrgMode), I get WORK: Resolve inconsistency with org-mode tag searches :OrgMode" (that is, the TODO items do not inherit the OrgMode tag). However, if I do a TODO-only tag query for "OrgMode" (C-c a M OrgMode), I get both sub-headlines: WORK: ..TODO Post to emacs-orgmode list :Email: WORK: ..TODO Write patch for org-mode tag searches :Computer I think these two should behave more alike with regard to tag inheritance. I personally prefer the latter approach, wherein inherited tags are included in the results.