From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tina Russell Subject: Mutually-exclusive Org tags still inherit each other Date: Thu, 7 Feb 2019 16:42:22 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002165650581573c86" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:52307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gruFj-0005y5-Gm for emacs-orgmode@gnu.org; Thu, 07 Feb 2019 19:42:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gruFg-0002n7-J1 for emacs-orgmode@gnu.org; Thu, 07 Feb 2019 19:42:47 -0500 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:44242) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gruFb-0002jm-RM for emacs-orgmode@gnu.org; Thu, 07 Feb 2019 19:42:42 -0500 Received: by mail-lf1-x12e.google.com with SMTP id z13so1285678lfe.11 for ; Thu, 07 Feb 2019 16:42:36 -0800 (PST) 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: emacs-orgmode@gnu.org --0000000000002165650581573c86 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable First of all, I want to say that I really appreciate Org Mode, I wouldn=E2= =80=99t be using Emacs without it, and it=E2=80=99s where I spend the vast majority= of my time in Emacs. Thank you all! So, according to the Org documentation: =E2=80=9CYou can also group togethe= r tags that are mutually exclusive by using braces =E2=80=A6 Selecting a tag in a = group of mutually exclusive tags will turn off any other tags from that group. But, if I do this=E2=80=A6 #+TAGS: { place(c) container(c) object(o) } * Room :place: ** Box :container: *** Toy :object: =E2=80=A6and then use (org-get-tags) on =E2=80=9CToy,=E2=80=9D it reports t= hat it has the tags =E2=80=9Cplace=E2=80=9D, =E2=80=9Ccontainer=E2=80=9D, and =E2=80=9Cobject= =E2=80=9D, even though these tags are all defined to be mutually exclusive! This is a problem, since turning off tag inheritance (for a document or for specific tags) seems to be an all-or-nothing affair. That means if I wanted to do this: * Room :place: ** Bookcase ** Dresser ** Desk ** Nightstand ** Closet *** Box :container: **** Toy :object: =E2=80=A6and then search for all headings with the tag =E2=80=9Cplace,=E2= =80=9D either (with tag inheritance) everything, including =E2=80=9CBox=E2=80=9D and =E2=80=9CToy,= =E2=80=9D will be returned, or (without tag inheritance) only =E2=80=9CRoom=E2=80=9D would be returned. (I= could put a tag on every heading where I want it inherited, but that would both defeat the purpose of inheritance and make it difficult to manage large trees.) I can=E2=80=99t find any solutions to this online, so I=E2=80=99m posting t= his here. I hope it can get fixed. Thank you! =E2=80=94Tina --0000000000002165650581573c86 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
First of all, I want to say that I really= appreciate Org Mode, I wouldn=E2=80=99t be using Emacs without it, and it= =E2=80=99s where I spend the vast majority of my time in Emacs. Thank you a= ll!

So, according to the Org documentation: =E2=80=9CYou can also gr= oup together tags that are mutually exclusive by using braces =E2=80=A6=C2= =A0Selecting a tag in a group of mutually exclusive tags will turn off any = other tags from that group.

But, if I do this=E2=80=A6

#+TAGS: { place(c) container(c) object(o) }

* Room :place:
** Box :container:
*** T= oy :object:

=E2=80=A6and then use (org-get-t= ags) on =E2=80=9CToy,=E2=80=9D it reports that it has the tags =E2=80=9Cpla= ce=E2=80=9D, =E2=80=9Ccontainer=E2=80=9D, and =E2=80=9Cobject=E2=80=9D, eve= n though these tags are all defined to be mutually exclusive! This is a pro= blem, since turning off tag inheritance (for a document or for specific tag= s) seems to be an all-or-nothing affair. That means if I wanted to do this:=

* Room :place:
** Bookcase
** Dresser
** Desk
** Nightstand
** Closet=
*** Box :container:
**** Toy :object:
=
=E2=80=A6and then search for all headings with the tag =E2= =80=9Cplace,=E2=80=9D either (with tag inheritance) everything, including = =E2=80=9CBox=E2=80=9D and =E2=80=9CToy,=E2=80=9D will be returned, or (with= out tag inheritance) only =E2=80=9CRoom=E2=80=9D would be returned. (I coul= d put a tag on every heading where I want it inherited, but that would both= defeat the purpose of inheritance and make it difficult to manage large tr= ees.)

I can=E2=80=99t find any solutions to this o= nline, so I=E2=80=99m posting this here. I hope it can get fixed. Thank you= !

=E2=80=94Tina
--0000000000002165650581573c86--