From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Tags question Date: Sat, 24 Dec 2011 12:56:23 -0500 Message-ID: <31727.1324749383@alphaville.dokosmarshall.org> References: <878vm26pza.fsf@norang.ca> <27670.1324743602@alphaville.dokosmarshall.org> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReVpu-0002F0-9A for emacs-orgmode@gnu.org; Sat, 24 Dec 2011 12:56:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ReVps-00063p-K2 for emacs-orgmode@gnu.org; Sat, 24 Dec 2011 12:56:46 -0500 Received: from g1t0028.austin.hp.com ([15.216.28.35]:37995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReVps-00063j-3Z for emacs-orgmode@gnu.org; Sat, 24 Dec 2011 12:56:44 -0500 In-Reply-To: Message from Pavel Panchekha of "Sat\, 24 Dec 2011 11\:22\:17 EST." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Pavel Panchekha Cc: Bernt Hansen , nicholas.dokos@hp.com, emacs-orgmode@gnu.org Pavel Panchekha wrote: > Hmm, I can see how to view all TODOs associated with a tag... but how can= I do this across all tags.=C2=A0 > In SQL terms, I need a RIGHT JOIN, not a SELECT ... WHERE. >=20 There is a function that is used for tags completion: ,---- | org-global-tags-completion-table is a Lisp function in `org.el'. |=20 | (org-global-tags-completion-table &optional FILES) |=20 | 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 perfor= mance differences, so you might want to experiment. HTH, Nick >=20 > On Sat, Dec 24, 2011 at 11:20 AM, Nick Dokos wrot= e: >=20 > Bernt Hansen wrote: >=20=20=20=20 > > Pavel Panchekha writes: > > > > > I like seeing an organized breakdown of tasks I need to get done.= =C2=A0 I > > > don't use deadlines, so the agenda view isn't useful to me, but w= hat > > > would be nice is just all of my tasks grouped by tags.=C2=A0 So, = for each > > > tag, all tasks with that=C2=A0 tag.=C2=A0 I'd been doing this man= ually by > > > setting up a heirarchy and using the outlining tools, but I'm afr= aid > > > using tags instead of heirarchy is becoming useful to me.=C2=A0 I= s 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 > > >=20=20=20=20 > Also check out section 6.3 of the manual: (info "(org)Tag searches") >=20=20=20=20 > Nick >=20 >=20 > ---------------------------------------------------- > Alternatives: >=20 > ----------------------------------------------------