From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: tags match agenda Date: Thu, 10 Mar 2011 10:33:41 -0500 Message-ID: <87pqpzt2ga.fsf@norang.ca> References: <871v2fujnn.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=32835 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pxhs9-0003Tj-8o for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 10:33:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pxhs7-0002E4-0t for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 10:33:52 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:49172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pxhs6-0002DN-VP for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 10:33:50 -0500 In-Reply-To: (Richard Riley's message of "Thu, 10 Mar 2011 15:58:47 +0100") 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: Richard Riley Cc: Emacs-orgmode mailing list Richard Riley writes: > Bernt Hansen writes: > >> Richard Riley writes: >> >>> when I create an agenda matching a certain tag its not working for file >>> level tags. Is this a known issue or have I done something wrong? >>> >>> (C-c a m) >>> >>> http://orgmode.org/manual/Setting-tags.html >>> >>> file level tags: >>> >>> #+TAGS: laptop car pc sailboat >> > I want all entries in this file to inherit the tag so it should be > "filetags" I believe. My other tests suggest it is my > > ,---- > | ("j" "Journal" entry > | (file+datetree "journal.org") > | "* %?\n :PROPERTIES:\n :DateCreated: %T\n :END:\n%i\n%a") > `---- > > datetree format that might be stopping the tag match occurring. > > Or am I confusing issues here? > > In my journal file I have > > #+TITLE: my journal > #+FILETAGS: :journal: I don't think you need the colons around journal on the #+FILETAGS: journal line. You can just separate multiple tags with spaces on this line and they should all get applied. You also need to C-c C-c on that line (or any #+ line at the top of your file) when you change things to reload org-mode so it sees the new settings and applies it to your headings -- or restart Emacs) > I would expect C-c a m journal > > to show all journal entries in a standard result list. That's correct as long as your journal is included in your org-agenda-files. Regards, -- Bernt