Richard Riley <rile...@googlemail.com> writes: > Bernt Hansen <be...@norang.ca> writes: > >> Richard Riley <rile...@googlemail.com> 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 >>
<snip> > 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