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 09:47:19 +0100 Message-ID: <87y52quag8.fsf@bzg.ath.cx> References: <52CC38B1.7060107@gmail.com> <87y52rem1x.fsf@bzg.ath.cx> <87ppo34my1.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0onS-0001dR-H3 for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 03:47:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0onN-0001TV-CP for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 03:47:30 -0500 Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:44116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0onN-0001TQ-5p for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 03:47:25 -0500 Received: by mail-wg0-f45.google.com with SMTP id y10so1130408wgg.0 for ; Wed, 08 Jan 2014 00:47:24 -0800 (PST) In-Reply-To: <87ppo34my1.fsf@Rainer.invalid> (Achim Gratz's message of "Tue, 07 Jan 2014 20:21:58 +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: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > Bastien writes: >> I don't understand why properties would be a problem here. >> Can you elaborate a bit on this? > > With format "%S" prints an s-expression via prin1, not a string. So > either the format should be "%s" or the properties need to be stripped > unless one really wants to interpret the result via read again. I think this is a simple typo and s/%S/%s would do. I'll have a closer look and fix this later today. -- Bastien