bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#406: 23.0.60; customize or whatever to disable gpm-mouse-mode


From: Kevin Ryde
Subject: bug#406: 23.0.60; customize or whatever to disable gpm-mouse-mode
Date: Sat, 14 Jun 2008 06:53:59 +1000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]