1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Andreas Schwab
dd60908b89 (mouse-wheel-scroll-amount): Fix customize type. 2002-12-01 23:37:29 +00:00
Markus Rost
68f2d6419c (mouse-wheel-inhibit-click-time): Fix custom type. 2002-11-29 18:02:52 +00:00
Kim F. Storm
d09696f73f Avoid accidental yanking of text while scrolling with
the mouse wheel.  This adds a short period after each mouse wheel
scroll event where a click on the mouse wheel button is ignored.

(mouse-wheel-click-event, mouse-wheel-inhibit-click-time): New customs.
(mouse-wheel-click-button, mwheel-inhibit-click-event-timer): New vars.
(mwheel-inhibit-click-timeout,mwheel-filter-click-events): New defuns.
(mwheel-scroll): Add mwheel-filter-click-events as pre-command-hook.
Start mwheel-inhibit-click-event-timer with timeout handler
mwheel-inhibit-click-timeout.
2002-11-28 23:03:30 +00:00
Markus Rost
6c5f59d0a6 (mouse-wheel-down-button, mouse-wheel-up-button):
Declare with defvar, not with defcustom.
2002-11-11 22:06:24 +00:00
John Paul Wallington
943949149f * ibuffer.el (ibuffer-update): Use minibufferp'. Expand caddr'.
* mwheel.el (mouse-wheel-up-button): Doc fix.
2002-08-29 22:06:26 +00:00
Stefan Monnier
bb5d43feaa (mouse-wheel-change-button): Deactivate before changing.
(mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
(mouse-wheel-up-event, mouse-wheel-down-event): New vars.
(mouse-wheel-follow-mouse): Change default to t.
(mwheel-event-button): Return the basic event symbol.
(mwheel-scroll): Work with non-mouse events.
(mouse-wheel-mode): Use the new vars.
(mwheel-install): Obey `uninstall'.
2002-06-27 21:46:45 +00:00
Stefan Monnier
eb4504e0b5 (mouse-wheel-scroll-amount, mwheel-scroll, mouse-wheel-mode):
Don't require the first element to be modifier-free.
2002-06-24 23:59:22 +00:00
Stefan Monnier
141ddc20c9 Undo last patch for now. 2002-06-24 15:50:38 +00:00
Richard M. Stallman
f7c9a76591 Allow arbitrary keys for scrolling, add a third
scrolling speed, fix an unwind-protect.
(mouse-wheel-scroll-amount): Now a three-element list.
(mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
(mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
(mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast): New functions.
2002-06-21 12:31:33 +00:00
Jason Rumney
5608c89603 (mwheel-event-button): Translate mouse-wheel events.
(mwheel-scroll): Recognize nil scroll amount as documented.
2002-05-04 22:16:04 +00:00
Pavel Janík
7ad8cd8e23 (mouse-wheel-mode): Use global-set-key and global-unset-key. 2002-03-25 11:31:11 +00:00
Pavel Janík
49e30cd638 (mouse-wheel-mode): Use the result of current-global-map instead of the
variable `global-map'.
2002-03-24 15:25:11 +00:00
Miles Bader
adf953ac72 (mwheel-scroll): Remove double' and triple' from the
event-modifiers before looking up in `mouse-wheel-scroll-amount'.
If there's no applicable modifiers entry in the alist in
`mouse-wheel-scroll-amount', fall back to the default, not to
nil (which causes full screen scrolls).
2002-03-02 08:21:33 +00:00
Miles Bader
f5b92c898a (mouse-wheel-mode): Pass vectors instead of symbols
to `define-key', since it no longer accepts the latter.
2002-02-25 23:48:40 +00:00
Sam Steingold
a2372cfd06 Can specify different scroll amounts for different modifiers now. 2002-02-19 17:53:07 +00:00
Stefan Monnier
d3b32bfd6c (mouse-wheel-scroll-amount): Allow float values.
(mouse-wheel-scroll-amount): New var.
(mwheel-scroll): Use it and handle float values.
2001-11-19 21:57:30 +00:00
Gerd Moellmann
bf85004b27 (mouse-wheel-down-button, mouse-wheel-up-button):
New user-options.
(mouse-wheel-change-button): New function.
(mouse-wheel-mode): Use mouse-wheel-{up,down}-button.
(mwheel-scroll): Ditto.
2001-07-27 08:41:35 +00:00
Miles Bader
937b28770e (mouse-wheel-scroll-amount): Renamed from `mwheel-scroll-amount'.
(mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
(mouse-wheel-mode): Use (featurep 'xemacs) instead of
string-matching against the version string.
2000-11-06 01:43:37 +00:00
Stefan Monnier
7ef86b0758 (mouse-wheel-mode): Drop unneeded positional args. 2000-11-03 22:30:09 +00:00
Miles Bader
f4cbc7a0dd (mouse-wheel-mode): New global minor mode.
(mwheel-install): Use `mouse-wheel-mode'.
2000-10-25 11:39:51 +00:00
Gerd Moellmann
8ed8f294a3 Fix copyright notice. Don't require 'cl at run time. 1999-11-11 14:01:46 +00:00
William M. Perry
a32b741961 Initial import from perry 1999-11-10 21:54:54 +00:00