emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* inheritance of mutually exclusive tags
@ 2016-12-28 13:29 yanmcbe
  2017-02-23 13:26 ` Nicolas Goaziou
  2022-10-16 12:25 ` [O] " Ihor Radchenko
  0 siblings, 2 replies; 3+ messages in thread
From: yanmcbe @ 2016-12-28 13:29 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 758 bytes --]

Org-mode allows marking a set of tags as mutually exclusive. It also allows
the inheritance of tags.

(from now on I am talking only about these mutually exclusive tags)

When a tag is set in a parent, but also in a child, what I expect to happen
is that the child is not included in searches/selections with the parent
tag.

In the example [0], a search for black (e.g. C-/ m black <ret>) should not
match poodle, because it is white.

Now I realize that the mutually exclusive tag concept is probably only a
convenience for adding tags with C-c. And it doesn't seem to have any other
implications, but it would be nice to have. Do you think this is a
possibility or that I could get this behaviour some other way?

Thanks!

[0] http://paste.lisp.org/+76JF

[-- Attachment #2: Type: text/html, Size: 965 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: inheritance of mutually exclusive tags
  2016-12-28 13:29 inheritance of mutually exclusive tags yanmcbe
@ 2017-02-23 13:26 ` Nicolas Goaziou
  2022-10-16 12:25 ` [O] " Ihor Radchenko
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2017-02-23 13:26 UTC (permalink / raw)
  To: yanmcbe; +Cc: org mode

Hello,

yanmcbe <yanmcbe@gmail.com> writes:

> Org-mode allows marking a set of tags as mutually exclusive. It also allows
> the inheritance of tags.
>
> (from now on I am talking only about these mutually exclusive tags)
>
> When a tag is set in a parent, but also in a child, what I expect to happen
> is that the child is not included in searches/selections with the parent
> tag.
>
> In the example [0], a search for black (e.g. C-/ m black <ret>) should not
> match poodle, because it is white.
>
> Now I realize that the mutually exclusive tag concept is probably only a
> convenience for adding tags with C-c. And it doesn't seem to have any other
> implications, but it would be nice to have. Do you think this is a
> possibility or that I could get this behaviour some other way?

I'm late to the party, but it sounds like a good idea. It would need to
be properly documented however, as it could be surprising.

Would you want to provide a patch for that?

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [O] inheritance of mutually exclusive tags
  2016-12-28 13:29 inheritance of mutually exclusive tags yanmcbe
  2017-02-23 13:26 ` Nicolas Goaziou
@ 2022-10-16 12:25 ` Ihor Radchenko
  1 sibling, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2022-10-16 12:25 UTC (permalink / raw)
  To: yanmcbe; +Cc: org mode

yanmcbe <yanmcbe@gmail.com> writes:

> Org-mode allows marking a set of tags as mutually exclusive. It also allows
> the inheritance of tags.
>
> (from now on I am talking only about these mutually exclusive tags)
>
> When a tag is set in a parent, but also in a child, what I expect to happen
> is that the child is not included in searches/selections with the parent
> tag.
>
> In the example [0], a search for black (e.g. C-/ m black <ret>) should not
> match poodle, because it is white.
>
> Now I realize that the mutually exclusive tag concept is probably only a
> convenience for adding tags with C-c. And it doesn't seem to have any other
> implications, but it would be nice to have. Do you think this is a
> possibility or that I could get this behaviour some other way?

It took many years, but I can still reproduce.
Confirmed.

And it is no easier to fix...

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-16 12:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-28 13:29 inheritance of mutually exclusive tags yanmcbe
2017-02-23 13:26 ` Nicolas Goaziou
2022-10-16 12:25 ` [O] " Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).