emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Belohrad <david@belohrad.ch>
To: Nick Dokos <ndokos@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: exclude certain tags from inheritance
Date: Wed, 23 Oct 2013 10:42:05 +0200	[thread overview]
Message-ID: <uaxwql44bvm.fsf@beesknees.cern.ch> (raw)
In-Reply-To: <87sivt8ps0.fsf@gmail.com>


YEEEES! This works as a charm. Many thanks guys.

d.



Nick Dokos <ndokos@gmail.com> writes:

> 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-23  8:42 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 [this message]
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=uaxwql44bvm.fsf@beesknees.cern.ch \
    --to=david@belohrad.ch \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@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).