emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] tags match agenda


From: Bernt Hansen
Subject: Re: [O] tags match agenda
Date: Thu, 10 Mar 2011 10:33:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Richard Riley <address@hidden> writes:

> Bernt Hansen <address@hidden> writes:
>
>> Richard Riley <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]