From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jared Finder Newsgroups: gmane.emacs.devel Subject: Re: Enabling Xterm-Mouse-Mode Date: Sat, 07 Dec 2024 16:37:46 -0800 Message-ID: <3d916e84b1c0662850a90b572ccc0a91@finder.org> References: <87o71p2o0a.fsf@posteo.net> <86ikrxkpj2.fsf@gnu.org> <87jzcd114q.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6075"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 08 01:38:49 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tK5Jx-0001RA-Bi for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Dec 2024 01:38:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tK5J3-0007ta-Io; Sat, 07 Dec 2024 19:37:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tK5J0-0007tR-Pv for Emacs-devel@gnu.org; Sat, 07 Dec 2024 19:37:50 -0500 Original-Received: from greenhill.hpalace.com ([192.155.80.58]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tK5Iz-0003rR-9o; Sat, 07 Dec 2024 19:37:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1733618266; bh=HzchoqISf8dDb1brbsMfSB/si+gUPN2+O1U3PVwXS3I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QwQ6jlyO0fNeQ94YcPwtHbOIrnbvKyn09tXFY/HZCYYAQFfEms/F5oxBWGcj2yVc7 B6ZHVOKLyjLNlbG7yckMf6xzY7lZyRkn1Oz4fKvRjlLje3fKM85BM1R5nKX6F8mJaL 6khxX0Fj7AVhJCQTyoBU+X18qwsa4q4/u0iyNmGqWFaBJo5vT6Le7yqH/kBLt1/xGJ rWmfpPtPJQGOFWkYVYPBzCRFjnHgIJdZM6O+4ImtDqR+qnDsIPkf7CCbm+cNLqkJ4K V27/DCodQknkPSNTRe4OaXTo2tgNBriR1cuGaCcCe8OJVeGXLYSEU/b4df2ym/4zaT 9lt17cKvc3lew== Original-Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id B7E31853; Sun, 8 Dec 2024 00:37:46 +0000 (UTC) In-Reply-To: <87jzcd114q.fsf@posteo.net> X-Sender: jared@finder.org Received-SPF: pass client-ip=192.155.80.58; envelope-from=jared@finder.org; helo=greenhill.hpalace.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326170 Archived-At: On 2024-12-06 03:50, Philip Kaludercic wrote: > Eli Zaretskii writes: > >>> From: Philip Kaludercic >>> Date: Fri, 06 Dec 2024 08:51:01 +0000 >>> >>> >>> Is there a reason that we do not enable `xterm-mouse-mode' in emacs >>> -nw >>> by default? Are there issues with the implementation that prevent >>> the >>> change? >> >> Users might not expect that? Certain escape sequences might not >> really be mouse-related? > > From observing people (often accidentally) using Emacs in my computer > labs, they do them to expect that. Clicking to move the point is > something that people appear to do very intuitively, and the TUI menus > hint toward mouse-usage as well. > >> I've added Jared to this discussion. 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). Also, I expect this would only be done when the envvar TERM indicates the user is on an xterm-compatible terminal. -- MJF