summaryrefslogtreecommitdiff
path: root/lisp/mwheel.el
Commit message (Collapse)AuthorAgeFilesLines
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Fix minor mode docstrings for the new meaning of a nil ARG.Chong Yidong2011-10-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * abbrev.el (abbrev-mode): * allout.el (allout-mode): * autoinsert.el (auto-insert-mode): * autoarg.el (autoarg-mode, autoarg-kp-mode): * autorevert.el (auto-revert-mode, auto-revert-tail-mode) (global-auto-revert-mode): * battery.el (display-battery-mode): * composite.el (global-auto-composition-mode) (auto-composition-mode): * delsel.el (delete-selection-mode): * desktop.el (desktop-save-mode): * dired-x.el (dired-omit-mode): * dirtrack.el (dirtrack-mode): * doc-view.el (doc-view-minor-mode): * double.el (double-mode): * electric.el (electric-indent-mode, electric-pair-mode): * emacs-lock.el (emacs-lock-mode): * epa-hook.el (auto-encryption-mode): * follow.el (follow-mode): * font-core.el (font-lock-mode): * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode): * help.el (temp-buffer-resize-mode): * hilit-chg.el (highlight-changes-mode) (highlight-changes-visible-mode): * hi-lock.el (hi-lock-mode): * hl-line.el (hl-line-mode, global-hl-line-mode): * icomplete.el (icomplete-mode): * ido.el (ido-everywhere): * image-file.el (auto-image-file-mode): * image-mode.el (image-minor-mode): * iswitchb.el (iswitchb-mode): * jka-cmpr-hook.el (auto-compression-mode): * linum.el (linum-mode): * longlines.el (longlines-mode): * master.el (master-mode): * mb-depth.el (minibuffer-depth-indicate-mode): * menu-bar.el (menu-bar-mode): * minibuf-eldef.el (minibuffer-electric-default-mode): * mouse-sel.el (mouse-sel-mode): * msb.el (msb-mode): * mwheel.el (mouse-wheel-mode): * outline.el (outline-minor-mode): * paren.el (show-paren-mode): * recentf.el (recentf-mode): * reveal.el (reveal-mode, global-reveal-mode): * rfn-eshadow.el (file-name-shadow-mode): * ruler-mode.el (ruler-mode): * savehist.el (savehist-mode): * scroll-all.el (scroll-all-mode): * scroll-bar.el (scroll-bar-mode): * server.el (server-mode): * shell.el (shell-dirtrack-mode): * simple.el (auto-fill-mode, transient-mark-mode) (visual-line-mode, overwrite-mode, binary-overwrite-mode) (line-number-mode, column-number-mode, size-indication-mode) (auto-save-mode, normal-erase-is-backspace-mode, visible-mode): * strokes.el (strokes-mode): * time.el (display-time-mode): * t-mouse.el (gpm-mouse-mode): * tool-bar.el (tool-bar-mode): * tooltip.el (tooltip-mode): * type-break.el (type-break-mode-line-message-mode) (type-break-query-mode): * view.el (view-mode): * whitespace.el (whitespace-mode, whitespace-newline-mode) (global-whitespace-mode, global-whitespace-newline-mode): * xt-mouse.el (xterm-mouse-mode): Doc fix. * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix autogenerated docstring.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* * lisp/mwheel.el: Fix typo in copyright years.Glenn Morris2011-01-231-1/+1
| | | | | Duplicate 2002 introduced in CVS r1.35. 2003 is a copyrightable year since Emacs 21.3 was released then.
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
| |
* | Check both `isearch-scroll' and `scroll-command' properties.Juri Linkov2010-04-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | * isearch.el (isearch-lookup-scroll-key): Check both `isearch-scroll' and `scroll-command' properties. (scroll-up, scroll-down): Remove `isearch-scroll' property. * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property. * simple.el (scroll-up-command, scroll-down-command) (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
* | Add the `scroll-command' property.Juri Linkov2010-04-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * window.c: Add Qscroll_command. Remove Vscroll_preserve_screen_position_commands. (window_scroll_pixel_based, window_scroll_line_based): Check the `scroll-command' property on the last command instead of searching the last command in Vscroll_preserve_screen_position_commands. (syms_of_window): Initialize and staticpro `Qscroll_command'. Put Qscroll_command property on Qscroll_up and Qscroll_down. (scroll-preserve-screen-position): Doc fix. (Vscroll_preserve_screen_position_commands): Remove variable. * simple.el (scroll-up-command, scroll-down-command) (scroll-up-line, scroll-down-line): Put `scroll-command' property on the these symbols. Remove them from `scroll-preserve-screen-position-commands'. * mwheel.el (mwheel-scroll): Put `scroll-command' and `isearch-scroll' properties on the `mwheel-scroll' symbol. Remove it from `scroll-preserve-screen-position-commands'. * isearch.el (isearch-allow-scroll): Doc fix.
* | Add variable `scroll-preserve-screen-position-commands'.Juri Linkov2010-04-141-0/+2
|/ | | | | | | | | | | | | | | | | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00403.html * window.c (Vscroll_preserve_screen_position_commands): New variable with the default value as the list of Qscroll_down and Qscroll_up. (window_scroll_pixel_based, window_scroll_line_based): Search the last command in the list Vscroll_preserve_screen_position_commands instead of comparing with Qscroll_up and Qscroll_down. * mwheel.el (scroll-preserve-screen-position-commands): Add mwheel-scroll to this list of commands. * simple.el (scroll-preserve-screen-position-commands): Add scroll-up-command, scroll-down-command, scroll-up-line, scroll-down-line to this list of commands.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)Juri Linkov2009-11-251-4/+10
| | | | | | | | | | | | | | | | | | | | | | * mwheel.el (mwheel-scroll-up-function) (mwheel-scroll-down-function): New defvars. (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of `scroll-up', and `mwheel-scroll-down-function' instead of `scroll-down'. * doc-view.el (doc-view-scroll-up-or-next-page) (doc-view-scroll-down-or-previous-page): Add optional ARG. Use this ARG in the call to image-scroll-up/image-scroll-down. Change `interactive' spec to "P". Goto next/previous page only when `doc-view-continuous-mode' is non-nil or ARG is nil (for the SPC/DEL case). Doc fix. (doc-view-next-line-or-next-page) (doc-view-previous-line-or-previous-page): Rename arg to ARG for consistency. (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to `doc-view-scroll-up-or-next-page', and buffer-local `mwheel-scroll-down-function' to `doc-view-scroll-down-or-previous-page'.
* (mouse-wheel-mode): Make sure the new defvar doesn'tStefan Monnier2009-09-121-4/+6
| | | | | | | actually define the variable, but only silences the byte-compiler. (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound before looking it up. (mouse-wheel-scroll-amount): Also reset the bindings if this value is changed.
* Fix last change.Eli Zaretskii2009-09-121-1/+2
| | | | | (mouse-wheel-mode): New defvar. (mouse-wheel-mode): Remove autoload cookie.
* * mwheel.el (mwheel-installed-bindings): New var.Stefan Monnier2009-09-121-24/+23
| | | | | | | | | (mouse-wheel-mode): Use it, so as to make sure we really remove all the bindings we set last time. Use custom-initialize-delay. * loadup.el: Load mwheel after term/*-win.el. * startup.el (command-line): Don't reevaluate mouse-wheel-down-event and mouse-wheel-up-event now that their first evaluation is done sufficiently late to be correct.
* * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): Don'tChong Yidong2009-08-161-11/+5
| | | | initialize based on window-system (Bug#4124).
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* Remove support for Mac Carbon.Dan Nicolaescu2008-07-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mactoolbox.c: * macterm.h: * macterm.c: * macselect.c: * macmenu.c: * macgui.h: * macfns.c: * mac.c: Remove file. * s/darwin.h: * m/intel386.h: * xfaces.c: * xdisp.c: * window.c: * tparam.c: * termhooks.h: * termcap.c: * term.c: * syssignal.h: * sysselect.h: * sysdep.c: * process.c: * lread.c: * lisp.h: * keyboard.c: * image.c: * fringe.c: * frame.h: * frame.c: * fontset.c: * font.h: * font.c: * fns.c: * fileio.c: * emacs.c: * dispnew.c: * dispextern.h: * config.in: * atimer.c: * Makefile.in: Remove code for Carbon * erc.el: Remove code for Carbon. Remove support for Mac Carbon. * term/mac-win.el: Remove file * international/mule-cmds.el: * version.el: * startup.el: * simple.el: * mwheel.el: * mouse.el: * loadup.el: * isearch.el: * info.el: * frame.el: * faces.el: * disp-table.el: * cus-start.el: * cus-face.el: * cus-edit.el: * Makefile.in: Remove code for Carbon. Remove support for Mac Carbon. * makefile.w32-in: * emacsclient.c: Remove code for Carbon. * PROBLEMS: * MACHINES: Remove mentions of Mac Carbon. * ns-emacs.texi: * faq.texi: Remove mentions of Mac Carbon. * os.texi: * frames.texi: * display.texi: Remove mentions of Mac Carbon. * xresources.texi: Remove mentions of Mac Carbon. * make-tarball.txt: * admin.el: * FOR-RELEASE: * CPP-DEFINES: Remove mentions of Mac Carbon. Remove support for Mac Carbon. * mac: Remove directory. * make-dist: * configure.in: * README: * Makefile.in: * INSTALL: Remove code for Carbon. * configure: Regenerate.
* merging Emacs.app (NeXTstep port)Adrian Robert2008-07-151-2/+2
|
* American English spelling fix.Glenn Morris2008-06-271-1/+1
|
* (mouse-wheel-follow-mouse, mwheel-event-window):Glenn Morris2008-06-121-8/+9
| | | | Evaluate definitions when compiling. Reverse tests.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (mouse-wheel-down-button, mouse-wheel-up-button, mouse-wheel-click-button):Juanma Barranquero2008-04-181-3/+6
| | | | Add WHEN to obsolescence declaration.
* (mwheel-scroll): Deactivate any temporarily active region if pointChong Yidong2008-04-081-1/+11
| | | | moves.
* Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (mwheel-scroll): Make sure that when scrolling multipleStefan Monnier2006-05-081-2/+19
| | | | pages at a time, if we signal the end, we should indeed reach that end.
* (mouse-wheel-click-event, mouse-wheel-mode): Fix typos in docstrings.Juanma Barranquero2006-02-141-2/+2
|
* (mouse-wheel-up-event): Doc fix.Eli Zaretskii2006-02-111-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (mouse-wheel-down-event, mouse-wheel-up-event): Undo previous change.YAMAMOTO Mitsuharu2005-11-041-2/+2
|
* (mouse-wheel-down-event, mouse-wheel-up-event): Use system-type insteadSam Steingold2005-11-031-2/+2
| | | | of window-system because window-system is not correctly defined during loadup.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (mouse-wheel-progressive-speed): Fix typo in name.Stefan Monnier2004-11-111-4/+4
| | | | (mwheel-scroll): Adjust accordingly.
* (mouse-wheel-down-event, mouse-wheel-up-event):Stefan Monnier2004-01-141-2/+2
| | | | Test window-system rather than system-type (for X11/Mac).
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (mouse-wheel-up-event, mouse-wheel-down-event):Jason Rumney2003-06-071-2/+2
| | | | Use wheel-* events on darwin.
* (mouse-wheel-down-event, mouse-wheel-up-event):Jason Rumney2003-06-041-2/+2
| | | | Default to new wheel-up and wheel-down events on MacOS.
* (mouse-wheel-down-event, mouse-wheel-up-event):Jason Rumney2003-06-011-4/+8
| | | | Default to new wheel-up and wheel-down events on Windows.
* Commentary change.Glenn Morris2003-05-271-1/+1
|
* (mouse-wheel-scroll-amount): Don't quote nil and t in docstrings.Juanma Barranquero2003-05-061-1/+1
|
* (mouse-wheel-down-button, mouse-wheel-up-button, mouse-wheel-click-button): AddJuanma Barranquero2003-02-051-6/+9
| | | | obsolescence declaration and remove redundant info from docstring.
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-1/+1
|
* (mouse-wheel-scroll-amount): Revert previous change -Markus Rost2002-12-091-3/+3
| | | | customize type 'float is now defined.
* (mouse-wheel-scroll-amount): Fix customize type.Andreas Schwab2002-12-011-3/+3
|
* (mouse-wheel-inhibit-click-time): Fix custom type.Markus Rost2002-11-291-1/+1
|
* Avoid accidental yanking of text while scrolling withKim F. Storm2002-11-281-3/+43
| | | | | | | | | | | | 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.