emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: How to use FILETAGS?
Date: Thu, 09 Oct 2008 11:13:26 -0400	[thread overview]
Message-ID: <873aj5vm21.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <F1E07C26-A4C9-4AF9-9303-3378CBF59BFB@uva.nl> (Carsten Dominik's message of "Tue\, 7 Oct 2008 20\:03\:22 +0200")

Carsten Dominik <dominik@science.uva.nl> 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

  parent reply	other threads:[~2008-10-09 15:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-05 11:56 How to use FILETAGS? Manish
2008-10-07 15:06 ` Manish
2008-10-07 16:28   ` Carsten Dominik
2008-10-07 17:30     ` Manish
2008-10-07 18:03       ` Carsten Dominik
2008-10-07 18:16         ` Manish
2008-10-09 15:13         ` Bernt Hansen [this message]
2008-10-11 11:12           ` Manish
2008-10-11 19:13             ` Bernt Hansen
2008-10-18 11:46               ` Manish
2008-10-18 13:16                 ` Carsten Dominik
2008-10-18 13:34                   ` Manish
2008-10-18 18:08                   ` Bernt Hansen
2008-10-21  6:24                     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873aj5vm21.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).