From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: exclude certain tags from inheritance Date: Tue, 22 Oct 2013 08:15:59 -0400 Message-ID: <87sivt8ps0.fsf@gmail.com> References: <87eh7exstc.fsf@pcbe13433.cern.ch> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYask-0004ND-BP for emacs-orgmode@gnu.org; Tue, 22 Oct 2013 08:16:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYase-0000bz-Qe for emacs-orgmode@gnu.org; Tue, 22 Oct 2013 08:16:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:58501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYase-0000bt-JG for emacs-orgmode@gnu.org; Tue, 22 Oct 2013 08:16:12 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VYasb-0003Ub-N9 for emacs-orgmode@gnu.org; Tue, 22 Oct 2013 14:16:09 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Oct 2013 14:16:09 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Oct 2013 14:16:09 +0200 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: emacs-orgmode@gnu.org 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