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: Disabling mouse input Date: Sat, 02 Nov 2024 14:04:13 +0200 Message-ID: <86ttcpyh8i.fsf@gnu.org> References: <86sesaytjn.fsf@gnu.org> <4p6cs2adzzqihjdustvlklr3ykrrz7eq7rtz2ciywcyevgmoej@klyfgnsjtnti> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32496"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, luangruo@yahoo.com, emacs-devel@gnu.org To: Daniel Radetsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 02 13:05:09 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 1t7CsO-0008Ha-Mp for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Nov 2024 13:05:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7Crc-0006nB-I2; Sat, 02 Nov 2024 08:04:21 -0400 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 1t7CrZ-0006lj-UP for emacs-devel@gnu.org; Sat, 02 Nov 2024 08:04:18 -0400 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 1t7CrY-0003qQ-CQ; Sat, 02 Nov 2024 08:04:16 -0400 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=6apT9R0s/uNdcwo0PBLz3wmLVThfUarYQRiazs8Y4Ag=; b=iSGonsPTmslw UvEdNfkwdkOYSjvYf7HYhAZFrDwem36EGhAv81KnRf2qZKNRB9U7eV9mufof8KJ9Pyfh3fu6LsbZO XnGKjatuESwOpRRBAqN5/2npgoHGJsQ4nUAYSnv7AK6hU3w8+Pukq4OxgpEBSxYPoMZmuoraM5uFd 6V4s8bt4neA1nPmwwIi/WV5uqZea6zouT92NBs1Ph80apWZw4BFc83s1eWgqD271ze+u+eoEBZ8r7 xdPW6FPu29Fn2CpvZYpVGGBl2MSd1T9pqlUq/1rorVnsuaMEFtE92TSk7ySC1qFKQGfuZYZlJ40E6 mr0sL3QmM8ZrqDT0OpafcQ==; In-Reply-To: <4p6cs2adzzqihjdustvlklr3ykrrz7eq7rtz2ciywcyevgmoej@klyfgnsjtnti> (message from Daniel Radetsky on Sat, 2 Nov 2024 03:17:39 -0700) 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:325009 Archived-At: > Date: Sat, 2 Nov 2024 03:17:39 -0700 > From: Daniel Radetsky > Cc: Stefan Monnier , Po Lu , > emacs-devel@gnu.org > > It was also suggested to me that other devs would want the > feature exposed via a global minor mode, not just a > variable. Do you? I don't think it matters much at this point. It is trivial to make a minor mode based on a variable, and we've done that with some of the variables. Example: display-line-numbers-mode. So I suggest to focus on having the variable working correctly first, and worry about whether making it a mode later. Btw, a minor mode like that will only make sense if it's a global minor mode, because making it buffer-local will be difficult even conceptually.