Hello, John Kitchin <jkitc...@andrew.cmu.edu> writes:
> I am trying to make a new source block that looks like this: > > #+BEGIN_SRC obabel -icml -osmi > [CH4] > #+END_SRC > > This gets parsed to: > > (src-block > (:language "obabel" :switches "-i" :parameters "cml -osmi" :begin > 190 :end 240 :number-lines nil :preserve-indent t :retain-labels > t :use-labels t :label-fmt nil :hiddenp nil :value "[CH4] > \n" :post-blank 1 :post-affiliated 190 :parent nil)) > > Is that correct? I would have thought that > 1. The first switch should be -icml > 2. -osmi would also be a switch. This is incorrect, but not in the way you think. There is no concatenation for switches in Org syntax, so it should be parsed as :switches nil :parameters -icml -osmi which looks wrong anyway. Maybe you're simply mis-using switches here, which are reserved to Org? Regards, -- Nicolas Goaziou