emacs-devel
[Top][All Lists]
Advanced

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

Re: bug#23425: master branch: `message' wrongly corrupts ' to curly quot


From: Clément Pit-Claudel
Subject: Re: bug#23425: master branch: `message' wrongly corrupts ' to curly quote.
Date: Wed, 7 Jun 2017 15:29:40 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

On 2017-06-07 12:50, Alan Mackenzie wrote:
> Hello, Clément.
> 
> On Mon, Jun 05, 2017 at 17:05:43 -0400, Clément Pit-Claudel wrote:
>> On 2017-06-05 16:37, Alan Mackenzie wrote:
>>>  How do you propose to prevent such puzzlement and anger in the
>>> future, if not by %` and %'?
> 
>> Note that this introduces a backwards compatibility issue, if not done 
>> carefully:
> 
>>   Debugger entered--Lisp error: (error "Not enough arguments for format 
>> string")
>>     message("%`woops%'")
>>     eval((message "%`woops%'") nil)
> 
> I think it would be done carefully!  Clearly, %` and %' would be format
> elements for which the count of necessary arguments would not be
> incremented.  Or, more concisely, we wouldn't count them.

Sorry, that's not what I was talking about.  The problem I was worrying about 
is that these new format constructs would raise exceptions in older versions of 
Emacs.



reply via email to

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