|
From: | Jared Finder |
Subject: | Re: Enabling Xterm-Mouse-Mode |
Date: | Sun, 08 Dec 2024 08:35:24 -0800 |
On 2024-12-07 22:07, Eli Zaretskii wrote:
Date: Sat, 07 Dec 2024 16:37:46 -0800 From: Jared Finder <jared@finder.org> Cc: Eli Zaretskii <eliz@gnu.org>, Emacs-devel@gnu.org As long as we can defer actually sending the mouse tracking escapesequence until after init file load I think this is fine. All terminalsI've worked with work fine with xterm-mouse-mode's defaults, but sincethere's so many different terminals I want to ensure user compatibilityvariables still work (currently just xterm-mouse-utf-8, I expect to create a new one for bug #73469).So this would require some changes in the code, to make sure the escape sequences are delayed?
Yes, some changes, though they are straightforward.
Also, I expect this would only be done when the envvar TERM indicates the user is on an xterm-compatible terminal.How do we know which ones are compatible?
If Emacs decided to load term/xterm.el then the terminal advertised itself as xterm compatible and I think we could enable xterm-mouse-mode. There's no termcap entry for mouse support, sadly.
-- MJF
[Prev in Thread] | Current Thread | [Next in Thread] |