emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: yanmcbe <yanmcbe@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: inheritance of mutually exclusive tags
Date: Thu, 23 Feb 2017 14:26:28 +0100	[thread overview]
Message-ID: <87d1e9domz.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CALeTTmG3X-FgHmyHAmjW02PkjnG4DRY9hooB7_wnWUD_c4HBUg@mail.gmail.com> (yanmcbe@gmail.com's message of "Wed, 28 Dec 2016 14:29:21 +0100")

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

  reply	other threads:[~2017-02-23 13:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-28 13:29 inheritance of mutually exclusive tags yanmcbe
2017-02-23 13:26 ` Nicolas Goaziou [this message]
2022-10-16 12:25 ` [O] " Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1e9domz.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=yanmcbe@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).