GNU bug report logs - #40859
Clicking the wrap-prefix string inside a button causes an error

Previous Next

Package: emacs;

Reported by: Clément Pit-Claudel <cpitclaudel <at> gmail.com>

Date: Sun, 26 Apr 2020 03:41:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Clément Pit-Claudel <cpitclaudel <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 40859 <at> debbugs.gnu.org
Subject: bug#40859: Clicking the wrap-prefix string inside a button causes an error
Date: Sun, 26 Apr 2020 12:44:15 -0400
[Message part 1 (text/plain, inline)]
On 26/04/2020 09.43, Eli Zaretskii wrote:
>> From: Clément Pit-Claudel <cpitclaudel <at> 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?

Here's a tentative patch, but I can't claim to understand the button.el code well :/
[0001-Only-treat-display-strings-as-buttons-if-they-have-a.patch (text/x-patch, attachment)]

This bug report was last modified 5 years and 73 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.