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: Why have you disable mouse on TTY builds? Date: Wed, 08 Jan 2025 20:54:44 -0800 Message-ID: References: <5c8854f9-53ec-43c7-b82a-e040ba246ccf@libero.it> <868qrpaf7r.fsf@gnu.org> <6437ff4e-1594-426a-8502-f7a6bec82808@libero.it> <86msg58qik.fsf@gnu.org> <8d232192-85d3-49f9-b2fb-5ef140bfee67@libero.it> <86sepx6w2l.fsf@gnu.org> <638f749d6f400ab2159aad4558cd9b17@finder.org> <48e63454-931c-4a7c-9a6d-903586fabb70@libero.it> <0d86c06f0409feb593245100b5282a19@finder.org> 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="37496"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 09 05:55:24 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 1tVkZo-0009eV-Lv for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Jan 2025 05:55:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVkZG-0004DO-5L; Wed, 08 Jan 2025 23:54:50 -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 1tVkZD-0004Co-WB for emacs-devel@gnu.org; Wed, 08 Jan 2025 23:54:48 -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 1tVkZC-0000Ob-K0; Wed, 08 Jan 2025 23:54:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1736398485; bh=3Rgd4SdV0jcWspHMDzTXyBoSabmmOzHWYx2ilI21VVY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WMtqp8wZXWDsPGZ6Kp0jBVlSTr6NEUzXcwWAfISkrpsEaLtJyi5jEn71gyMyRMXQH JpxOA+8wI9WYNna/GB3CHWngrr2fVlR7KPHs/SDYwedyEGkgqv1QmSwFvj+DtFkJ5d HfINiygkWsdNA6Bznqu5ccUiVKYXsx1XbZFiWoktmQeeA+mLxZw7bPoldsSoCVllKk 5psI5P184khNtp9h+hAFvEN/f9qWiH7xaSUJnC2kz5/jK1xgRgd6ae47UCeQE5fyLB 8Av1q5DUK4rjb2s596/dSqSD22LFwBw9EWRvsegdhwuPfxzg2+eq6DRqERUI9q5o91 8unhdCDg2RW4g== Original-Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id 025EF239D; Thu, 9 Jan 2025 04:54:45 +0000 (UTC) In-Reply-To: <0d86c06f0409feb593245100b5282a19@finder.org> 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_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_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:327804 Archived-At: On 2025-01-08 20:52, Jared Finder wrote: > On 2025-01-08 08:15, Angelo Graziosi wrote: >> Just for completeness, >> >> I tested also the last master on MinTTY which has >> >> $ echo $TERM >> xterm >> >> but the mouse is not supported if I do not add these lines >> >> (require 'mouse) >> (require 'mwheel) >> (unless window-system >> (xterm-mouse-mode t) >> (mouse-wheel-mode t)) >> >> to the init.el file. >> >> Is this to be expected? > > Yes, this is expected. MinTTY is not know to support OSC52 (copy / > paste interaction with the OS), so the mouse is not automatically > enabled. > > Note that I would expect you Sorry, I mis-hit a key that sent this email early. :) I meant to end with "note that I would expect you only need (unless window-system (xterm-mouse-mode 1)). xterm-mouse-mode is autoloaded and mouse-wheel-mode is enabled by default. -- MJF