|
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
[Prev in Thread] | Current Thread | [Next in Thread] |