emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Richard Riley <rileyrg@googlemail.com>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: tags match agenda
Date: Thu, 10 Mar 2011 10:33:41 -0500	[thread overview]
Message-ID: <87pqpzt2ga.fsf@norang.ca> (raw)
In-Reply-To: <fhoc5jyqc8.fsf@news.eternal-september.org> (Richard Riley's message of "Thu, 10 Mar 2011 15:58:47 +0100")

Richard Riley <rileyrg@googlemail.com> writes:

> Bernt Hansen <bernt@norang.ca> writes:
>
>> Richard Riley <rileyrg@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

      parent reply	other threads:[~2011-03-10 15:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-10 13:41 tags match agenda Richard Riley
2011-03-10 14:11 ` Sébastien Vauban
2011-03-10 14:25   ` Richard Riley
2011-03-10 14:16 ` John Hendy
2011-03-10 14:19   ` Richard Riley
2011-03-10 14:36 ` Bernt Hansen
2011-03-10 14:58   ` Richard Riley
2011-03-10 15:18     ` Carsten Dominik
2011-03-10 15:33     ` Bernt Hansen [this message]

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=87pqpzt2ga.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrg@googlemail.com \
    /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).