Achim Gratz <strom...@nexgo.de> 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