From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: `xterm-mouse-mode' has a bogus Custom group Date: Sun, 10 Apr 2005 10:21:35 +1200 Message-ID: <16984.21871.273033.295782@farnswood.snap.net.nz> 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> <200504081605.j38G5ia15320@raven.dms.auburn.edu> <16982.64939.154130.463783@farnswood.snap.net.nz> <200504090406.j3946HQ22712@raven.dms.auburn.edu> <16983.26261.987024.218940@farnswood.snap.net.nz> <01c53cd9$Blat.v2.4$4ca6d960@zahav.net.il> <16983.46770.196469.224088@farnswood.snap.net.nz> <200504091537.j39FbLE23584@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1113085692 13750 80.91.229.2 (9 Apr 2005 22:28:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2005 22:28:12 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 10 00:28:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKOQg-0000qW-0u for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2005 00:27:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKO0S-00026M-Bq for ged-emacs-devel@m.gmane.org; Sat, 09 Apr 2005 18:00:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DKNzM-0001mb-8F for emacs-devel@gnu.org; Sat, 09 Apr 2005 17:59:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DKNzI-0001kS-JC for emacs-devel@gnu.org; Sat, 09 Apr 2005 17:59:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKNzI-0001jX-6o for emacs-devel@gnu.org; Sat, 09 Apr 2005 17:59:32 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DKOPk-000393-El; Sat, 09 Apr 2005 18:26:53 -0400 Original-Received: from farnswood.snap.net.nz (p214-tnt1.snap.net.nz [202.124.110.214]) by viper.snap.net.nz (Postfix) with ESMTP id 2F0274AC6C2; Sun, 10 Apr 2005 10:25:34 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id C67A362A99; Sat, 9 Apr 2005 23:21:40 +0100 (BST) Original-To: Luc Teirlinck In-Reply-To: <200504091537.j39FbLE23584@raven.dms.auburn.edu> X-Mailer: VM 7.19 under Emacs 22.0.50.11 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:35817 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35817 > I'm not sure what should be done for customize though. Luc? > > I could handle that. However, I really start to doubt that enabling > xterm-mouse-mode by default in all terminals for which we believe it > makes sense is a good idea. As we have seen, Xterm Mouse mode has a > very imperfect and unpredictable implementation. Well it may imperfect but its certainly predictable, once you've used it a few times. > It is basically impossible to know whether a given type of mouse click is > going to be handled by Emacs or by the terminal without trying it out first > (or very carefully studying the code first). That is why the Emacs manual > would have to tell people who get frustrated by all of this > unpredictability how to disable the mode. I think you exaggerate the frustration it will cause. The user can quickly find its limits. > Also the heuristic we use to decide when to enable xterm-mouse-mode might > miss some terminal types for which it works. People using these terminals > would still have to know which function or variable to use to enable it > themselves. That heuristic is aready used in startup.el so it must be pretty good. If there are cases that aren't covered, hopefully they'll come up in the pretest. > I would say, let us keep the mode disabled by default. If we want to > go through with enabling it by default, I will take care of the Custom > problems. I say let's enable it by default, I think Richard has already decided this. Single mouse clicks work on the modeline and eleswhere now. I certainly think most users would use it by preference. Nick