From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: How to use FILETAGS? Date: Thu, 09 Oct 2008 11:13:26 -0400 Message-ID: <873aj5vm21.fsf@gollum.intra.norang.ca> References: <6E535C80-7911-4683-B0EC-581C015FC665@uva.nl> 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 1KnxCo-0003BG-Py for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:13:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnxCo-0003B4-An for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:13:34 -0400 Received: from [199.232.76.173] (port=46662 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnxCo-0003B1-4O for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:13:34 -0400 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:50824) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnxCn-0005cw-Og for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:13:33 -0400 In-Reply-To: (Carsten Dominik's message of "Tue\, 7 Oct 2008 20\:03\:22 +0200") 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: Carsten Dominik Cc: emacs-orgmode Carsten Dominik writes: > On Oct 7, 2008, at 7:30 PM, Manish wrote: > >> On Tue, Oct 7, 2008 at 9:58 PM, Carsten Dominik wrote: >>> Hi Manish, >>> >>> On Oct 7, 2008, at 5:06 PM, Manish wrote: >>> >>>> On Sun, Oct 5, 2008 at 5:26 PM, Manish wrote: >>>>> >>>>> Hello All, >>>>> >>>>> I have set a "#+FILETAGS: :Personal:" in my org file (did a C-c C-c >>>>> to initilalize it.) The tag did not appear in the agenda view >>>>> like I >>>>> expected it to. I was hoping to use agenda view filtering on >>>>> tags to >>>>> see a subset of tasks with that tag (without having to set that for >>>>> all tasks.) What else do I need to do for it to work? >>>>> >>>> >>>> Okay. I think I realize my mistake now. >>>> >>>> The FILETAGS are NOT meant to be displayed and hence can not be used >>>> for filtering items in agenda view. They are meant to be matched >>>> while creating agenda only. >>> >>> No. They are used when the agenda is created, and they are stored >>> in a text >>> property on the entry. If you press "T", you should see all the >>> tags of an >>> entry. I just tested it, and it works fine, including filtering, >>> which acts >>> on the text-property tags, not only on the displayed tags. >>> >>> Maybe you have turned off tag inheritance? Because file tags are >>> *inherited* by all entries in the buffer. >> >> "T" does show the tags, inheritance is enabled for those specific tags >> listed in FILETAGS only but am unable to make filtering work. > > This absolutely does work for me, also with non-top-level entries. > > Could someone else please check? This works for me. I added #+FILETAGS: :Personal: to the top of one of my org files, hit C-c C-c on the line to reinitialize and then match tags with Personal as the target with C-c a m Personal RET and it lists all of the tasks in my org file including top-level tasks. The tasks do now show :Personal: in the display but using T on any tasks shows the tag is inherited. I hit T on a task 4 levels deep and it includes the Personal tag. It also works with #+FILETAGS: Personal -Bernt