Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]xemacs question
- To: tlug@example.com
- Subject: xemacs question
- From: "Marcus O.C. Metzler" <mocm@example.com>
- Date: Wed, 22 Aug 2001 22:28:28 +0200 (MEST)
- Content-Type: text/plain; charset=US-ASCII
- Delivered-To: tlug@example.com
- In-Reply-To: <21DEAE09F017D111969700A0C9840752059DAB5C@example.com>
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-Return-Path: <mocm@example.com>
- References: <21DEAE09F017D111969700A0C9840752059DAB5C@example.com>
- Reply-To: <mocm@example.com>
- Resent-From: tlug@example.com
- Resent-Message-ID: <af7h5D.A.zz.KYBh7@example.com>
- Resent-Sender: tlug-request@example.com
Scott Stone writes: > > ok.. so how do I get my silly mouse wheel to work in xemacs? I'm assuming > it's an Xresource setting, but the Xemacs PDF docs on the website are like 7 > years out of date. I dont think they HAD wheel mice back then. "info > xemacs" just gives me the manpage which says that the current documentation > can be had via "info", so I'm in a circular pattern here. This is 21.4.4, > straight vanilla source build. > I use the following in my .emacs file. There's nothing in my .Xresources, so that must be it :). ;;============================================================================= ;; scroll on mouse wheel ;;============================================================================= ;; scroll on wheel of mouses (define-key global-map 'button4 '(lambda (&rest args) (interactive) (let ((curwin (selected-window))) (select-window (car (mouse-pixel-position))) (scroll-down 5) (select-window curwin) ))) (define-key global-map [(shift button4)] '(lambda (&rest args) (interactive) (let ((curwin (selected-window))) (select-window (car (mouse-pixel-position))) (scroll-down 1) (select-window curwin) ))) (define-key global-map [(control button4)] '(lambda (&rest args) (interactive) (let ((curwin (selected-window))) (select-window (car (mouse-pixel-position))) (scroll-down) (select-window curwin) ))) (define-key global-map 'button5 '(lambda (&rest args) (interactive) (let ((curwin (selected-window))) (select-window (car (mouse-pixel-position))) (scroll-up 5) (select-window curwin) ))) (define-key global-map [(shift button5)] '(lambda (&rest args) (interactive) (let ((curwin (selected-window))) (select-window (car (mouse-pixel-position))) (scroll-up 1) (select-window curwin) ))) (define-key global-map [(control button5)] '(lambda (&rest args) (interactive) (let ((curwin (selected-window))) (select-window (car (mouse-pixel-position))) (scroll-up) (select-window curwin) )))
- References:
- xemacs question
- From: Scott Stone <SStone@example.com>
Home | Main Index | Thread Index
- Prev by Date: xemacs question
- Next by Date: Re: xemacs question
- Prev by thread: xemacs question
- Next by thread: Re: xemacs question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links