GNU bug report logs - #78218
30.1; mouse-highlight variable does not work on macOS

Previous Next

Package: emacs;

Reported by: Robert Morelli <morelli <at> flux.utah.edu>

Date: Fri, 2 May 2025 18:21:02 UTC

Severity: normal

Found in version 30.1

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: alan <at> idiocy.org, 78218 <at> debbugs.gnu.org, morelli <at> flux.utah.edu
Subject: bug#78218: 30.1; mouse-highlight variable does not work on macOS
Date: Sat, 03 May 2025 14:44:08 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> AFAICT, it wasn't implemented (except for MS-DOS).  I've now fixed
> that for the MS-Windows console.  I don't have access to a Unix
> terminal with a mouse, so I cannot work on fixing this, but AFAIU the
> fix should be in handle_one_term_event.

That function is part of the GMP mouse handling, AFAICS.

tty_read_avail_input, where it is called, is also too early I think,
Mouse input on xterm at least produces escape sequences which we can't
discern from non-mouse input at that point.

We'd need a place either in or after read_key_sequence where mouse
escape sequences have been translated via input_decode_map. Maybe in
command_loop_1, not sure.

Also something one should maybe take into account is if/how multi-tty
comes into play here?

I'm afraid that's a bit too complicated for me.




This bug report was last modified 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.