From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: group tags defined in org-tag-persistent-alist do not match their subtags [8.3.4 (8.3.4-31-gcb683e-elpa @ /home/jorge/.emacs.d/elpa/org-20160404/)] Date: Mon, 18 Apr 2016 18:24:56 +0200 Message-ID: <87mvoqevfr.fsf@nicolasgoaziou.fr> References: <1460239101.3278.70.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asBwp-0001Za-MK for Emacs-orgmode@gnu.org; Mon, 18 Apr 2016 12:22:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asBwl-0000N2-3X for Emacs-orgmode@gnu.org; Mon, 18 Apr 2016 12:22:51 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:58966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asBwk-0000K7-MG for Emacs-orgmode@gnu.org; Mon, 18 Apr 2016 12:22:46 -0400 In-Reply-To: <1460239101.3278.70.camel@gmail.com> (Jorge Peixoto de Morais Neto's message of "Sat, 09 Apr 2016 18:58:21 -0300") 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" To: Jorge Peixoto de Morais Neto Cc: "Emacs-orgmode@gnu.org" Hello, Jorge Peixoto de Morais Neto writes: > Suppose I wanted "animal" to be a group tag matching itself and > "mammal". =C2=A0I would like them to be mutually exclusive to avoid > redundancy. =C2=A0So I would define them in org-tag-persistent-alist as > such: > =C2=A0 =C2=A0 =C2=A0(:startgroup) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0("animal" . ?a) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(:grouptags) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0("mammal" . ?m) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(:endgroup) > > But then a tag search (e.g. trough=C2=A0org-match-sparse-tree) for "anima= l" > does not match an entry tagged as "mammal". =C2=A0I expected it to match. Fixed in master. Thank you. > To ease debugging, I have created a new .emacs.d and removed all > unnecessary customizations (but still included a copy of my usual > ~/.emacs.d/elpa).=C2=A0 I have also reduced the .org file to a minimum.= =C2=A0=C2=A0I > provide them as a compressed archive (.txz) here: > https://www.dropbox.com/s/edas2l4e7ekbmek/group-tags-bug.txz?dl=3D0 > I can also mail it on request (it is about 4MiB) For the record, it is better to simply post minimal init.el and "group-tags-bug.org", both as plain text, in the message. Regards, --=20 Nicolas Goaziou