emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Tags question


From: Nick Dokos
Subject: Re: [O] Tags question
Date: Sat, 24 Dec 2011 12:56:23 -0500

Pavel Panchekha <address@hidden> wrote:

> Hmm, I can see how to view all TODOs associated with a tag... but how can I 
> do this across all tags. 
> In SQL terms, I need a RIGHT JOIN, not a SELECT ... WHERE.
> 

There is a function that is used for tags completion:

,----
| org-global-tags-completion-table is a Lisp function in `org.el'.
| 
| (org-global-tags-completion-table &optional FILES)
| 
| Return the list of all tags in all agenda buffer/files.
| Optional FILES argument is a list of files to which can be used
| instead of the agenda files.
`----

Maybe you can use that to loop over tags - depending on how you organize
your files and how you arrange the loops, there might be significant performance
differences, so you might want to experiment.

HTH,
Nick

> 
> On Sat, Dec 24, 2011 at 11:20 AM, Nick Dokos <address@hidden> wrote:
> 
>     Bernt Hansen <address@hidden> wrote:
>    
>     > Pavel Panchekha <address@hidden> writes:
>     >
>     > > I like seeing an organized breakdown of tasks I need to get done.  I
>     > > don't use deadlines, so the agenda view isn't useful to me, but what
>     > > would be nice is just all of my tasks grouped by tags.  So, for each
>     > > tag, all tasks with that  tag.  I'd been doing this manually by
>     > > setting up a heirarchy and using the outlining tools, but I'm afraid
>     > > using tags instead of heirarchy is becoming useful to me.  Is there
>     > > any agenda view or other feature that does this, and if not, how
>     > > might I go about coding it myself?
>     > >
>     > > - Pavel Panchekha
>     >
>     > The agenda view is much more than a calendar-only view.
>     >
>     > Try the todo list agenda view with a tag filter to show only tasks for a
>     > specific tag
>     >
>     > C-c a t / TAB tag RET
>     >
>    
>     Also check out section 6.3 of the manual: (info "(org)Tag searches")
>    
>     Nick
> 
> 
> ----------------------------------------------------
> Alternatives:
> 
> ----------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]