From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Something wrong with the src_python babel execution Date: Mon, 15 Dec 2014 10:42:19 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0Xmv-0000Ij-Sp for emacs-orgmode@gnu.org; Mon, 15 Dec 2014 10:42:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0Xmu-0005HP-Hb for emacs-orgmode@gnu.org; Mon, 15 Dec 2014 10:42:21 -0500 Received: from mail-vc0-x22a.google.com ([2607:f8b0:400c:c03::22a]:60811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0Xmu-0005Gy-DX for emacs-orgmode@gnu.org; Mon, 15 Dec 2014 10:42:20 -0500 Received: by mail-vc0-f170.google.com with SMTP id hy4so5647819vcb.1 for ; Mon, 15 Dec 2014 07:42:19 -0800 (PST) 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 Hi, I'm using GNU Emacs 24.4.4 (x86_64-apple-darwin13.4.0, Carbon Version 157 AppKit 1265.21) with Org-mode version 8.2.10 (8.2.10-29-g89a0ac-elpaplus). Example file: --8<---------------cut here---------------start------------->8--- #+BEGIN_SRC python :session test :exports none a = 0.55 #+END_SRC The result is src_python[:session test :results raw]{'${:.1f}$'.format(a)}. --8<---------------cut here---------------end--------------->8--- This used to execute without any problem. Now the related latex export is: --8<---------------cut here---------------start------------->8--- The result is \$'.format(a)\}. --8<---------------cut here---------------end--------------->8--- And there are the outputs in the *test* session: --8<---------------cut here---------------start------------->8--- >>> '${:.1f '${:.1f File "", line 1 '${:.1f ^ SyntaxError: EOL while scanning string literal --8<---------------cut here---------------end--------------->8--- Yours faithfully, Tian Qiu