unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jared Finder <jared@finder.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: philipk@posteo.net, Emacs-devel@gnu.org
Subject: Re: Enabling Xterm-Mouse-Mode
Date: Sun, 08 Dec 2024 08:35:24 -0800	[thread overview]
Message-ID: <db15f34f07d5c22b354a99cb1dd0ef6c@finder.org> (raw)
In-Reply-To: <86cyi2hfm0.fsf@gnu.org>

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 escape
>> sequence until after init file load I think this is fine. All 
>> terminals
>> I've worked with work fine with xterm-mouse-mode's defaults, but since
>> there's so many different terminals I want to ensure user 
>> compatibility
>> variables 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



  reply	other threads:[~2024-12-08 16:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-06  8:51 Enabling Xterm-Mouse-Mode Philip Kaludercic
2024-12-06 11:40 ` Eli Zaretskii
2024-12-06 11:50   ` Philip Kaludercic
2024-12-08  0:37     ` Jared Finder
2024-12-08  6:07       ` Eli Zaretskii
2024-12-08 16:35         ` Jared Finder [this message]
2024-12-10  6:22           ` Jared Finder
2024-12-08  5:17     ` Richard Stallman
2024-12-08  9:55       ` Philip Kaludercic
2024-12-08 16:40         ` Jared Finder
2024-12-11  4:33           ` Richard Stallman
2024-12-11  6:27             ` Jared Finder

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=db15f34f07d5c22b354a99cb1dd0ef6c@finder.org \
    --to=jared@finder.org \
    --cc=Emacs-devel@gnu.org \
    --cc=eliz@gnu.org \
    --cc=philipk@posteo.net \
    /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).