aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mouse.el
Commit message (Collapse)AuthorAgeFilesLines
* <left-fringe mouse-2, right-fringe mouse-3, left-fringe mouse-3>: New bindings.Eli Zaretskii2007-02-021-0/+3
|
* Fix whitespace and indentation.Eli Zaretskii2007-01-271-13/+13
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (mouse-drag-track): Suppress automatic hscrolling for initial downChong Yidong2006-12-021-1/+10
| | | | event.
* (mouse-popup-menubar, mouse-buffer-menu-alist): "?\ " -> "?\s".Juanma Barranquero2006-11-271-2/+2
|
* (global-map): Change 2006-08-16 fix to call mouse-yank-at-clickChong Yidong2006-11-161-1/+1
| | | | | explicitly, since mouse events are not carried over into keyboard macros.
* (mouse-set-font): Fix typo in docstring.Juanma Barranquero2006-11-061-5/+5
|
* (mouse-posn-property): Fix typo for `event-start' inDavid Kastrup2006-09-211-1/+1
| | | | doc string.
* (mouse-posn-property): Improve doc string.David Kastrup2006-09-201-3/+13
| | | | (mouse-on-link-p): Change buffers for function calls on links.
* (mouse-on-link-p): Tentatively fix last change.Stefan Monnier2006-09-191-2/+4
| | | | (mouse-drag-vertical-line): Remove unused var `wconfig'.
* * mouse-sel.el (mouse-sel-follow-link-p): Use event positionDavid Kastrup2006-09-151-19/+24
| | | | | | | | | | | | | | | | | instead of buffer position for `mouse-on-link-p'. * mouse.el (mouse-posn-property): New function looking up the properties at a click position in overlays and text properties in either buffer or strings. (mouse-on-link-p): Use `mouse-posn-property' to streamline lookup of both `follow-link' as well as `mouse-face' properties. (mouse-drag-track): Check `mouse-on-link-p' on event position, not buffer position. * help.el (describe-key-briefly): When reading a down-event on mode lines or scroll bar, swallow the following up event, too. Use the new mouse sensitity of `key-binding' for lookup. (describe-key): The same here.
* (global-map): Allow yanking with mouse-2 at a spot whoseStefan Monnier2006-08-171-0/+2
| | | | cursor would normally be drawn in the fringe.
* (mouse-on-link-p): Doc fix.Thien-Thi Nguyen2006-07-231-3/+3
|
* (mouse-drag-vertical-line-rightward-window): New function.Richard M. Stallman2006-06-191-1/+20
| | | | (mouse-drag-vertical-line): Call it.
* * mouse.el (mouse-drag-vertical-line): Use window-inside-edgesChong Yidong2006-03-161-9/+10
| | | | when checking for attempt to drag leftmost or rightmost scrollbar.
* (mouse-drag-mode-line-1): Use mouse-drag-move-window-bottomRichard M. Stallman2006-02-131-15/+2
| | | | for the minibuffer too, but not if resize-mini-windows will interfere.
* 2006-02-08 Chong Yidong <[email protected]>Chong Yidong2006-02-081-2/+2
| | | | | * mouse.el (mouse-drag-track): Don't change window if we rebind to some other event.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (mouse-drag-track): Renamed, from `mouse-drag-region-1'. IncludesJ.D. Smith2006-01-031-41/+52
| | | | | | | optional argument required to enable post-drag event processing (e.g. delete region keys). Can be used without this argument to track a mouse region and operate on it as soon as the drag completes. (mouse-drag-region): Use `mouse-drag-track'.
* (mouse-drag-region-1): When following link via mouse-2,Richard M. Stallman2006-01-011-1/+5
| | | | put on event-kind property.
* (mouse-drag-window-above): Verify that the found window overlaps with theEli Zaretskii2005-12-311-4/+11
| | | | given window in the horizontal dimension.
* (mouse-drag-region-1): When remapping mouse-1 to mouse-2, go back toRichard M. Stallman2005-12-281-19/+24
| | | | previously selected window, so it's selected when mouse-2 command runs.
* (mouse-choose-completion): Replace `buffer-substring' withJuri Linkov2005-12-231-1/+1
| | | | `buffer-substring-no-properties' to remove common substring highlighting.
* (mouse-drag-vertical-line): Use adjust-window-trailing-edge.Richard M. Stallman2005-12-121-19/+11
|
* (mouse-drag-move-window-bottom): Use adjust-window-trailing-edge.Richard M. Stallman2005-11-271-10/+3
|
* Fix special handling of DEL after dragging a region:Richard M. Stallman2005-11-031-4/+6
| | | | | (mouse-drag-region-1): Treat mouse-set-region like mouse-set-point. (mouse-region-delete-keys): Add [backspace].
* 2005-10-23 MIYOSHI Masanori <[email protected]> (tiny change)Romain Francoise2005-10-231-1/+1
| | | | | * mouse.el (mouse-drag-region): If the *Messages* buffer doesn't exist, create it.
* (mouse-set-region): Don't do sit-for on a mac frame.YAMAMOTO Mitsuharu2005-10-181-1/+1
|
* (mouse-1-click-follows-link): Doc fix.Romain Francoise2005-10-161-2/+2
|
* * mouse.el (mouse-drag-region-1): Handle the case where aChong Yidong2005-10-141-6/+12
| | | | double-click event is bound to an arbitrary function.
* (mouse-drag-region-1): Don't try to catch aChong Yidong2005-10-111-4/+1
| | | | double-click when doing follow-link (it's overridden anyway).
* (mouse-move-drag-overlay): Fix last change.Stefan Monnier2005-09-221-2/+3
|
* (mouse-move-drag-overlay): New function.Stefan Monnier2005-09-211-149/+144
| | | | | | | | | | | | (mouse-drag-region-1): Use it. Try to simplify a bit the state handling. Handle clicks on links inside intangible areas. (mouse-save-then-kill): Minor simplification. (mouse-secondary-overlay): Make it always non-nil instead of recreating it each time. (mouse-start-secondary, mouse-set-secondary, mouse-drag-secondary) (mouse-kill-secondary, mouse-secondary-save-then-kill): Simplify accordingly.
* (mouse-drag-mode-line-1, mouse-drag-vertical-line):Stefan Monnier2005-09-191-19/+4
| | | | | | Delete unused var `old-selected-window'. (mouse-drag-region-1): Delete unused vars `start-frame' `end-of-range'. (mouse-drag-secondary): Delete unused var `start-frame'.
* 2005-09-14 Chong Yidong <[email protected]>Chong Yidong2005-09-131-3/+2
| | | | | * mouse.el (mouse-major-mode-menu): Make `prefix' optional. Delete unused local var.
* *** empty log message ***Chong Yidong2005-09-061-5/+4
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (mouse-buffer-menu-alist): Change space constants followed by a sexp to "?\s ".Juanma Barranquero2005-06-291-1/+1
|
* (mouse-1-click-follows-link): Fix spellings in docstrings.Juanma Barranquero2005-06-101-1/+1
|
* (mouse-drag-region-1): Delete some debugging code.Richard M. Stallman2005-04-231-1/+0
|
* (mouse-on-link-p): Tiny doc fix.Kim F. Storm2005-04-081-2/+1
|
* (mouse-1-click-follows-link): Increase to 450 ms.Kim F. Storm2005-03-311-2/+26
| | | | | (mouse-fixup-help-message): New defun called by show_help_echo to fixup mouse-2 prefix in help messages when applicable.
* (mouse-1-click-in-non-selected-windows): New defcustom.Kim F. Storm2005-02-251-16/+33
| | | | (mouse-on-link-p, mouse-drag-region-1): Use it.
* (mouse-on-link-p): If arg POS is a mouse event,Kim F. Storm2005-02-221-14/+23
| | | | | | check that window of that event is the selected window. (mouse-drag-region-1): Compare mouse event window to selected window before setting point.
* Change release version from 21.4 to 22.1 throughout.Kim F. Storm2005-02-091-2/+2
| | | | Change development version from 21.3.50 to 22.0.50.
* Comment change.Richard M. Stallman2005-01-131-0/+1
|
* More doc fixes.Kim F. Storm2005-01-121-9/+11
|
* (mouse-on-link-p): Change functionality and docKim F. Storm2005-01-121-18/+20
| | | | string to comply with latest description in lisp ref.
* (mouse-drag-mode-line-1, mouse-drag-vertical-line, mouse-drag-region)Stefan Monnier2005-01-111-12/+11
| | | | | (mouse-drag-region-1, mouse-drag-secondary): Ignore select-window events rather than fiddle with mouse-autoselect-window.