From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Berg Subject: org-babel-parse-src-block-match params parse bug Date: Wed, 16 May 2012 11:30:16 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="_2c0df873-8c86-49ab-841e-0adcebcf9335_" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUasG-0001JG-GO for emacs-orgmode@gnu.org; Wed, 16 May 2012 05:50:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUasE-0004Ia-Vv for emacs-orgmode@gnu.org; Wed, 16 May 2012 05:50:28 -0400 Received: from dub0-omc1-s3.dub0.hotmail.com ([157.55.0.202]:31526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUasE-0004IL-P5 for emacs-orgmode@gnu.org; Wed, 16 May 2012 05:50:26 -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: emacs-orgmode@gnu.org --_2c0df873-8c86-49ab-841e-0adcebcf9335_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C=20 Seems like the org-babel-parse-src-block-match function does something wrong when parsing the block parameters. In my case I am trying to use the = :file param with plantuml but it does not get down to the execute function. To me it seems like the (string-match "-i\\>" switches) call messes up the = (match-string 4) call further down. Attaching a patch Best regards=2C Karl Berg = --_2c0df873-8c86-49ab-841e-0adcebcf9335_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="org-babel.patch" LS0tIG9iLmVsLm9yaWcJMjAxMi0wNS0xNiAxMToxNToyNS4wMDAwMDAwMDAgKzAyMDAKKysrIG9i LmVsCTIwMTItMDUtMTYgMTE6MTQ6NTguMDAwMDAwMDAwICswMjAwCkBAIC0xMTQ4LDYgKzExNDgs NyBAQAogCSAobGFuZyAob3JnLWJhYmVsLWNsZWFuLXRleHQtcHJvcGVydGllcyAobWF0Y2gtc3Ry aW5nIDIpKSkKICAgICAgICAgIChsYW5nLWhlYWRlcnMgKGludGVybiAoY29uY2F0ICJvcmctYmFi ZWwtZGVmYXVsdC1oZWFkZXItYXJnczoiIGxhbmcpKSkKIAkgKHN3aXRjaGVzIChtYXRjaC1zdHJp bmcgMykpCisgICAgIChwYXJhbXMgKG1hdGNoLXN0cmluZyA0KSkKICAgICAgICAgIChib2R5IChv cmctYmFiZWwtY2xlYW4tdGV4dC1wcm9wZXJ0aWVzCiAJCShsZXQqICgoYm9keSAobWF0Y2gtc3Ry aW5nIDUpKQogCQkgICAgICAgKHN1Yi1sZW5ndGggKC0gKGxlbmd0aCBib2R5KSAxKSkpCkBAIC0x MTY5LDcgKzExNzAsNyBAQAogICAgICAgICAgICAob3JnLWJhYmVsLXBhcmFtcy1mcm9tLXByb3Bl cnRpZXMgbGFuZykKIAkgICAoaWYgKGJvdW5kcCBsYW5nLWhlYWRlcnMpIChldmFsIGxhbmctaGVh ZGVycykgbmlsKQogCSAgIChvcmctYmFiZWwtcGFyc2UtaGVhZGVyLWFyZ3VtZW50cwotICAgICAg ICAgICAgKG9yZy1iYWJlbC1jbGVhbi10ZXh0LXByb3BlcnRpZXMgKG9yIChtYXRjaC1zdHJpbmcg NCkgIiIpKSkpCisgICAgICAgICAgICAob3JnLWJhYmVsLWNsZWFuLXRleHQtcHJvcGVydGllcyAo b3IgcGFyYW1zICIiKSkpKQogCSAgc3dpdGNoZXMKIAkgIGJsb2NrLWluZGVudGF0aW9uKSkpCiAK --_2c0df873-8c86-49ab-841e-0adcebcf9335_--