From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Belohrad Subject: Re: exclude certain tags from inheritance Date: Wed, 23 Oct 2013 10:42:05 +0200 Message-ID: References: <87eh7exstc.fsf@pcbe13433.cern.ch> <87sivt8ps0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYu1D-00089Z-7a for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 04:42:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYu13-0002yH-VQ for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 04:42:19 -0400 Received: from static-212-101-19-163.adsl.solnet.ch ([212.101.19.163]:50952 helo=server.belohrad.ch) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYu13-0002wp-NW for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 04:42:09 -0400 In-Reply-To: <87sivt8ps0.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos , emacs-orgmode@gnu.org YEEEES! This works as a charm. Many thanks guys. d. Nick Dokos writes: > David Belohrad 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 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