From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: switch parsing in babel Date: Sun, 27 Mar 2016 19:17:40 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akJwK-00087y-2y for emacs-orgmode@gnu.org; Sun, 27 Mar 2016 19:17:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akJwG-0006pM-TA for emacs-orgmode@gnu.org; Sun, 27 Mar 2016 19:17:48 -0400 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]:35324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akJwG-0006pH-PZ for emacs-orgmode@gnu.org; Sun, 27 Mar 2016 19:17:44 -0400 Received: by mail-qg0-x230.google.com with SMTP id y89so97160000qge.2 for ; Sun, 27 Mar 2016 16:17:44 -0700 (PDT) Received: from Johns-MacBook-Air.local (c-24-3-189-38.hsd1.pa.comcast.net. [24.3.189.38]) by smtp.gmail.com with ESMTPSA id b67sm10521201qhd.11.2016.03.27.16.17.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Mar 2016 16:17:41 -0700 (PDT) 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: Org Mode Mailing List 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