From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bingo UV Subject: Re: Tag hierarchies Date: Sat, 22 Aug 2015 12:20:04 +0530 Message-ID: <20150822122004.1e7ce67a@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZT2d8-0004Tt-Qw for emacs-orgmode@gnu.org; Sat, 22 Aug 2015 02:50:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZT2d5-00064H-KF for emacs-orgmode@gnu.org; Sat, 22 Aug 2015 02:50:18 -0400 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:35618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZT2d5-00064C-AM for emacs-orgmode@gnu.org; Sat, 22 Aug 2015 02:50:15 -0400 Received: by pdob1 with SMTP id b1so34042734pdo.2 for ; Fri, 21 Aug 2015 23:50:14 -0700 (PDT) In-Reply-To: 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: Shankar Rao Cc: emacs-orgmode@gnu.org On Fri, 21 Aug 2015 16:35:31 -0700 Shankar Rao wrote: > I've read about tag hierarchies in the manual > (http://orgmode.org/manual/Tag-hierarchy.html#Tag-hierarchy) and my > understanding is that searching for a group tag A will search for > headlines tagged either with A or any of A's descendants. However this > isn't the behavior I observe. In the example below, if I do a agenda > tag search for :agroup:, :dgroup, or :egroup:, nothing shows up in the > search. Only tags that are explicitly in a headline, like :foo:,:bar:, > or :bgroup:, show up in searches. Is this a bug or a misunderstanding > of how tag hierarchies are supposed to work? org-group-tag is set to t > (the default). > > Shankar Rao > Aquamacs 3.2 GNU Emacs 24.4.51.2 > Org 8.2.10 > > ------ begin example > #+STARTUP: overview > #+TAGS: [ agroup : foo baz ] > #+TAGS: [ bgroup : bar ] > #+TAGS: [ cgroup ] > #+TAGS: [ dgroup : gah ] > #+TAGS: [ egroup : doh meh ] > > * TODO Cure > cancer :foo: ** > DONE Sequence human genome ** WAIT Obtain funding from government > ** DONE Find cancer causing genes > ** DONE Genetically engineer rate with gene > CLOSED: [2015-08-12 Wed 16:00] > ** DONE Test for cancer in rats > CLOSED: [2015-08-13 Thu 11:00] > ** DONE Develop gene therapy for humans > CLOSED: [2015-08-17 Mon 16:19] > ** TODO Find human test subjects > * End > homelessness :foo: > ** DONE Find all homeless people CLOSED: [2015-08-17 Mon 16:15] > ** DONE Get money to build a bunch of homes > CLOSED: [2015-08-21 Fri 12:07] > ** DONE Build homes for homeless people > CLOSED: [2015-08-21 Fri 10:07] > ** DONE Give homes to homeless people > CLOSED: [2015-08-21 Fri 13:07] > * Write paper on cancer gene > therapy :foo: ** TODO Make outline > for paper > * DONE Make presentation on ending > homelessness :foo: CLOSED: [2015-08-14 Fri > 17:15] > * TODO Provide inputs for cancer research progress > report :foo: DEADLINE: <2015-09-02 Wed> > * TODO Determine hardware requirements for cold > fusion :baz: > * DONE Provide inputs for cold fusion research progress > report :baz: CLOSED: [2015-08-12 Wed 14:20] > * Investigate methods for hot, but not that hot > fusion :baz: > * TODO Brainstorm with Stephen Hawking on new laws of > robotics :gah: > * DONE Look at papers on chilly > superconductors :doh: > * Investigate models for chilly > superconductors :doh: > * WAIT Proposal for trip to > Mars :doh:cgroup: ** DONE E-mail > reminder to NASA director ** DONE Rehearse proposal presentation > * TODO Proposal for autonomous car > project :bgroup::doh: ** DONE Go over papers on > autonomous cars CLOSED: [2015-08-20 Thu 14:08] > ** DONE Discuss them with Elon Musk > CLOSED: [2015-08-20 Thu 16:08] > ** DONE Add charts on new ideas to proposal presentation > CLOSED: [2015-08-20 Thu 17:10] > * TODO Respond to critiques of economic > plan :meh: ** TODO Paragraph explaining > more about how OneTrueTax works > * TODO Develop new fungi that taste like > chicken :bar: ** DONE Find chicken genes that > contribute to taste CLOSED: [2015-08-19 Wed 21:18] > ** DONE Splice chicken genes into fungi DNA > CLOSED: [2015-08-19 Wed 21:18] > ** DONE Breed new fungi > CLOSED: [2015-08-19 Wed 21:18] > ** DONE Cook basic dishes with new fungi > CLOSED: [2015-08-19 Wed 21:18] > ** TODO Explore different kinds of seasoning > ** TODO Explore difference between frying, baking, boiling fungi > ** TODO Test cooked chicken-fungi with food scientists > ** TODO Test cooked chicken-fungi with blind panel > ------ end example > Tag hierarchy is a new feature in Org 8.3 : http://orgmode.org/Changes.html