Re: [O] Strange Custom Agenda Problem

2012-05-23 Thread Laurynas Biveinis
2012/5/23 Bastien b...@gnu.org:
 In my case the negative tag selection stopped working in tags-todo. For 
 example,
 project-somedaymaybe/!TODO
 works as if it were
 project+somedaymaybe/!TODO

 this should be fixed now -- please have a pull and let me know.

I did and can confirm the fix. Thanks!

-- 
Laurynas



Re: [O] Strange Custom Agenda Problem

2012-05-21 Thread Laurynas Biveinis
I am also experiencing strange issues with custom agenda commands
after I upgraded to 7.8.10 (not sure if from 7.8.09 - I might have
skipped a version or two).

In my case the negative tag selection stopped working in tags-todo. For example,
project-somedaymaybe/!TODO
works as if it were
project+somedaymaybe/!TODO

I haven't found time yet to narrow down the configuration and org
files to something resembling a bug report.

 Did something change recently in the agenda construction related to
 tags-todo?

 This: http://orgmode.org/w/?p=org-mode.git;a=commit;h=c50f0c

I will try to see if reverting this helps in my case.


-- 
Laurynas



Re: [O] A custom agenda view for archivable non-project tasks?

2012-05-21 Thread Laurynas Biveinis
2012/5/22 Matt Lundin m...@imapmail.org:
 So I would like to have a way to list all items in a done state where
 there is no 'project' tag on it nor in any of its (indirect) parents.

 Does the following work?

 --8---cut here---start-8---
 (org-add-agenda-custom-command
  '(x Archivable
   ((tags -project/DONE
          ((org-use-tag-inheritance '(project)))
 --8---cut here---end---8---

 The local org-use-tag-inheritance binding should override your other
 tag inheritance settings for this search only.

Thanks, this is exactly what I was looking for!


-- 
Laurynas



[O] A custom agenda view for archivable non-project tasks?

2012-05-20 Thread Laurynas Biveinis
Hi -

I am trying to implement the following but I am not really getting
anywhere. I want to have a block in a custom agenda that lists all
archivable tasks, where archivable means in any of done states
and not in a project. In my system projects are subtrees that have
'project' tag associated with them. This tag is non-inheritable and
I'd rather keep it that way.

So I would like to have a way to list all items in a done state where
there is no 'project' tag on it nor in any of its (indirect) parents.

Alternatively listing archivable projects too would work (these
would be defined as all subitems in a done state - not necessarily
the project itself in a done state), as long as its subitems are not
listed, but that sounds more complex.

TIA for any pointers to the right direction,
-- 
Laurynas



Re: [O] Custom agenda view by TODO state and tag

2011-04-26 Thread Laurynas Biveinis
Bernt, Matt -

2011/4/26 Bernt Hansen be...@norang.ca:
 Just use a tags-todo filter and list both.

 (n Next and Started tasks tags-todo -WAITING-CANCELLED/!NEXT|STARTED
               ((org-agenda-overriding-header Next Tasks)))

Thanks! Apparently all I had to do is to add /!TODO to my custom
search view filters. (This is to implement GTD next action lists, I
use TODO for next actions and WAITING for the to-do items which I
cannot do right now)

Now I have found it in the manual too, missed it on the first two readings.

-- 
Laurynas



[O] Custom agenda view by TODO state and tag

2011-04-25 Thread Laurynas Biveinis
Hi everybody -

I want to create a custom agenda view that filters by both TODO state
and tags, i.e. a combination of todo and tags-todo search types. I
have tried creating custom search action
((org-agenda-todo TODO) (org-agenda-filter tag1|tag2)) but failed.

Any pointers?
Thanks,
-- 
Laurynas