From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Francesco =?UTF-8?Q?Potort=C3=AC?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73469: 29.4; mouse passing on terminal window generates events Date: Sun, 29 Sep 2024 10:52:40 +0200 Organization: CNR-ISTI, via Moruzzi 1, I-56124 Pisa, +39-0503153058 Message-ID: References: <861q17d9f0.fsf@gnu.org> <86plop8kbk.fsf@gnu.org> <061a28e3635baae59f37a94bbe37d295@finder.org> Reply-To: Francesco =?UTF-8?Q?Potort=C3=AC?= Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34673"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73469@debbugs.gnu.org, Eli Zaretskii To: Jared Finder Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 29 10:54:20 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1suph6-0008tS-AO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Sep 2024 10:54:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1supgM-0000dZ-J3; Sun, 29 Sep 2024 04:53:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1supgK-0000dA-PT for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 04:53:33 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1supgK-00005G-GH for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 04:53:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=LOn+Qfz8hdLi6Ne2uhezyXfKZ0JNz8SPLdTIWW2Iydk=; b=rn57iw2LO1bo0/SSy6ajqMMdHKikY/NP93Ov7IxYOKswuwUFrc5ZccB82vx9EN1tOg9mWvJoFoTY08GwpwujapS0wgpvQddZVdwGi+pDs2JH9VzqAwlP+p4miccuq/CylMdmXsi3yggmUt2eyW2TgQRN0t/R6nJLAY7hMU5l+jr1R2dY+LmSdN0I1mIs6ZsYyhhXHQx7BMdqjaGfAVOxBIkDKK3REibyCSGH06cjjL1/Lun2Wc3o9LxRBkWVNOw0lNEUsdl1xWT7JKd06PsFX0Eu8hGFtnlUfi34A5+bCbtckbpJj6ki209tTGIhVohCgzFOL5J2jeuAVvJg5BWTvw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1supgp-0003T3-H0 for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 04:54:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Sep 2024 08:54:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73469 X-GNU-PR-Package: emacs Original-Received: via spool by 73469-submit@debbugs.gnu.org id=B73469.172759999713232 (code B ref 73469); Sun, 29 Sep 2024 08:54:03 +0000 Original-Received: (at 73469) by debbugs.gnu.org; 29 Sep 2024 08:53:17 +0000 Original-Received: from localhost ([127.0.0.1]:40011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1supg5-0003RL-AB for submit@debbugs.gnu.org; Sun, 29 Sep 2024 04:53:17 -0400 Original-Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:48846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1supg2-0003RB-Ah for 73469@debbugs.gnu.org; Sun, 29 Sep 2024 04:53:15 -0400 Original-Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 7CD769F8E0; Sun, 29 Sep 2024 10:52:40 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; d=isti.cnr.it; s=arc-smtp-clients1; t=1727599960; cv=none; b=t+uXcqLtc3DJisAXwXhqZvr8nAApxeY+UJ87mItUpU2+eKgU7kMAqmwO2N6E7ba0xVQ7J2LG4tb9UtiJBf0UjudS9rL0VsutSWpi9QTidzpAKx654I60eAcBhJf5k4+FEQa+Rjn1qMrbWbz3BCQ0hPiod5DlxiagPDZK+RbxfaU= ARC-Message-Signature: i=1; a=rsa-sha256; d=isti.cnr.it; s=arc-smtp-clients1; t=1727599960; c=relaxed/relaxed; bh=LOn+Qfz8hdLi6Ne2uhezyXfKZ0JNz8SPLdTIWW2Iydk=; h=DKIM-Filter:DKIM-Signature:X-Virus-Status:X-Virus-Scanned: Received:From:Date:To:Cc:In-Reply-To:Subject:References: MIME-Version:Content-Type:Content-Transfer-Encoding:Organization: X-fingerprint:Message-Id; b=ZAU1BDkHVI2xHy7jExX72njGheBuhl4pRPh0/8LAfH2okwXplwoHy2SYLHY+jXukSN4j3DChGJy4trEAPfbFepNWKBlhK1n5oMt5itwAr6KUmcKrz+xr9Kzei7o/hfk+g2c/L95gzDdhNW9QjT1GS9fV+nTzAXs/9ubQGSuBgEw= ARC-Authentication-Results: i=1; smtp-clients1.isti.cnr.it; none DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-clients1.isti.cnr.it 7CD769F8E0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isti.cnr.it; s=smtp-clients1; t=1727599960; bh=LOn+Qfz8hdLi6Ne2uhezyXfKZ0JNz8SPLdTIWW2Iydk=; h=From:Date:To:Cc:In-Reply-To:Subject:References:From; b=puWE8mtB1LilRJ0D8kNp0MkIJKt1G6sNVdyAITXYg0FuKA/TPfqxJmYCVY7OM1nZW G/BPKVwbKYc15vg/8q1O2AHpdoPvHajC/b+6j9WiuKd4peiagZcyjFeAUDxXhd7N/Q gB/W9Dk442Q/6hYynuTd99/sEuKeHqKVz6+xh9Fg= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at smtp-out.isti.cnr.it Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.98) (envelope-from ) id 1supfU-0000000HYX7-1Cu9; Sun, 29 Sep 2024 10:52:40 +0200 In-Reply-To: <061a28e3635baae59f37a94bbe37d295@finder.org> (jared@finder.org) X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292621 Archived-At: >>> I have found the culprit: it is xterm-mouse-mode. > >Could you please reshare the lossage, making sure you are moving the=20 >mouse around over an otherwise empty buffer and not holding any=20 >modifiers or mouse buttons? Here you are. This is the mouse moving on an empty region of the terminal f= rame I'm using under Screen, after M-x xterm-mouse-mode, without touching a= ny mouse buttons, wheels or keyboard modifiers: 3 5 ; C- 7 0 ; 1 1 M ESC [ M 3 5 ; C- 7 0 ; 1 1 M ESC [ = M 3 5 ; C- 7 0 ; 1 1 M ESC [ M 3 5 ; C- 7 0 ; 1 1 M ESC [= M 3 5 ; C- 7 0 ; 1 1 M ESC [ M 3 5 ; C- 7 0 ; 1 1 M ESC = [ M 3 5 ; C- 6 8 ; 1 2 M ESC [ M 3 5 ; C- 6 6 ; 1 2 M ESC= [ M 3 5 ; C- 6 6 ; 1 2 M ESC [ M 3 5 ; C- 6 5 ; 1 2 M ES= C [ M 3 5 ; C- 6 5 ; 1 2 M ESC [ M 3 5 ; C- 6 4 ; 1 2 M E= SC [ M 3 5 ; C- 6 1 ; 1 2 M ESC [ M 3 5 ; C- 5 9 ; 1 2 M = ESC [ M 3 5 ; C- 5 7 ; 1 2 M ESC [ M 3 5 ; C- 5 7 ; 1 2 M= ESC [ M 3 5 ; C- 5 6 ; 1 2 M ESC [ M 3 5 ; C- 5 6 ; 1 2 = M ESC [ M 3 5 ; C- 5 5 ; 1 2 M ESC [ M 3 5 ; C- 5 5 ; 1 2= M ESC [ M 3 5 ; C- 5 4 ; 1 2 M ESC [ M 3 5 ; C- 5 4 ; 1 = 2 M At this point I press f10 to get rid of the red and blue menu that has popp= ed up: ESC [ 2 1 ~ ESC x ;; execute-extended-command ESC O A ;; previous-line-or-history-element RET ;; minibuffer-complete-and-exit C-h l ;; view-lossage Now I'm doing the same with emacs -Q under a fresh Screen window whose TERM= I set to screen.linux: 7 6 ; 2 6 M ESC [ M 3 5 ; C- 7 6 ; 2 6 M ESC [ M 3 5 ; C- 7 6 ; 2 5 M ESC [ M 3 5 ; C- 7 5 ; 2 5 M ESC [ M 3 5 ; C- 7 4 ; 2 5 M ESC [ M 3 5 ; C- 7 2 ; 2 4 M ESC [ M 3 5 ; C- 7 0 ; 2 4 M ESC [ M 3 5 ; C- 6 9 ; 2 4 M ESC [ M 3 5 ; C- 6 9 ; 2 4 M ESC [ M 3 5 ; C- 6 9 ; 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M 3 5 ; C- 7 3 ; 2 8 M ESC [ M 3 5 ; = C- 7 3 ; 2 8 M ESC [ 2 1 ~ C-h l ;; view-lossage At the moment, I can't reproduce the problem without Screen, that is, insid= e a Mate-terminal. So maybe the problem is with Screen itself. I have to = stop here, too many things to do today, hope to get back to it later