Re: [O] tags match agenda

2011-03-10 Thread Sébastien Vauban
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




Re: [O] tags match agenda

2011-03-10 Thread John Hendy
On Thu, Mar 10, 2011 at 7:41 AM, Richard Riley rile...@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.





Re: [O] tags match agenda

2011-03-10 Thread Richard Riley
John Hendy jw.he...@gmail.com writes:

 On Thu, Mar 10, 2011 at 7:41 AM, Richard Riley rile...@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.



Re: [O] tags match agenda

2011-03-10 Thread Richard Riley
Sébastien Vauban wxhgmqzgw...@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.




Re: [O] tags match agenda

2011-03-10 Thread Bernt Hansen
Richard Riley rile...@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



Re: [O] tags match agenda

2011-03-10 Thread Richard Riley
Bernt Hansen be...@norang.ca writes:

 Richard Riley rile...@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.




Re: [O] tags match agenda

2011-03-10 Thread Carsten Dominik

On Mar 10, 2011, at 3:58 PM, Richard Riley wrote:

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



Re: [O] tags match agenda

2011-03-10 Thread Bernt Hansen
Richard Riley rile...@googlemail.com writes:

 Bernt Hansen be...@norang.ca writes:

 Richard Riley rile...@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