From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: headers on special blocks Date: Mon, 28 Mar 2016 15:22:37 +0200 Message-ID: <87k2kmrb36.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akX5u-0000oP-Vm for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 09:20:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akX5r-0007M2-MU for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 09:20:34 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:49502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akX5r-0007Lp-Fq for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 09:20:31 -0400 In-Reply-To: (John Kitchin's message of "Mon, 28 Mar 2016 08:51:33 -0400") 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: John Kitchin Cc: Org Mode Mailing List Hello, John Kitchin writes: > I am playing around with storing data in special blocks. For example, > here is an example bit of "data" which is the CH4 (methane) molecule in > SMILES format in a MOLECULE block. > > > #+header: :format smiles > #+name: methane-smiles > #+BEGIN_MOLECULE > C > #+END_MOLECULE > > Is is legal syntax to put a header in like this? It works, as in it > parses to > > (special-block > (:type "MOLECULE" :begin 240 :end 323 :hiddenp nil > :contents-begin 305 :contents-end 307 :post-blank 1 > :post-affiliated 288 :header > (":format smiles") > :name "methane-smiles" :parent nil)) > > > but I haven't seen any documentation for headers on a special block. Almost all elements accept HEADER affiliated keywords. They work the same in every type of element but ATM, only source blocks make use of them. In a nutshell, those locations are up for grabs. Regards, -- Nicolas Goaziou