From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Adding new switch or header Date: Wed, 04 Nov 2015 23:50:42 +0100 Message-ID: <87h9l11irh.fsf@nicolasgoaziou.fr> References: <87r3k7xen4.fsf@russet.org.uk> <87d1vrhvf4.fsf@ucl.ac.uk> <87r3k6vj8i.fsf@russet.org.uk> <87si4mkuc6.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu6rT-00054j-0F for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 17:48:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu6rR-0004lp-Vf for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 17:48:58 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:56656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu6rR-0004li-PB for emacs-orgmode@gnu.org; Wed, 04 Nov 2015 17:48:57 -0500 In-Reply-To: <87si4mkuc6.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Wed, 4 Nov 2015 09:05:45 +0000") 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: Phillip Lord Cc: emacs-orgmode@gnu.org Hello, Eric S Fraga writes: > On Tuesday, 3 Nov 2015 at 21:57, Phillip Lord wrote: > > [...] > >> Are these form of attributes specific to the source block which they >> precede? Or is it possible to do any kind of inheritance with them? For >> my use case, all the code blocks inside a Header One block will behave >> in the same way (either with \[ escaping or without). > > No idea! Maybe Nicolas can help here as I assume this is all a function > of the parser. Attributes apply to the block below. However, with a parse tree filter, it is possible to find a block with some attribute and apply the same attribute to all blocks in the same level one heading. Regards, -- Nicolas Goaziou