emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Pavel Panchekha <me@pavpanchekha.com>
Cc: Bernt Hansen <bernt@norang.ca>,
	nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Tags question
Date: Sat, 24 Dec 2011 12:56:23 -0500	[thread overview]
Message-ID: <31727.1324749383@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Pavel Panchekha <me@pavpanchekha.com> of "Sat\, 24 Dec 2011 11\:22\:17 EST." <CAE4=OQ8qGxZtvCHsy_Xo5VW=eANcTUFAyxfNrehoEZSfKODOFw@mail.gmail.com>

Pavel Panchekha <me@pavpanchekha.com> 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 <nicholas.dokos@hp.com> wrote:
> 
>     Bernt Hansen <bernt@norang.ca> wrote:
>    
>     > Pavel Panchekha <me@pavpanchekha.com> 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	other threads:[~2011-12-24 17:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-24  4:58 Tags question Pavel Panchekha
2011-12-24 13:47 ` Bernt Hansen
2011-12-24 16:20   ` Nick Dokos
2011-12-24 16:22     ` Pavel Panchekha
2011-12-24 17:56       ` Nick Dokos [this message]
2011-12-24 20:28         ` Herbert Sitz

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=31727.1324749383@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=me@pavpanchekha.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).