[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40859: Clicking the wrap-prefix string inside a button causes an err
From: |
Clément Pit-Claudel |
Subject: |
bug#40859: Clicking the wrap-prefix string inside a button causes an error |
Date: |
Sun, 26 Apr 2020 11:59:42 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 26/04/2020 09.43, Eli Zaretskii wrote:
>> From: Clément Pit-Claudel <cpitclaudel@gmail.com>
>> 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.