From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#406: 23.0.60; customize or whatever to disable gpm-mouse-mode Date: Sat, 14 Jun 2008 06:53:59 +1000 Message-ID: <874p7xgioo.fsf@blah.blah> References: <87ej7gzsg6.fsf@blah.blah> Reply-To: Kevin Ryde , 406@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1213391260 19169 80.91.229.12 (13 Jun 2008 21:07:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2008 21:07:40 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 13 23:08:23 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K7GVM-0005gH-BK for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2008 23:08:16 +0200 Original-Received: from localhost ([127.0.0.1]:35219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7GUY-0004Gu-GP for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2008 17:07:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7GUK-0004Ch-SR for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2008 17:07:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7GUJ-0004CA-7L for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2008 17:07:12 -0400 Original-Received: from [199.232.76.173] (port=47649 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7GUI-0004Bs-Mo for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2008 17:07:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39989) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K7GUI-0004lg-2B for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2008 17:07:10 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5DL77Jd023415; Fri, 13 Jun 2008 14:07:08 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5DL04EG020450; Fri, 13 Jun 2008 14:00:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Kevin Ryde Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 13 Jun 2008 21:00:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 406 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121339048719139 (code B ref -1); Fri, 13 Jun 2008 21:00:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 13 Jun 2008 20:54:47 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5DKshMO019133 for ; Fri, 13 Jun 2008 13:54:45 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:38282) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1K7GGD-00041y-Rj for emacs-pretest-bug@gnu.org; Fri, 13 Jun 2008 16:52:38 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1K7GI7-0002YR-QF for emacs-pretest-bug@gnu.org; Fri, 13 Jun 2008 16:54:39 -0400 Original-Received: from mailout1-9.pacific.net.au ([125.255.80.128]:38095 helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K7GI7-0002Xn-8f for emacs-pretest-bug@gnu.org; Fri, 13 Jun 2008 16:54:35 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout1.pacific.net.au (Postfix) with ESMTP id 1DC57394841; Sat, 14 Jun 2008 06:54:29 +1000 (EST) Original-Received: from blah.blah (ppp2564.dyn.pacific.net.au [61.8.37.100]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id 86F8027409; Sat, 14 Jun 2008 06:54:28 +1000 (EST) Original-Received: from gg by blah.blah with local (Exim 4.69) (envelope-from ) id 1K7GHX-0000fr-55; Sat, 14 Jun 2008 06:53:59 +1000 User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 13 Jun 2008 17:07:12 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18369 gmane.emacs.pretest.bugs:22625 Archived-At: --=-=-= Stefan Monnier writes: > > Can you try the patch below to see if it works more like what you'd expect? Seems no longer enabled on startup at all. I think it may have to load t-mouse, which the ignore-errors hides. Perhaps a message on failing to enable too (the usual one being the server not running). --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=linux.el.gpm.diff *** linux.el 12 Jun 2008 09:11:07 +1000 1.14 --- linux.el 13 Jun 2008 16:04:09 +1000 *************** *** 9,15 **** ;; It can't really display underlines. (tty-no-underline) ! (ignore-errors (if gpm-mouse-mode (gpm-mouse-enable))) ;; Make Latin-1 input characters work, too. ;; Meta will continue to work, because the kernel --- 9,19 ---- ;; It can't really display underlines. (tty-no-underline) ! (when gpm-mouse-mode ! (require 't-mouse) ! (condition-case err ! (gpm-mouse-enable) ! (error (message "gpm-mouse-mode: %s" (error-message-string err))))) ;; Make Latin-1 input characters work, too. ;; Meta will continue to work, because the kernel --=-=-=--