1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00
Commit Graph

278 Commits

Author SHA1 Message Date
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
Richard M. Stallman
f9c8b7ae61 (mouse-yank-at-click, mouse-yank-secondary):
Use * to err if buffer is readonly.
2004-10-16 15:30:56 +00:00
Richard M. Stallman
cc47c660fa (mouse-set-region-1): If transient-mark-mode
is `identity', change it to `only'.
2004-07-09 16:54:04 +00:00
Richard M. Stallman
eb630d4b6b (mouse-set-region-1): Set transient-mark-mode to `only'. 2004-06-21 03:16:28 +00:00
Stefan Monnier
a5809dbd7f (mouse-set-region-1): Use temporary transient-mark-mode
after the user marked text with the mouse.
2004-05-28 21:06:26 +00:00
Kim F. Storm
b2dae92a19 (mouse-drag-copy-region): New defcustom.
(mouse-set-region, mouse-drag-region-1): Use it.
2004-04-30 21:37:43 +00:00
Stefan Monnier
541a44d22d (mouse-set-point): Use it. 2004-04-14 17:30:17 +00:00
Kim F. Storm
76693d1232 Bind mouse-1 on left-fringe and right-fringe to mouse-set-point so
that hscroll still works now that clicks on fringes generate specific
mouse events.
(mouse-set-point): Note that it now works in fringes and margins
too due to new semantics of posn-point in fringes and margins.
2003-11-23 00:27:27 +00:00
Dave Love
a7df580dc8 (mouse-popup-menubar, mouse-skip-word): Doc fix. 2003-09-01 18:47:29 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
8eb1dc02a1 (mouse-set-font): Avoid misleading error message if user makes no selection. 2002-05-29 16:36:55 +00:00
Richard M. Stallman
2d246c7162 (mouse-drag-region-1): Display region highlight only in the selected window. 2002-04-10 15:04:19 +00:00
Eli Zaretskii
f4b60fe635 (mouse-show-mark): Remove the no-highlight alternative:
all terminals now support highlighting of some kind.
2002-03-05 18:41:53 +00:00
Eli Zaretskii
88f20a3dd8 (mouse-region-delete-keys): Add deletechar. 2002-03-03 16:52:58 +00:00
Eli Zaretskii
7948c2483a (mouse-show-mark): Use display-mouse-p, not display-graphic-p,
to decide whether to move point or use the highlighting.
2002-03-01 11:43:39 +00:00
Richard M. Stallman
6454615cfa (mouse-drag-region-1): Renamed from mouse-drag-region.
(mouse-drag-region): New function.  For a click in the echo area,
show *Messages*.
2002-01-17 02:07:54 +00:00
Richard M. Stallman
4a4fa24d38 (mouse-drag-mode-line-1): When dragging a mode line upward,
shrink the windows above as necessary to get space.
(mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
2001-12-29 04:21:25 +00:00
Pavel Janík
231c4d1a90 Fix typo. 2001-12-18 17:43:09 +00:00
Pavel Janík
b70c3b0ed2 Fix typo. 2001-12-13 07:56:02 +00:00
Eli Zaretskii
381e32f064 (mouse-set-font): Make it a no-op if multiple fonts
aren't supported.  Print a message to that effect if invoked.
2001-11-28 17:15:33 +00:00
Sam Steingold
b2013aad9b Converted backquote to the new style (in comments). 2001-11-27 18:00:53 +00:00
Richard M. Stallman
02beb9365d (mouse-drag-region): Don't run the up-event
handler if window start changed due to the down-mouse event.
2001-11-14 02:49:26 +00:00
Richard M. Stallman
f134ad18de (mouse-show-mark): Either move point to the mark
or use highlighting, never both.
(mouse-buffer-menu): If WINDOW is a frame, select its selected window.
2001-11-14 02:48:17 +00:00