From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Belohrad Subject: Re: exclude certain tags from inheritance Date: Tue, 22 Oct 2013 14:09:46 +0200 Message-ID: References: <87eh7exstc.fsf@pcbe13433.cern.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYama-0002E9-8N for emacs-orgmode@gnu.org; Tue, 22 Oct 2013 08:10:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYamT-0006pe-OX for emacs-orgmode@gnu.org; Tue, 22 Oct 2013 08:09:56 -0400 Received: from static-212-101-19-163.adsl.solnet.ch ([212.101.19.163]:50445 helo=server.belohrad.ch) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYamT-0006pX-Ge for emacs-orgmode@gnu.org; Tue, 22 Oct 2013 08:09:49 -0400 In-Reply-To: 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: Christian Moe Cc: Org Mode Mailing List 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 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.