GNU bug report logs -
#29349
read_key_sequence is only partially recursive. This is a bug.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Sat, 18 Nov 2017 09:42:01 UTC
Severity: normal
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Sun, 19 Nov 2017 17:45:22 +0000
> Cc: 29349 <at> debbugs.gnu.org
> From: Alan Mackenzie <acm <at> muc.de>
>
> In the emacs-26 branch, in a Linux tty with GPM configured and working,
> type:
>
> C-h c C-mouse-3 mouse-1 mouse-1
>
> , without moving the mouse. This will end up clicking on
> "emacs-tutorial". The message printed in the message area is then:
>
> <C-down-mouse-3> <help-menu> <emacs-tutorial> (translated from
> <mouse-1> <emacs-tutorial>) at that spot runs the command
> help-with-tutorial
>
> . In the "translated from <mouse-1> <emacs-tutorial>", the first event,
> C-mouse-3 has been overwritten by mouse-1. This mouse-1 is a mouse-click
> from the menu processing. `describe-key-briefly' can then do nothing
> other than printing a spurious "translated from" message.
>
> With the patch applied, the C-down-mouse-3 survives in the raw key
> buffer, enabling `describe-key-briefly' to do the Right Thing. It does
> this by collecting the menu processing's mouse events in a separate
> buffer, then copying that buffer to the main one afterwards.
OK, but then (a) please install the patch on master, not on the
release branch, and (b) why do we need the followup patch -- with the
mouse-1 events injected into the sequence the "translation" looks
correct and even educational.
Thanks.
This bug report was last modified 7 years and 189 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.