GNU bug report logs - #27040
25.2: fringe click event bug

Previous Next

Package: emacs;

Reported by: "Charles A. Roelli" <charles <at> aurox.ch>

Date: Tue, 23 May 2017 18:14:02 UTC

Severity: normal

Tags: fixed

Merged with 27334

Found in version 25.2

Fixed in version 26.1

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: Eli Zaretskii <eliz <at> gnu.org>
To: "Charles A. Roelli" <charles <at> aurox.ch>
Cc: 27040 <at> debbugs.gnu.org
Subject: bug#27040: 25.2: fringe click event bug
Date: Sat, 27 May 2017 16:50:08 +0300
> From: "Charles A. Roelli" <charles <at> aurox.ch>
> Date: Sat, 27 May 2017 15:30:00 +0200
> 
> >>    - emacs -q
> >>    - C-h k
> >>    - Click somewhere in the fringe:
> >>
> >>      => Args out of range: "Describe key (or click or menu item):
> >> mouse-1", 0, 64
> >
> > Thanks, fixed.
> 
> Thank you.  Can I ask how you found the source of the error?

By running Emacs under GDB and setting a C-level breakpoint on the
function 'xsignal', through which all the errors are signaled.  That
showed me that Emacs was calling 'substring' on a string shorter than
the 3rd argument of the function.




This bug report was last modified 7 years and 345 days ago.

Previous Next


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