emacs-orgmode
[Top][All Lists]
Advanced

[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
[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.

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
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



reply via email to

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