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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27040 in the body.
You can then email your comments to 27040 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27040; Package emacs. (Tue, 23 May 2017 18:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Charles A. Roelli" <charles <at> aurox.ch>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 23 May 2017 18:14:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Charles A. Roelli" <charles <at> aurox.ch>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.2: fringe click event bug
Date: Tue, 23 May 2017 20:13:20 +0200
In Emacs 25.1/25.2:

  - 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

Same recipe in Emacs 24.5 pops up a description of the binding as expected:

=========
<mouse-1> (translated from <down-mouse-1> <mouse-1>) at that spot runs
the command mouse-set-point, which is an interactive compiled Lisp
function in `mouse.el'.

It is bound to <triple-mouse-1>, <double-mouse-1>, <mouse-1>.

(mouse-set-point EVENT)

Move point to the position clicked on with the mouse.
This should be bound to a mouse click event type.
=========

As a side note, while you click and hold the mouse in the fringe in an 
emacs-lisp mode
buffer in Emacs 25.2, the echo area indicates the current mode name. 
(This does not
happen in Emacs 24.5).  Not sure if this is related (or intentional).





Added indication that bug 27040 blocks24655 Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 24 May 2017 00:51:02 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 27 May 2017 13:01:02 GMT) Full text and rfc822 format available.

Notification sent to "Charles A. Roelli" <charles <at> aurox.ch>:
bug acknowledged by developer. (Sat, 27 May 2017 13:01:02 GMT) Full text and rfc822 format available.

Message #12 received at 27040-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Charles A. Roelli" <charles <at> aurox.ch>
Cc: 27040-done <at> debbugs.gnu.org
Subject: Re: bug#27040: 25.2: fringe click event bug
Date: Sat, 27 May 2017 16:00:04 +0300
> From: "Charles A. Roelli" <charles <at> aurox.ch>
> Date: Tue, 23 May 2017 20:13:20 +0200
> 
> In Emacs 25.1/25.2:
> 
>    - 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.

> As a side note, while you click and hold the mouse in the fringe in an 
> emacs-lisp mode
> buffer in Emacs 25.2, the echo area indicates the current mode name. 
> (This does not
> happen in Emacs 24.5).  Not sure if this is related (or intentional).

I have no idea where this comes from.  Looks like some subtle bug.
Please submit a separate bug report.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27040; Package emacs. (Sat, 27 May 2017 13:31:01 GMT) Full text and rfc822 format available.

Message #15 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Charles A. Roelli" <charles <at> aurox.ch>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#27040: 25.2: fringe click event bug
Date: Sat, 27 May 2017 15:30:00 +0200
On 27/05/2017 15:00, Eli Zaretskii wrote:
>> From: "Charles A. Roelli" <charles <at> aurox.ch>
>> Date: Tue, 23 May 2017 20:13:20 +0200
>>
>> In Emacs 25.1/25.2:
>>
>>    - 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?
M-x toggle-debug-on-error doesn't help much in this case.

>
>> As a side note, while you click and hold the mouse in the fringe in an
>> emacs-lisp mode
>> buffer in Emacs 25.2, the echo area indicates the current mode name.
>> (This does not
>> happen in Emacs 24.5).  Not sure if this is related (or intentional).
>
> I have no idea where this comes from.  Looks like some subtle bug.
> Please submit a separate bug report.

Will do.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27040; Package emacs. (Sat, 27 May 2017 13:31:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27040; Package emacs. (Sat, 27 May 2017 13:51:02 GMT) Full text and rfc822 format available.

Message #21 received at 27040 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Charles A. Roelli" <charles <at> aurox.ch>
Cc: 27040 <at> debbugs.gnu.org
Subject: Re: 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27040; Package emacs. (Sun, 28 May 2017 09:31:01 GMT) Full text and rfc822 format available.

Message #24 received at 27040 <at> debbugs.gnu.org (full text, mbox):

From: "Charles A. Roelli" <charles <at> aurox.ch>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 27040 <at> debbugs.gnu.org
Subject: Re: bug#27040: 25.2: fringe click event bug
Date: Sun, 28 May 2017 11:30:48 +0200
Thanks!  I need to get more familiar with GDB...


On 27/05/2017 15:50, Eli Zaretskii wrote:
>> 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.





Merged 27040 27334. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Mon, 12 Jun 2017 02:52:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Jul 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 263 days ago.

Previous Next


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