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

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

bug#17378: 24.3.1: xterm-mouse-event: Wrong type argument: wholenump, -6


From: Ishmael
Subject: bug#17378: 24.3.1: xterm-mouse-event: Wrong type argument: wholenump, -6
Date: Wed, 30 Apr 2014 15:01:33 -0700 (PDT)

To reproduce this bug:

tmux
emacs -nw
C-x 3
C-x 3

Scroll UP with mouse's scroll wheel in RIGHTMOST window only causes:
xterm-mouse-event: Wrong type argument: wholenump, -6 

Note that scrolling down works in rightmost window.  Also, both scroll up
and scroll down work in all other windows.

In my .emacs, I have:

;; Enable mouse support in non-GUI mode (emacs -nw)
(unless window-system
  (require 'mouse)
  (xterm-mouse-mode t)
  (global-set-key [mouse-4] '(lambda ()
                              (interactive)
                              (scroll-down 5)))
  (global-set-key [mouse-5] '(lambda ()
                              (interactive)
                              (scroll-up 5)))
  (defun track-mouse (e))
  (setq mouse-sel-mode t)
)




--
View this message in context: 
http://emacs.1067599.n5.nabble.com/24-3-1-xterm-mouse-event-Wrong-type-argument-wholenump-6-tp321010.html
Sent from the Emacs - Bugs mailing list archive at Nabble.com.





reply via email to

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