From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Chaining strings between babel blocks: why so many '\'? Date: Sat, 29 Mar 2014 12:10:10 +0100 Message-ID: References: <87bnwstxfs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTr9a-0007uc-Ui for emacs-orgmode@gnu.org; Sat, 29 Mar 2014 07:10:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTr9S-0006lh-NS for emacs-orgmode@gnu.org; Sat, 29 Mar 2014 07:10:22 -0400 Received: from mx1.polytechnique.org ([129.104.30.34]:48398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTr9S-0006lC-GZ for emacs-orgmode@gnu.org; Sat, 29 Mar 2014 07:10:14 -0400 In-Reply-To: (Alan Schmitt's message of "Thu, 27 Mar 2014 13:41:03 +0100") 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: Eric Schulte Cc: emacs-orgmode --=-=-= Content-Type: text/plain Hi Eric, I see you are the author of ob-dot.el. Should I push the attached patch? Thanks, Alan --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-ob-dot.el-Substitute-variables-literally.patch >From c6437e8b7132d95ca432b0690bf65ede6e248567 Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Thu, 27 Mar 2014 13:35:31 +0100 Subject: [PATCH] ob-dot.el: Substitute variables literally * lisp/ob-dot.el (org-babel-expand-body:dot): Do not change the case nor interpret '\' when substituting block variables. --- lisp/ob-dot.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ob-dot.el b/lisp/ob-dot.el index b35d7bb..1e399e7 100644 --- a/lisp/ob-dot.el +++ b/lisp/ob-dot.el @@ -55,7 +55,9 @@ (replace-regexp-in-string (concat "\$" (regexp-quote name)) (if (stringp value) value (format "%S" value)) - body)))) + body + t + t)))) vars) body)) -- 1.8.5.3 --=-=-=--