At 21 May 2002 22:35:11 +1000, Simon Wong wrote:
> 1) Is it possible to get the mouse scroll wheel to scroll in Emacs?

a quick hyper-apropos (C-h a) search for "wheel" in xemacs turned up
mwheel.el. this contains the simple (mwheel-install) command, which
should make it Just Work.

judging from the lack of "synched with FSF version blah" comments in
mwheel.el, it's highly likely that this is an xemacs-specific answer
though :(

> 2) I've got the end key jumping to the end of line, how do I get the
> home key to go to the start of the line?
> 3) Last thing, how do I make say ctrl-home go to the end of the
> document?

again, xemacs already does exactly what you want.

this is from the default keydefs.el:

 ;; movement to the limits
 (define-key global-map 'home            'beginning-of-line)
 (define-key global-map 'end             'end-of-line)
 (define-key global-map '(control home)  'beginning-of-buffer)
 (define-key global-map '(control end)   'end-of-buffer)
 (define-key global-map 'kp-home         'beginning-of-line)
 (define-key global-map 'kp-end          'end-of-line)
 (define-key global-map '(control kp-home) 'beginning-of-buffer)
 (define-key global-map '(control kp-end) 'end-of-buffer)

i presume this will also work on FSF emacs.

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to