From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Strip text properties from string code block arguments Date: Wed, 08 Jan 2014 18:32:44 +0100 Message-ID: <877gaaidkz.fsf@bzg.ath.cx> References: <52CC38B1.7060107@gmail.com> <87wqia1lmi.fsf@bzg.ath.cx> <52CD8A77.1060908@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0wzx-0000Qw-60 for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 12:33:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0wzo-0001e6-QH for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 12:32:57 -0500 Received: from mail-we0-x232.google.com ([2a00:1450:400c:c03::232]:49204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0wzo-0001e0-JB for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 12:32:48 -0500 Received: by mail-we0-f178.google.com with SMTP id t60so1706904wes.23 for ; Wed, 08 Jan 2014 09:32:47 -0800 (PST) In-Reply-To: <52CD8A77.1060908@gmail.com> (Daniel Gerber's message of "Wed, 08 Jan 2014 18:27:19 +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: Daniel Gerber Cc: emacs-orgmode@gnu.org Daniel Gerber writes: > On 08/01/2014 17:31, Bastien wrote: >> Daniel Gerber writes: >> >>> This change in org-babel-python-var-to-python makes python code blocks >>> accept a string with text properties (as one gets when referring >>> another code block). I guess there should be something similar for >>> other languages. >> I've now fixed this by using %s instead of %S, let me know if this >> works correctly for you. > Not quite. I thought %S was not a typo because it escapes characters > more nicely. E.g. with %s the buffer should contain \"\"\" to mean """ > in python. I reverted my change -- can you resubmit a proper patch, i.e. one with an Emacs changelog and using git format-patch? Thanks! -- Bastien