Re: scroll wheel
Re: scroll wheel
- Subject: Re: scroll wheel
- From: Nick Phillips <email@hidden>
- Date: Thu, 14 Aug 2003 11:36:05 +1200
On Thursday, August 14, 2003, at 11:18 AM, Markian Hlynka wrote:
Hi.
I'm using x11 beta on Jaguar... for now. :P
Anyway, does anyone know if there's a way to get my scroll wheel
working with xemacs? I would like it to work both with my local (OS X)
copy of xemacs, as well as my remote copies (linux or whatever over
x). Presently, neither one works.
; Mouse wheel
(defun scroll-up-3 ()
"Scroll up 3 lines"
(interactive)
(scroll-up-command 3))
(defun scroll-down-3 ()
"Scroll down 3 lines"
(interactive)
(scroll-down-command 3))
(global-set-key [(shift button5)] 'scroll-up-one)
(global-set-key [(shift button4)] 'scroll-down-one)
(global-set-key [(button5)] 'scroll-up-3)
(global-set-key [(button4)] 'scroll-down-3)
in my ~/.xemacs/init.el works for me.
Cheers,
Nick
--
Nick Phillips / +64 3 479 7073 / email@hidden
# these statements are my own, not those of the University of Otago
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.
References: | |
| >scroll wheel (From: Markian Hlynka <email@hidden>) |