* tags match agenda
@ 2011-03-10 13:41 Richard Riley
2011-03-10 14:11 ` Sébastien Vauban
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Richard Riley @ 2011-03-10 13:41 UTC (permalink / raw)
To: Emacs-orgmode mailing list
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
regards
r.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tags match agenda
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:36 ` Bernt Hansen
2 siblings, 1 reply; 9+ messages in thread
From: Sébastien Vauban @ 2011-03-10 14:11 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hi Richard,
Richard Riley wrote:
> 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
It works for me with a slightly different syntax:
#+FILETAGS: :laptop:car:pc:sailboat:
Best regards,
Seb
--
Sébastien Vauban
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tags match agenda
2011-03-10 14:11 ` Sébastien Vauban
@ 2011-03-10 14:25 ` Richard Riley
0 siblings, 0 replies; 9+ messages in thread
From: Richard Riley @ 2011-03-10 14:25 UTC (permalink / raw)
To: emacs-orgmode
Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
writes:
> Hi Richard,
>
> Richard Riley wrote:
>> 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
>
> It works for me with a slightly different syntax:
>
>
>
> #+FILETAGS: :laptop:car:pc:sailboat:
>
Good to know as thats how I had it originally.
I wonder if its a bug to do with my capture template being of the form
("j" "Journal" entry
(file+datetree "journal.org")
"* %?\n :PROPERTIES:\n :DateCreated: %T\n :END:\n%i\n%a")
i.e datetree not being properly searched? Other file level tags work
fine.
regards
r.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tags match agenda
2011-03-10 13:41 tags match agenda Richard Riley
2011-03-10 14:11 ` Sébastien Vauban
@ 2011-03-10 14:16 ` John Hendy
2011-03-10 14:19 ` Richard Riley
2011-03-10 14:36 ` Bernt Hansen
2 siblings, 1 reply; 9+ messages in thread
From: John Hendy @ 2011-03-10 14:16 UTC (permalink / raw)
To: Richard Riley; +Cc: Emacs-orgmode mailing list
On Thu, Mar 10, 2011 at 7:41 AM, Richard Riley <rileyrg@googlemail.com> wrote:
>
> 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
>
Perhaps make a simple file with four headlines, each tagged one of the
ones you listed, copy it to the list, and then state which tag is not
showing up with =C-c a m=? Then we can try to replicate.
John
>
> regards
>
> r.
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tags match agenda
2011-03-10 14:16 ` John Hendy
@ 2011-03-10 14:19 ` Richard Riley
0 siblings, 0 replies; 9+ messages in thread
From: Richard Riley @ 2011-03-10 14:19 UTC (permalink / raw)
To: Emacs-orgmode mailing list
John Hendy <jw.hendy@gmail.com> writes:
> On Thu, Mar 10, 2011 at 7:41 AM, Richard Riley <rileyrg@googlemail.com> wrote:
>>
>> 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
>>
>
> Perhaps make a simple file with four headlines, each tagged one of the
> ones you listed, copy it to the list, and then state which tag is not
> showing up with =C-c a m=? Then we can try to replicate.
>
It's file level tags which dont work. The extract above is from the
manual - do they work for you in that format?
regards
r.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tags match agenda
2011-03-10 13:41 tags match agenda Richard Riley
2011-03-10 14:11 ` Sébastien Vauban
2011-03-10 14:16 ` John Hendy
@ 2011-03-10 14:36 ` Bernt Hansen
2011-03-10 14:58 ` Richard Riley
2 siblings, 1 reply; 9+ messages in thread
From: Bernt Hansen @ 2011-03-10 14:36 UTC (permalink / raw)
To: Richard Riley; +Cc: Emacs-orgmode mailing list
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
Hi Richard,
I think this works for me. I'm using C-c a 1 m since my test file is
not in org-agenda-files.
I've applied some of those tags to headings in my test file and I can
show them with an agenda tags match. C-c a 1 m laptop RET
I am assuming you just want to define the tags for this file only and
not apply them to every heading in the file (which is #+FILETAGS:)
Can you provide any more information about this problem?
--
Bernt
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tags match agenda
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
0 siblings, 2 replies; 9+ messages in thread
From: Richard Riley @ 2011-03-10 14:58 UTC (permalink / raw)
To: Bernt Hansen; +Cc: Emacs-orgmode mailing list
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
>
> Hi Richard,
>
> I think this works for me. I'm using C-c a 1 m since my test file is
> not in org-agenda-files.
>
> I've applied some of those tags to headings in my test file and I can
> show them with an agenda tags match. C-c a 1 m laptop RET
>
> I am assuming you just want to define the tags for this file only and
> not apply them to every heading in the file (which is #+FILETAGS:)
>
> Can you provide any more information about this problem?
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 would expect C-c a m journal
to show all journal entries in a standard result list.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tags match agenda
2011-03-10 14:58 ` Richard Riley
@ 2011-03-10 15:18 ` Carsten Dominik
2011-03-10 15:33 ` Bernt Hansen
1 sibling, 0 replies; 9+ messages in thread
From: Carsten Dominik @ 2011-03-10 15:18 UTC (permalink / raw)
To: Richard Riley; +Cc: Bernt Hansen, Emacs-orgmode mailing list
On Mar 10, 2011, at 3:58 PM, Richard Riley wrote:
> 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
>>
>> Hi Richard,
>>
>> I think this works for me. I'm using C-c a 1 m since my test file is
>> not in org-agenda-files.
>>
>> I've applied some of those tags to headings in my test file and I can
>> show them with an agenda tags match. C-c a 1 m laptop RET
>>
>> I am assuming you just want to define the tags for this file only and
>> not apply them to every heading in the file (which is #+FILETAGS:)
>>
>> Can you provide any more information about this problem?
>
> 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 would expect C-c a m journal
>
> to show all journal entries in a standard result list.
Hi Richard,
what is the value of the variable org-tags-match-list-sublevels?
- Carsten
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: tags match agenda
2011-03-10 14:58 ` Richard Riley
2011-03-10 15:18 ` Carsten Dominik
@ 2011-03-10 15:33 ` Bernt Hansen
1 sibling, 0 replies; 9+ messages in thread
From: Bernt Hansen @ 2011-03-10 15:33 UTC (permalink / raw)
To: Richard Riley; +Cc: Emacs-orgmode mailing list
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
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-03-10 15:33 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).