From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Why have you disable mouse on TTY builds? Date: Sun, 05 Jan 2025 13:10:59 +0200 Message-ID: <86msg58qik.fsf@gnu.org> References: <5c8854f9-53ec-43c7-b82a-e040ba246ccf@libero.it> <868qrpaf7r.fsf@gnu.org> <6437ff4e-1594-426a-8502-f7a6bec82808@libero.it> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40877"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Angelo Graziosi , Jared Finder Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 05 12:11:54 2025 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 1tUOXy-000ATA-Fs for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jan 2025 12:11:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUOX9-0006rb-86; Sun, 05 Jan 2025 06:11:03 -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 1tUOX7-0006rR-Ud for emacs-devel@gnu.org; Sun, 05 Jan 2025 06:11:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUOX7-0007kd-5u; Sun, 05 Jan 2025 06:11:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PQlfxac7Y5QhkH6DTPWXGx1Jteandawk5lY9bTkcahc=; b=D95wv3UFtNjY 0ZHtzIKNE8zlbsf666EFgEdpUKzaFrCNvCytnKWq9wIozjtEtyszIj+evaFF2b1ZSx0e9HM2Xem/A NmPlZ9q1eUy4Lkh1kDN5mBPxbckLr3qTxr9pPVU9GPekupbO2LrsfgNuQ+474dc/zswYiV584MdX9 BL1MTigdEfUGBbMUxp+taLQZFEcgfgQtEoS7OXb7NmDEC+5ebdjM6clODGvnhevjoMzNBO16n74xw GHLhujEcnTlKuqYHSqnMwN3+evTTWpRl6gCZ3erfg6dBMDvZ5WCY+Hr8OvtvvSH8r08/Q5huqXxy0 dhnc0/IKfyCVVBvHYlPN1w==; In-Reply-To: <6437ff4e-1594-426a-8502-f7a6bec82808@libero.it> (message from Angelo Graziosi on Sun, 5 Jan 2025 10:58:48 +0100) 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:327716 Archived-At: > Date: Sun, 5 Jan 2025 10:58:48 +0100 > Cc: emacs-devel@gnu.org > From: Angelo Graziosi > > > > Il 05/01/2025 08:32, Eli Zaretskii ha scritto: > >> Date: Sun, 5 Jan 2025 01:02:10 +0100 > >> From: Angelo Graziosi > >> > >> Few weeks ago I built Emacs master for TTY om MSYS2 and without any > >> settings in the init.el file Emacs and mouse worked on Windows Terminal. > >> Few minutes ago I did another TTY build and mouse stopped to work. I had > >> to read this > >> > >> (require 'mouse) > >> (require 'mwheel) > >> (unless window-system > >> (xterm-mouse-mode t) > >> (mouse-wheel-mode t)) > >> > >> to the init.el.. > >> > >> WHY? > > > > Which revision did you build? There were some changes lately > > regarding xterm-mouse turned on by default, which could have affected > > that, so it is important to know whether you build before or after > > those changes. > > I built Emacs master after the mouse support was enable by default for > TTY then have built Emacs master yesterday after the mouse support for > TTY was disabled for a few terminals. > > In Windows Terminal the mouse support worked. Can you tell more about the terminal you are using? How do you start this terminal, and what program does it run? Also, does it set TERM to some value, and if so, to which value? > The real world is more complicated than the ideal world some > programmer has in mind. This is an unkind and unfair comment. We are trying to do our best, but the number of terminals we know about is always finite, so there's always some terminal we didn't know about. Jared, can you please look into this?