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#29272: 26.0.90; "C-h k C-mouse-3" followed by menu selection asks for more keys Date: Sat, 18 Nov 2017 15:15:41 +0000 Message-ID: <20171118151541.GB3819@ACM> References: <83shdjn3ju.fsf@gnu.org> <83mv3rn02t.fsf@gnu.org> <20171114205449.GA8025@ACM> <83r2svg72w.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 1511018353 6891 195.159.176.226 (18 Nov 2017 15:19:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 18 Nov 2017 15:19:13 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: 29272@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 18 16:19:08 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 1eG4td-0001Ex-3s for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Nov 2017 16:19:05 +0100 Original-Received: from localhost ([::1]:50364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eG4tk-0000cG-7Y for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Nov 2017 10:19:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eG4te-0000cA-79 for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2017 10:19:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eG4ta-0002IE-2c for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2017 10:19:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37822) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eG4tZ-0002I8-Ul for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2017 10:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eG4tZ-0000v3-IQ for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2017 10:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Nov 2017 15:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29272 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29272-submit@debbugs.gnu.org id=B29272.15110183173503 (code B ref 29272); Sat, 18 Nov 2017 15:19:01 +0000 Original-Received: (at 29272) by debbugs.gnu.org; 18 Nov 2017 15:18:37 +0000 Original-Received: from localhost ([127.0.0.1]:46503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eG4tA-0000uR-RH for submit@debbugs.gnu.org; Sat, 18 Nov 2017 10:18:37 -0500 Original-Received: from ocolin.muc.de ([193.149.48.4]:54565 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1eG4t8-0000uH-9u for 29272@debbugs.gnu.org; Sat, 18 Nov 2017 10:18:34 -0500 Original-Received: (qmail 45366 invoked by uid 3782); 18 Nov 2017 15:18:30 -0000 Original-Received: from acm.muc.de (p548C78EA.dip0.t-ipconnect.de [84.140.120.234]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 18 Nov 2017 16:18:29 +0100 Original-Received: (qmail 17938 invoked by uid 1000); 18 Nov 2017 15:15:41 -0000 Content-Disposition: inline In-Reply-To: <83r2svg72w.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:140061 Archived-At: Hello, Eli. On Sat, Nov 18, 2017 at 13:27:35 +0200, Eli Zaretskii wrote: > > Date: Tue, 14 Nov 2017 20:54:49 +0000 > > Cc: 29272@debbugs.gnu.org > > From: Alan Mackenzie > > The following patch attempts to catch and filter out obtrusive events. > > Could you try it out, please, even though it's not perfect (see below). > > It's based on the emacs-26 branch: > Thanks, this seems to fix the problem. I take it that you've verified > it doesn't re-introduce the original bug? > > However, the problem is that in C-h k C-mouse-3 > > , we get a spurious "translation" > > message in *Help*, looking something like: > > (translated from ) at > > that spot runs the command find-file (found in global-map), which is an > > interactive compiled Lisp function in `files.el'. > > That was from a Linux tty session using gpm. In X, I got the message > > .... (translated from ....) > I only see this in a text-mode frame (in my case it's " > "). On GUI frame, there's no "translation". > > . I don't believe this glitch has to do with my patch - I think it's > > been there for some while, but this bug has prevented it being seen > > before. > I think you are right, as I see the same problem in Emacs 24.5. > In any case, this is a much more minor bug than the one I reported, so > please install your changes on the release branch. DONE. Though I changed the timeout from 0.001s to 0.01s, because I'd had a bit of trouble with the shorter timeout with edebug in operation. > Bonus points if you can find where does the "translation" come from. I understand that, now. If I can fix bug #29349 (the one I reported this morning about read_key_sequence not being properly recursive), I can fix the problems here with C-mouse-3 on Linux TTYs with GPM. There might also be problems on MS-Windows, though I haven't been able to verify or test this at all. > Thanks. -- Alan Mackenzie (Nuremberg, Germany).