emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: David Belohrad <david@belohrad.ch>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>,
	Christian Moe <mail@christianmoe.com>
Subject: Re: exclude certain tags from inheritance
Date: Tue, 22 Oct 2013 15:03:44 +0200	[thread overview]
Message-ID: <m2zjq1tq33.fsf@uio.no> (raw)
In-Reply-To: <uaxtxg9ld6d.fsf@beesknees.cern.ch>

Hei,

Oops, sorry, a circumflex too few. Try: "^[^@#]"

- matches only strings whose first character is not @ or #.

Yours,
Christian

David Belohrad writes:

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

      parent reply	other threads:[~2013-10-22 12:58 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
2013-10-23  8:42       ` David Belohrad
2013-10-22 13:03     ` Christian Moe [this message]

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=m2zjq1tq33.fsf@uio.no \
    --to=mail@christianmoe.com \
    --cc=david@belohrad.ch \
    --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).