[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] switch parsing in babel

From: John Kitchin
Subject: [O] switch parsing in babel
Date: Sun, 27 Mar 2016 19:17:40 -0400

I am trying to make a new source block that looks like this:

#+BEGIN_SRC obabel -icml -osmi

This gets parsed to:

 (: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 

Is that correct? I would have thought that 
1. The first switch should be -icml
2. -osmi would also be a switch.

If I go with -i -o, then they are both listed as switches.

Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213

reply via email to

[Prev in Thread] Current Thread [Next in Thread]