From: Kolya Poganini <poganini@hotmail.com>
Subject: Re: Activating Mousewheel
Date: Fri, 25 Oct 2002 11:47:38 -0400 [thread overview]
Message-ID: <apbp9k$5lj$1@grapevine.wam.umd.edu> (raw)
In-Reply-To: ap9a0h$p9u$06$1@news.t-online.com
(defvar wheel-scroll-number-of-lines 5)
(defun wheel-scroll-up-fix-point ()
(interactive)
(scroll-up wheel-scroll-number-of-lines)
(forward-line wheel-scroll-number-of-lines)
)
(defun wheel-scroll-down-fix-point ()
(interactive)
(scroll-up (- wheel-scroll-number-of-lines))
(forward-line (- wheel-scroll-number-of-lines))
)
(global-set-key [mouse-4] 'wheel-scroll-down-fix-point)
(global-set-key [mouse-5] 'wheel-scroll-up-fix-point)
Florian Lindner wrote:
> Hello,
> how can I enable the mouse wheel for scrolling (MS Intellimouse Explorer
> on USB)?
> From my X config:
>
> Section "InputDevice"
> Identifier "Mouse1"
> Driver "mouse"
> Option "Protocol" "ExplorerPS/2"
> Option "Device" "/dev/usbmouse"
> Option "ZAxisMapping" "4 5"
> EndSection
>
> It works with KDE.
>
> I've tried
> (require 'mwheel) but not effect. Emacs is 21.2, most recent release.
> Thx,
> Florian
next prev parent reply other threads:[~2002-10-25 15:47 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-24 17:20 Activating Mousewheel Florian Lindner
2002-10-24 19:06 ` Daniel Jensen
2002-10-24 20:01 ` Robert Marshall
2002-10-25 15:47 ` Kolya Poganini [this message]
2002-10-25 18:22 ` Stefan Monnier <foo@acm.com>
-- strict thread matches above, loose matches on Subject: below --
2002-10-24 23:52 the real file-attributes function Kin Cho
2002-10-25 0:24 ` Barry Margolin
[not found] ` <nqn0p3m2g6.fsf@alcatel.de>
2002-10-25 23:30 ` Kin Cho
2002-10-25 14:23 ` Stefan Monnier <foo@acm.com>
[not found] ` <foo@acm.com>
[not found] ` <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
2002-10-25 15:17 ` Peter S Galbraith
2002-10-25 18:51 ` Activating Mousewheel Peter S Galbraith
2002-11-18 18:23 ` Any standard function to prompt for multiple comma-separated items? Peter S Galbraith
2003-06-05 0:47 ` Coding Convections - Enabling a feature by loading a file Peter S Galbraith
[not found] <mailman.1037389349.31174.help-gnu-emacs@gnu.org>
2002-11-16 18:55 ` Any standard function to prompt for multiple comma-separated items? Kai Großjohann
2002-11-17 14:03 ` Peter S Galbraith
[not found] ` <mailman.1037542582.16549.help-gnu-emacs@gnu.org>
2002-11-18 15:52 ` Stefan Monnier <foo@acm.com>
2002-11-17 9:27 ` Klaus Berndl
[not found] ` <Klaus.Berndl@sdm.de>
2002-11-17 14:08 ` Peter S Galbraith
2002-12-15 20:44 ` Customize a checklist Peter S Galbraith
2002-11-17 16:39 ` Any standard function to prompt for multiple comma-separated items? Kai Großjohann
2002-11-18 15:53 ` Stefan Monnier <foo@acm.com>
[not found] <mailman.227.1039966739.19936.help-gnu-emacs@gnu.org>
2002-12-15 18:56 ` Customize a checklist Klaus Berndl
2003-05-02 3:12 off-topic? James D
2003-05-02 5:44 ` off-topic? Lute Kamstra
2003-05-02 19:41 ` off-topic? James D
2003-05-02 20:39 ` off-topic? Roodwriter
2003-05-03 3:08 ` off-topic? Oliver Scholz
2003-05-02 22:00 ` off-topic? Lute Kamstra
2003-05-03 21:13 ` off-topic? Alexander Nikolov
2003-05-03 21:21 ` off-topic? Alexander Nikolov
[not found] ` <Lute.Kamstra@cwi.nl>
2003-05-03 3:27 ` off-topic? Peter S Galbraith
2003-06-08 0:58 ` Coding Convections - Enabling a feature by loading a file Peter S Galbraith
[not found] <mailman.7309.1054754086.21513.help-gnu-emacs@gnu.org>
2003-06-04 21:13 ` Stefan Monnier
[not found] ` <mailman.7337.1054774167.21513.help-gnu-emacs@gnu.org>
2003-06-05 1:02 ` Stefan Monnier
2003-06-05 16:24 ` Lute Kamstra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='apbp9k$5lj$1@grapevine.wam.umd.edu' \
--to=poganini@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).