Subject: Re: 23.0.60; customize or whatever to disable gpm-mouse-mode

From: Kevin Ryde <[email-masked]>
Date: Sat, 14 Jun 2008 06:53:59 +1000

Stefan Monnier <[email-masked]> 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).

*** 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