bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67457: 29.1; Error when dragging mode line in terminal


From: Jared Finder
Subject: bug#67457: 29.1; Error when dragging mode line in terminal
Date: Mon, 27 Nov 2023 07:16:34 -0800



On 2023-11-27 04:37, Eli Zaretskii wrote:
Date: Sun, 26 Nov 2023 16:24:46 -0800
From: Jared Finder <jared@finder.org>
Cc: Eli Zaretskii <eliz@gnu.org>, Visuwesh <visuweshm@gmail.com>,
 67457@debbugs.gnu.org

This indicates two things to me:

1. My original patch is likely inaccurate.  A better fix would be to
align the mouse-movement event with how it is emitted under GPM and DOS.
  I will investigate.

2. Something broke with how GPM mouse mode is enabled between Emacs 28.2
and HEAD.  I can help with a bisect here.

Thanks, please do, on both counts.

Bisect identified the following commit as the bad commit, confirmed locally:

jared@debian:^/emacs-devel$ git bisect bad
a28ede3a61a70cf83dfcba6c9d314fbb051a3a94 is the first bad commit
commit a28ede3a61a70cf83dfcba6c9d314fbb051a3a94
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date:
t-mouse.el: Make sure we apply the setting to new terminals
* lisp/t-mouse.el (gpm-mouse-tty-setup): New function.
(gpm-mouse-mode): Use it as well as 'tty-setup-hook".
* lisp/term/linux.el (terminal-init-linux): Remove gpm-specific code,
not neded any more.
lisp/t-mouse.el
lisp/term/linux.el | 2 --

  -- MJF





reply via email to

[Prev in Thread] Current Thread [Next in Thread]