unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Francesco Potortì via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Jared Finder <jared@finder.org>
Cc: 73469@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: bug#73469: 29.4; mouse passing on terminal window generates events
Date: Sun, 29 Sep 2024 10:52:40 +0200	[thread overview]
Message-ID: <E1supfU-0000000HYX7-1Cu9@tucano.isti.cnr.it> (raw)
In-Reply-To: <061a28e3635baae59f37a94bbe37d295@finder.org> (jared@finder.org)

>>> I have found the culprit: it is xterm-mouse-mode.
>
>Could you please reshare the lossage, making sure you are moving the 
>mouse around over an otherwise empty buffer and not holding any 
>modifiers or mouse buttons?

Here you are. This is the mouse moving on an empty region of the terminal frame I'm using under Screen, after M-x xterm-mouse-mode, without touching any mouse buttons, wheels or keyboard modifiers:

 3 5 ; C-<mouse-1> 7 0 ; 1 1 M ESC [ M 3 5 ; C-<mouse-1> 7 0 ; 1 1 M ESC [ M 3 5 ; C-<mouse-1> 7 0 ; 1 1 M ESC [ M 3 5 ; C-<mouse-1> 7 0 ; 1 1 M ESC [ M 3 5 ; C-<mouse-1> 7 0 ; 1 1 M ESC [ M 3 5 ; C-<mouse-1> 7 0 ; 1 1 M ESC [ M 3 5 ; C-<mouse-1> 6 8 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 6 6 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 6 6 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 6 5 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 6 5 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 6 4 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 6 1 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 5 9 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 5 7 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 5 7 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 5 6 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 5 6 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 5 5 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 5 5 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 5 4 ; 1 2 M ESC [ M 3 5 ; C-<mouse-1> 5 4 ; 1 2 M

At this point I press f10 to get rid of the red and blue menu that has popped 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-<mouse-1> 7 6 ; 2 6 M ESC [ M 3 5 ; C-<mouse-1> 7 6 ; 2 5 M ESC [ M 3 5 ; C-<mouse-1> 7 5 ; 2 5 M ESC [ M 3 5 ; C-<mouse-1> 7 4 ; 2 5 M ESC [ M 3 5 ; C-<mouse-1> 7 2 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 7 0 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 5 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 2 5 M ESC [ M 3 5 ; C-<mouse-1> 7 0 ; 2 5 M ESC [ M 3 5 ; C-<mouse-1> 7 0 ; 2 5 M ESC [ 2 1 ~ C-h l ;; view-lossage

Same as above (that is, in a Screen window), with TERM set to xterm-256color:

 6 9 ; 1 5 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 1 5 M ESC [ M 3 5 ; C-<mouse-1> 6 9 ; 1 5 M ESC [ M 3 5 ; C-<mouse-1> 7 0 ; 1 6 M ESC [ M 3 5 ; C-<mouse-1> 7 2 ; 1 7 M ESC [ M 3 5 ; C-<mouse-1> 7 3 ; 1 8 M ESC [ M 3 5 ; C-<mouse-1> 7 4 ; 1 8 M ESC [ M 3 5 ; C-<mouse-1> 7 4 ; 1 9 M ESC [ M 3 5 ; C-<mouse-1> 7 4 ; 2 0 M ESC [ M 3 5 ; C-<mouse-1> 7 5 ; 2 3 M ESC [ M 3 5 ; C-<mouse-1> 7 6 ; 2 4 M ESC [ M 3 5 ; C-<mouse-1> 7 6 ; 2 5 M ESC [ M 3 5 ; C-<mouse-1> 7 6 ; 2 5 M ESC [ M 3 5 ; C-<mouse-1> 7 6 ; 2 5 M ESC [ M 3 5 ; C-<mouse-1> 7 6 ; 2 6 M ESC [ M 3 5 ; C-<mouse-1> 7 6 ; 2 6 M ESC [ M 3 5 ; C-<mouse-1> 7 6 ; 2 7 M ESC [ M 3 5 ; C-<mouse-1> 7 4 ; 2 7 M ESC [ M 3 5 ; C-<mouse-1> 7 4 ; 2 7 M ESC [ M 3 5 ; C-<mouse-1> 7 4 ; 2 7 M ESC [ M 3 5 ; C-<mouse-1> 7 4 ; 2 7 M ESC [ M 3 5 ; C-<mouse-1> 7 3 ; 2 8 M ESC [ M 3 5 ; C-<mouse-1> 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, inside 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





  reply	other threads:[~2024-09-29  8:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-25 12:23 bug#73469: 29.4; mouse passing on terminal window generates events Francesco Potortì via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-25 15:45 ` Eli Zaretskii
2024-09-27  7:48   ` Francesco Potortì via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-27 10:25     ` Eli Zaretskii
2024-09-28 17:50       ` Jared Finder via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-29  8:52         ` Francesco Potortì via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-09-29 19:10           ` Jared Finder via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-29 20:07             ` Francesco Potortì via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-05 15:15               ` Jared Finder via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-19  7:04                 ` Eli Zaretskii
2024-10-19  8:24                   ` Francesco Potortì via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1supfU-0000000HYX7-1Cu9@tucano.isti.cnr.it \
    --to=bug-gnu-emacs@gnu.org \
    --cc=73469@debbugs.gnu.org \
    --cc=Potorti@isti.cnr.it \
    --cc=eliz@gnu.org \
    --cc=jared@finder.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).