From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#29478: 26.0.90; `C-h k' followed by mouse clicks no longer shows down event Date: Fri, 22 Dec 2017 22:05:49 +0000 Message-ID: <20171222220549.GC8072@ACM> References: <1b3879d6-f14e-47b0-970f-baf09598fcfd@default> <871skjnpd8.fsf@users.sourceforge.net> <20171128221036.GC14868@ACM> <83o9ni3l3i.fsf@gnu.org> <83bmji2xye.fsf@gnu.org> <83tvwzubez.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1513980376 19472 195.159.176.226 (22 Dec 2017 22:06:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 22 Dec 2017 22:06:16 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: 29478@debbugs.gnu.org, npostavs@users.sourceforge.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 22 23:06:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSVSD-0004ex-4d for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Dec 2017 23:06:09 +0100 Original-Received: from localhost ([::1]:39284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSVUB-0001YM-Iv for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Dec 2017 17:08:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSVU6-0001YH-3Q for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 17:08:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSVU2-000528-UB for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 17:08:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39716) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eSVU2-00051w-Lw for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 17:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eSVU2-0001Z2-AZ for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2017 17:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Dec 2017 22:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29478 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 29478-submit@debbugs.gnu.org id=B29478.15139804655988 (code B ref 29478); Fri, 22 Dec 2017 22:08:02 +0000 Original-Received: (at 29478) by debbugs.gnu.org; 22 Dec 2017 22:07:45 +0000 Original-Received: from localhost ([127.0.0.1]:48397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSVTl-0001YW-Bm for submit@debbugs.gnu.org; Fri, 22 Dec 2017 17:07:45 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:23991 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1eSVTi-0001YN-U4 for 29478@debbugs.gnu.org; Fri, 22 Dec 2017 17:07:43 -0500 Original-Received: (qmail 43758 invoked by uid 3782); 22 Dec 2017 22:07:41 -0000 Original-Received: from acm.muc.de (p548C743A.dip0.t-ipconnect.de [84.140.116.58]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 22 Dec 2017 23:07:40 +0100 Original-Received: (qmail 25050 invoked by uid 1000); 22 Dec 2017 22:05:49 -0000 Content-Disposition: inline In-Reply-To: <83tvwzubez.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141399 Archived-At: Hello, Eli. On Sat, Dec 09, 2017 at 18:13:40 +0200, Eli Zaretskii wrote: > I think I found one more problem with Help functions on mouse clicks. > Try this in "emacs -Q": > C-h c S-mouse-1 > C-h k S-mouse-1 > In Emacs 25.2 these produce the description of mouse-appearance-menu, > as expected, saying it's the binding of S-down-mouse-1. Emacs > 26.0.90 does the same for "C-h c", but claims S-mouse-1 is undefined > if you invoke "C-h k". The current emacs-26 branch claims S-mouse-1 > is undefined for both "C-h c" and "C-h k". > I think this means that we have similar problems with any explicit > bindings to S-down-mouse-N clicks. > This is a regression that I think we must fix before releasing Emacs > 26.1. OK, I'm looking at this now. It's not as easy as I was hoping. One phenomenon is puzzling me - it feels like a bug: (i) emacs-26 -Q (ii) M-: (read-key-sequence "prompt: ") (iii) -mouse-1 What happens now is the key sequence is displayed, a S-down-mouse-1 event, but immediately overwritten in the message area by is undefined . Why? I merely asked for the key sequence. I didn't ask for it to be looked up in any key maps. What is doing the translation from a shift-down-mouse event to a S-click event? What is looking up this down-mouse event in a key map? -- Alan Mackenzie (Nuremberg, Germany).