Stefan Monnier
3e9323d603
(global-map): Allow yanking with mouse-2 at a spot whose
...
cursor would normally be drawn in the fringe.
2006-08-17 03:36:17 +00:00
Thien-Thi Nguyen
23eb76c4f7
(mouse-on-link-p): Doc fix.
2006-07-23 21:13:13 +00:00
Richard M. Stallman
73c8f64c94
(mouse-drag-vertical-line-rightward-window): New function.
...
(mouse-drag-vertical-line): Call it.
2006-06-19 21:47:23 +00:00
Chong Yidong
89a94f1e3d
* mouse.el (mouse-drag-vertical-line): Use window-inside-edges
...
when checking for attempt to drag leftmost or rightmost scrollbar.
2006-03-16 15:14:57 +00:00
Richard M. Stallman
ad64cd77b0
(mouse-drag-mode-line-1): Use mouse-drag-move-window-bottom
...
for the minibuffer too, but not if resize-mini-windows will interfere.
2006-02-13 18:47:18 +00:00
Chong Yidong
745cfc5705
2006-02-08 Chong Yidong <cyd@stupidchicken.com>
...
* mouse.el (mouse-drag-track): Don't change window if we rebind to
some other event.
2006-02-08 20:47:24 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
J.D. Smith
f1c4f757fd
(mouse-drag-track): Renamed, from `mouse-drag-region-1'. Includes
...
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'.
2006-01-03 17:08:51 +00:00
Richard M. Stallman
cbf090c459
(mouse-drag-region-1): When following link via mouse-2,
...
put on event-kind property.
2006-01-01 07:55:21 +00:00
Eli Zaretskii
5915523a25
(mouse-drag-window-above): Verify that the found window overlaps with the
...
given window in the horizontal dimension.
2005-12-31 11:47:05 +00:00
Richard M. Stallman
18e980c2ae
(mouse-drag-region-1): When remapping mouse-1 to mouse-2, go back to
...
previously selected window, so it's selected when mouse-2 command runs.
2005-12-28 03:19:29 +00:00
Juri Linkov
8a30a619e2
(mouse-choose-completion): Replace `buffer-substring' with
...
`buffer-substring-no-properties' to remove common substring highlighting.
2005-12-23 21:53:29 +00:00
Richard M. Stallman
4199d5be3e
(mouse-drag-vertical-line): Use adjust-window-trailing-edge.
2005-12-12 05:21:33 +00:00
Richard M. Stallman
91d99be6a8
(mouse-drag-move-window-bottom): Use adjust-window-trailing-edge.
2005-11-27 19:28:58 +00:00
Richard M. Stallman
c3bb6d703f
Fix special handling of DEL after dragging a region:
...
(mouse-drag-region-1): Treat mouse-set-region like mouse-set-point.
(mouse-region-delete-keys): Add [backspace].
2005-11-03 21:37:21 +00:00
Romain Francoise
4bdce43863
2005-10-23 MIYOSHI Masanori <miyoshi@meadowy.org> (tiny change)
...
* mouse.el (mouse-drag-region): If the *Messages* buffer doesn't
exist, create it.
2005-10-23 09:19:37 +00:00
YAMAMOTO Mitsuharu
1405937493
(mouse-set-region): Don't do sit-for on a mac frame.
2005-10-18 08:04:11 +00:00
Romain Francoise
97b1270c38
(mouse-1-click-follows-link): Doc fix.
2005-10-16 16:50:00 +00:00
Chong Yidong
f28e9cbd37
* mouse.el (mouse-drag-region-1): Handle the case where a
...
double-click event is bound to an arbitrary function.
2005-10-14 13:15:05 +00:00
Chong Yidong
592b0a3b6d
(mouse-drag-region-1): Don't try to catch a
...
double-click when doing follow-link (it's overridden anyway).
2005-10-11 15:30:31 +00:00
Stefan Monnier
39739f21c6
(mouse-move-drag-overlay): Fix last change.
2005-09-22 21:30:58 +00:00
Stefan Monnier
aaf15b8b6f
(mouse-move-drag-overlay): New function.
...
(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.
2005-09-21 20:26:49 +00:00
Stefan Monnier
f002506f6e
(mouse-drag-mode-line-1, mouse-drag-vertical-line):
...
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-19 18:51:54 +00:00
Chong Yidong
40cfe0d8bc
2005-09-14 Chong Yidong <cyd@stupidchicken.com>
...
* mouse.el (mouse-major-mode-menu): Make `prefix' optional.
Delete unused local var.
2005-09-13 20:13:31 +00:00
Chong Yidong
efe4e5af8a
*** empty log message ***
2005-09-06 19:10:06 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Juanma Barranquero
fc2b429ee9
(mouse-buffer-menu-alist): Change space constants followed by a sexp to "?\s ".
2005-06-29 13:50:02 +00:00
Juanma Barranquero
1d68acd3a9
(mouse-1-click-follows-link): Fix spellings in docstrings.
2005-06-10 14:05:55 +00:00
Richard M. Stallman
7735d2e2f4
(mouse-drag-region-1): Delete some debugging code.
2005-04-23 16:40:55 +00:00
Kim F. Storm
e5fb57e9c8
(mouse-on-link-p): Tiny doc fix.
2005-04-08 09:24:25 +00:00
Kim F. Storm
5dbda51848
(mouse-1-click-follows-link): Increase to 450 ms.
...
(mouse-fixup-help-message): New defun called by show_help_echo
to fixup mouse-2 prefix in help messages when applicable.
2005-03-31 10:10:25 +00:00
Kim F. Storm
185a53bbe7
(mouse-1-click-in-non-selected-windows): New defcustom.
...
(mouse-on-link-p, mouse-drag-region-1): Use it.
2005-02-25 23:30:59 +00:00
Kim F. Storm
b0ca1b8a96
(mouse-on-link-p): If arg POS is a mouse event,
...
check that window of that event is the selected window.
(mouse-drag-region-1): Compare mouse event window to selected
window before setting point.
2005-02-22 09:42:06 +00:00
Kim F. Storm
bf247b6ed0
Change release version from 21.4 to 22.1 throughout.
...
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
2e36c3b0f8
Comment change.
2005-01-13 20:06:32 +00:00
Kim F. Storm
b41a40196b
More doc fixes.
2005-01-12 10:54:02 +00:00
Kim F. Storm
a0ec7b7fd7
(mouse-on-link-p): Change functionality and doc
...
string to comply with latest description in lisp ref.
2005-01-12 10:17:02 +00:00
Stefan Monnier
fbd8dc8a0d
(mouse-drag-mode-line-1, mouse-drag-vertical-line, mouse-drag-region)
...
(mouse-drag-region-1, mouse-drag-secondary): Ignore select-window events
rather than fiddle with mouse-autoselect-window.
2005-01-11 15:36:57 +00:00
Richard M. Stallman
f57d50e70d
(mouse-drag-region): Bind mouse-autoselect-window.
2004-12-27 16:35:17 +00:00
Kim F. Storm
787e24c303
(mouse-1-click-follows-link): Doc fix.
2004-12-19 00:50:51 +00:00
Kim F. Storm
65f765817d
(mouse-1-click-follows-link): New defcustom.
...
(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.
2004-12-17 15:16:18 +00:00
Luc Teirlinck
91c5141258
(mouse-set-font): Handle the case where the command was not invoked
...
using the mouse.
2004-12-08 01:14:10 +00:00
Kim F. Storm
8413d0d2da
(mouse-drag-copy-region): Add :version.
...
(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.
2004-11-13 01:29:45 +00:00
Richard M. Stallman
9e6856a7a4
(mouse-show-mark): Get positions to delete from mark
...
and point, not from mouse-drag-overlay.
2004-11-04 10:02:38 +00:00
Jan Djärv
a4cabe41c2
(mouse-yank-at-click, mouse-yank-secondary): Revert
...
change from 2004-10-16. '*' checks the current buffer, but the
mouse click may be in another buffer.
2004-11-01 13:50:49 +00:00
Sam Steingold
ab60bd7403
(mouse-show-mark): Replace the last occurrence of
...
x-lost-selection-hooks with x-lost-selection-functions.
2004-10-29 14:31:34 +00:00
Stefan Monnier
b10c429fe3
(mouse-show-mark): Adjust to new name and don't assume
...
x-lost-selection-functions is bound.
2004-10-28 23:33:23 +00:00
Richard M. Stallman
d3d3d650ef
(mouse-show-mark): Do most processing the same
...
regardless of transient-mark-mode.
2004-10-27 17:44:59 +00:00
David Ponce
7a892a8bff
(mouse-drag-move-window-top): New function.
...
(mouse-drag-mode-line-1): Use it.
2004-10-18 09:29:59 +00:00