From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shankar Rao Subject: Tag hierarchies Date: Fri, 21 Aug 2015 16:35:31 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSvqP-0004o3-F0 for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 19:35:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSvqO-0004gD-0u for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 19:35:33 -0400 Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:33059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSvqN-0004fy-Se for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 19:35:31 -0400 Received: by oio137 with SMTP id 137so50752020oio.0 for ; Fri, 21 Aug 2015 16:35:31 -0700 (PDT) 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: emacs-orgmode@gnu.org 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