emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 9ce1d38: Use curved quotes in core elisp diagno


From: Paul Eggert
Subject: Re: [Emacs-diffs] master 9ce1d38: Use curved quotes in core elisp diagnostics
Date: Sun, 23 Aug 2015 02:48:59 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Dmitry Gutov wrote:
Nothing longstanding there. Where before, (format "‘abc’") passed through the
input unchanged, now it _might_ be changed, depending on some global variable.
That can bite a programmer in the behind.

Ah, it sounds like you're worried about misuses like (format filename), where FILENAME might contain arbitrary characters including curved quotes. However, code like that has always been buggy, as FILENAME may include %% (or % followed by something else, of course) and the %-sequences would be misinterpreted too.

Bugs like that do exist on occasion, but the recent change to ‘format’ hasn't introduced significantly more opportunities for them.



reply via email to

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