emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: exclude certain tags from inheritance
Date: Tue, 22 Oct 2013 08:15:59 -0400	[thread overview]
Message-ID: <87sivt8ps0.fsf@gmail.com> (raw)
In-Reply-To: uaxtxg9ld6d.fsf@beesknees.cern.ch

David Belohrad <david@belohrad.ch> writes:

> Hi Christinan,
> thanks for hint. That one i've tested as first. doing
>
> (setq org-use-tag-inheritance "^[@#]")
>

That should probably be

(setq org-use-tag-inheritance "^[^@#]")

(i.e. anything *not* starting with @ or #).

Untested.

Nick


> surprisingly, it does not do the expected stuff and all @xxx tags are
> still exported to the branches, where they are not supposed to be.
>
> At the same time I've tested this:
>
>   (setq org-tags-exclude-from-inheritance '(
> "@Adrian" 	"@LiShu" 	"@Martin"))
>
> and this one perfectly does the job when org-use-tag-inheritance is set
> to true. Trouble with this one is, that @ is basically followed by a
> name, and with every new name I have to for the moment manually add an
> item into exclude ....
>
> .d.
>
>
>
> Christian Moe <mail@christianmoe.com> writes:
>
>> Hi,
>>
>> Try setting org-use-tag-inheritance to "^[@#]"
>>
>> Yours,
>> Christian
>>
>> David Belohrad writes:
>>
>>> Could someone help me to construct the expression such, that all tags
>>> starting with @ or # will be excluded from inheritance?
>>>
>>> many thanks
>>>
>>> .d.
>
>

-- 
Nick

  reply	other threads:[~2013-10-22 12:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-21 20:38 exclude certain tags from inheritance David Belohrad
2013-10-22  8:38 ` Christian Moe
2013-10-22 12:09   ` David Belohrad
2013-10-22 12:15     ` Nick Dokos [this message]
2013-10-23  8:42       ` David Belohrad
2013-10-22 13:03     ` Christian Moe

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=87sivt8ps0.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).