From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: `xterm-mouse-mode' has a bogus Custom group Date: Fri, 08 Apr 2005 10:32:39 -0400 Message-ID: References: <200504020351.j323ppS16391@raven.dms.auburn.edu> <16974.11752.332998.125628@farnswood.snap.net.nz> <200504021346.j32Dk3e19471@raven.dms.auburn.edu> <16978.12100.857894.861739@farnswood.snap.net.nz> <200504060000.j3600bm15264@raven.dms.auburn.edu> <16979.20638.871209.55398@farnswood.snap.net.nz> <200504070045.j370j0J27252@raven.dms.auburn.edu> <16981.58243.428189.615765@farnswood.snap.net.nz> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112971460 25961 80.91.229.2 (8 Apr 2005 14:44:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2005 14:44:20 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 08 16:44:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJui7-00082c-Rp for ged-emacs-devel@m.gmane.org; Fri, 08 Apr 2005 16:43:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJuHe-0001LN-6q for ged-emacs-devel@m.gmane.org; Fri, 08 Apr 2005 10:16:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DJuH4-0001FO-Rr for emacs-devel@gnu.org; Fri, 08 Apr 2005 10:15:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJuGh-000173-FO for emacs-devel@gnu.org; Fri, 08 Apr 2005 10:15:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJuGf-0000xR-AT for emacs-devel@gnu.org; Fri, 08 Apr 2005 10:15:29 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJuYa-0003kN-CD for emacs-devel@gnu.org; Fri, 08 Apr 2005 10:34:00 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DJuXH-0000Hy-Ko; Fri, 08 Apr 2005 10:32:39 -0400 Original-To: Nick Roberts In-reply-to: <16981.58243.428189.615765@farnswood.snap.net.nz> (message from Nick Roberts on Fri, 8 Apr 2005 13:50:59 +1200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35762 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35762 I've only found it helpful to have "Mouse" in the mode-line so I know it has actually loaded. If it is removed, might it make sense to conditionally load xt-mouse in startup.el to ensure its always loaded when needed? You could load it conditionally (only in an xterm) or unconditionally, and either way, it would always be loaded when needed. I see no need for it to put "Mouse" in the mode line, and I don't see how it benefits you, given the usage you've described. By when needed, I mean "when Emacs is started in an xterm" i.e putting something like: (if (string= "xterm" (getenv "TERM")) (xterm-mouse-mode 1)) in startup.el This would only cause a problem for a user who wants to use the ordinary xterm mouse commands even when an Emacs is running there. I doubt many users find that particularly better, and if they don't, then this change would cause little problem. And anyone who did not like it could disable the mode. So I think it is a good idea. The natural place to do it is in lisp/term/xterm.el. Would someone please install (xterm-mouse-mode 1) there?