Subject: Re: bug#40859: Clicking the wrap-prefix string inside a button causes an error

From: Clément Pit-Claudel <[email-masked]>
Date: Sun, 26 Apr 2020 11:59:42 -0400

On 26/04/2020 09.43, Eli Zaretskii wrote:
>> From: Clément Pit-Claudel <[email-masked]>
>> Date: Sat, 25 Apr 2020 23:40:38 -0400
>>
>> The following snippet inserts a button with a long label and a wrap-prefix.  Clicking the prefix causes an error, whose backtrace is shown below.
> 
> Isn't that a cockpit error?

Nope, I think not.  It's button.el getting confused about where the click came from.  And it's not fixable from the cockpit, I think, since wrap-prefixes and other replacing display specs can't have extra properties like an 'action that would make button.el happy.