emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Strip text properties from string code block arguments


From: Bastien
Subject: Re: [O] [PATCH] Strip text properties from string code block arguments
Date: Sun, 12 Jan 2014 12:43:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Achim Gratz <address@hidden> writes:

> Daniel Gerber writes:
>> 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.
>
> If that's the intention, then %S is arguably a latent bug, since the
> escaping it applies can only by accident be compatible with the targeted
> language.  I don't know if something like shell-quote arguments exists
> for arbitrary programming languages.

Maybe we should simply use %s (downcase) and escape quotes manually.
If feels less random to me.

What do you think?

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]