emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: How to use FILETAGS?


From: Bernt Hansen
Subject: [Orgmode] Re: How to use FILETAGS?
Date: Thu, 09 Oct 2008 11:13:26 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Carsten Dominik <address@hidden> 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




reply via email to

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