summaryrefslogtreecommitdiff
path: root/lisp/mouse.el
Commit message (Collapse)AuthorAgeFilesLines
* * 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 <cyd@stupidchicken.com>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 <miyoshi@meadowy.org> (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 <cyd@stupidchicken.com>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.
* (mouse-drag-region): Bind mouse-autoselect-window.Richard M. Stallman2004-12-271-1/+2
|
* (mouse-1-click-follows-link): Doc fix.Kim F. Storm2004-12-191-7/+7
|
* (mouse-1-click-follows-link): New defcustom.Kim F. Storm2004-12-171-0/+108
| | | | | | | (mouse-on-link-p): New function. (mouse-drag-region-1): Implement mouse-1-click-follows-link functionality. Map a mouse-1 click event into a mouse-2 (or other) event when position is inside a link.
* (mouse-set-font): Handle the case where the command was not invokedLuc Teirlinck2004-12-081-1/+3
| | | | using the mouse.
* (mouse-drag-copy-region): Add :version.Kim F. Storm2004-11-131-1/+4
| | | | | | | | (mouse-drag-mode-line-1): Let bind mouse-autoselect-window to nil while dragging mode line, so mode line can be dragged downwards. (mouse-drag-region-1): Let bind make-cursor-line-fully-visible while pressing mouse button so window doesn't scroll until we release the mouse if clicking on partially visible line.
* (mouse-show-mark): Get positions to delete from markRichard M. Stallman2004-11-041-2/+1
| | | | and point, not from mouse-drag-overlay.
* (mouse-yank-at-click, mouse-yank-secondary): RevertJan Djärv2004-11-011-2/+2
| | | | | change from 2004-10-16. '*' checks the current buffer, but the mouse click may be in another buffer.
* (mouse-show-mark): Replace the last occurrence ofSam Steingold2004-10-291-8/+7
| | | | x-lost-selection-hooks with x-lost-selection-functions.
* (mouse-show-mark): Adjust to new name and don't assumeStefan Monnier2004-10-281-2/+4
| | | | x-lost-selection-functions is bound.
* (mouse-show-mark): Do most processing the sameRichard M. Stallman2004-10-271-48/+49
| | | | regardless of transient-mark-mode.
* (mouse-drag-move-window-top): New function.David Ponce2004-10-181-1/+14
| | | | (mouse-drag-mode-line-1): Use it.
* (mouse-yank-at-click, mouse-yank-secondary):Richard M. Stallman2004-10-161-2/+2
| | | | Use * to err if buffer is readonly.
* (mouse-set-region-1): If transient-mark-modeRichard M. Stallman2004-07-091-1/+2
| | | | is `identity', change it to `only'.
* (mouse-set-region-1): Set transient-mark-mode to `only'.Richard M. Stallman2004-06-211-1/+1
|