1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

192 Commits

Author SHA1 Message Date
Karl Heuer
4e363e7e63 (mouse-drag-vertical-line):
If WHICH-SIDE is not `right', then scroll bars are on the left.
1998-12-10 03:26:25 +00:00
Andreas Schwab
ce8c28097d (mouse-drag-region): Fix typo. 1998-11-03 10:25:56 +00:00
Richard M. Stallman
2e3329a537 (mouse-drag-region): Fake up a mouse-motion event
if we did not get one for the final move.
1998-11-01 18:17:40 +00:00
Kenichi Handa
258e329529 (mouse-skip-word): If point is at word constituent
characters, pay attention to word-separating-categories by using
forward-word instead of skip-syntax-forward/backward.
1998-07-30 01:34:38 +00:00
Richard M. Stallman
a926a0fab5 (mouse-delete-window): If the frame has just one window,
bury the current buffer instead.
1998-07-29 05:41:04 +00:00
Richard M. Stallman
25f9b4bf39 (mouse-major-mode-menu): Run activate-menubar-hook here. 1998-05-05 21:47:53 +00:00
Richard M. Stallman
3ca87c7b46 (mouse-buffer-menu-mode-mult): New variable.
(mouse-buffer-menu): Obey mouse-buffer-menu-mode-mult.
Also avoid some consing.
1998-04-20 20:45:25 +00:00
Richard M. Stallman
53016bead4 (mouse-save-then-kill): Get point-before-scroll
from the right buffer.
1998-04-08 07:22:05 +00:00
Richard M. Stallman
1fa01bcdd7 (mouse-drag-region): Bind deactivate-mark
around call to copy-region-as-kill.
(mouse-set-region): Likewise.
(mouse-secondary-save-then-kill): Likewise.
1998-03-16 08:05:58 +00:00
Richard M. Stallman
0320e66f47 (mouse-scroll-subr): Handle if window-end returns nil. 1998-03-14 08:20:37 +00:00
Richard M. Stallman
0d9be91c37 (mouse-buffer-menu-maxlen): Renamed from mouse-menu-buffer-maxlen. 1998-03-12 23:11:57 +00:00
Richard M. Stallman
5d6a85e05f (mouse-drag-vertical-line): Properly determine which
side the scroll bar or vertical line is on.
1998-01-19 23:11:18 +00:00
Karl Heuer
b0ea497faf (mouse-drag-vertical-line): Handle left-side scroll bars. 1997-10-23 06:29:35 +00:00
Richard M. Stallman
3bb846b871 (mouse-undouble-last-event): Fix gross bugs:
use modifiers, not old-modifiers.
1997-07-09 02:47:07 +00:00
Richard M. Stallman
4e2aade124 (mouse-show-mark): Handle switch-frame events in the loop. 1997-07-08 09:47:23 +00:00
Richard M. Stallman
7132500bad (mouse-undouble-last-event): Use reverse, not nreverse. 1997-07-01 04:33:22 +00:00
Richard M. Stallman
bb3aa8352f (mouse-drag-region): For a click (not a drag),
let the up-event run normally.
1997-06-27 04:23:52 +00:00
Richard M. Stallman
397a88f3c9 (mouse-undouble-last-event): Return nil if the event
is not double or triple to start with.
(mouse-show-mark): Handle scroll-bar events here.
1997-05-27 22:52:31 +00:00
Richard M. Stallman
3b558d418c Use defcustom. 1997-05-03 22:19:10 +00:00
Karl Heuer
51a02226c2 (mouse-set-font): Handle fontset. 1997-02-20 05:47:42 +00:00
Richard M. Stallman
284a88a318 (mouse-buffer-menu): Group buffers by major modes if that seems to be useful.
(mouse-buffer-menu-mode-groups): New variable.
(mouse-buffer-menu-alist, mouse-buffer-menu-split): New subroutines
broken out of mouse-buffer-menu.
1997-02-10 00:10:16 +00:00
Richard M. Stallman
f1017d552a (mouse-start-end): Put values in proper order,
in the doublequote case.
1996-12-26 20:48:46 +00:00
Richard M. Stallman
951e042711 (mouse-drag-mode-line): Don't get error
about sole window, if we don't actually try to change the size.
1996-12-07 22:19:50 +00:00
Richard M. Stallman
6a16c4cb00 (mouse-major-mode-menu): Propagate prefix arg
to the command that is run.
1996-12-07 20:32:35 +00:00
Geoff Voelker
b86b9918dd Use w32 instead of ms-windows for window-system symbol 1996-11-19 06:59:17 +00:00
Richard M. Stallman
efc10c970d (mouse-drag-secondary): Make sure to return nil
if we don't make a selection.
1996-09-25 03:27:04 +00:00
Richard M. Stallman
3617aa76fc (mouse-drag-region): Ignore event end-point if it is not a number. 1996-09-23 17:44:50 +00:00
Richard M. Stallman
1917b9694a (mouse-set-region):
Test for ms-windows instead of win32, and use memq.
1996-09-15 02:17:49 +00:00
Richard M. Stallman
e1877477ee (mouse-select-window): Don't call unfocus-frame. 1996-09-03 21:37:35 +00:00
Richard M. Stallman
33d79bad63 (mouse-show-mark): Detect loss of selection
while we are showing it highlighted.
1996-09-01 02:42:04 +00:00
Richard M. Stallman
7aeb7370f3 (mouse-region-delete-keys): New variable.
(mouse-show-mark): If one of those keys is next, delete the region.
1996-08-27 01:03:35 +00:00
Richard M. Stallman
1c9df23f8c (mouse-drag-region): Don't call mouse-set-region-1
if mark is gone or no longer active or if we changed buffers.
1996-08-17 16:56:19 +00:00
Karl Heuer
d3e458b053 (mouse-major-mode-menu-1): No need to copy the top
levels of structure.
1996-07-13 00:55:05 +00:00
Karl Heuer
d5c847bb69 (mouse-drag-region): Cope if stop-point is nil.
(mouse-major-mode-menu-compute-equiv-keys): Deleted.
(mouse-major-mode-menu-1): Copy the top levels of structure,
if we use all of MENUBAR.
Set mouse-major-mode-menu-prefix.
(mouse-major-mode-menu): Total rewrite.
1996-07-11 23:35:37 +00:00
Karl Heuer
639829447f (mouse-major-mode-menu-1): Always return just a keymap;
never (STRING . KEYMAP).
(mouse-major-mode-menu): Discard the `keymap' from the front of
the keymap we get from mouse-major-mode-menu-1.
Construct the menu name string from major-mode.
1996-07-08 00:17:35 +00:00
Miles Bader
98aac09d3a (mouse-show-mark): In transient mark mode, delete mouse-drag-overlay.
(mouse-undouble-last-event): New function.
(mouse-show-mark): Call mouse-undouble-last-event.
1996-07-07 01:59:10 +00:00
Richard M. Stallman
5377087736 (mouse-start-end): Support selecting strings by double
clicking on a character with quote syntax.
1996-06-29 01:02:59 +00:00
Richard M. Stallman
6ce2992945 (mouse-drag-region): Be smart about which end
gets point and which end gets the mark.
1996-06-21 16:15:21 +00:00
Richard M. Stallman
bca55f26b2 (mouse-buffer-menu): Use aref rather than string-match. 1996-06-21 15:33:46 +00:00
Richard M. Stallman
c8f264ae68 (mouse-show-mark): Use temporary highlighting if possible instead of a pause.
(mouse-drag-region): Use mouse-show-mark to do temp highlighting.
(mouse-save-then-kill): Call mouse-show-mark for a new selection
if we have a window system.
1996-06-03 17:21:03 +00:00
Richard M. Stallman
f42be8fd1c (mouse-drag-region): Set the region before reading a
character, so the selection exists while we wait.
1996-05-06 00:43:26 +00:00
Richard M. Stallman
d017deb2dd (mouse-drag-region): Doc fix. 1996-04-30 16:11:53 +00:00
Richard M. Stallman
917baba010 (mouse-drag-region): Leave region highlighted until the next input event. 1996-04-26 19:15:39 +00:00
Richard M. Stallman
a49ea24c88 (mouse-buffer-menu): Keep the order of buffers straight. 1996-03-25 19:00:44 +00:00
Richard M. Stallman
03075c19ea (mouse-buffer-menu): Delete debugging code. 1996-01-18 07:00:50 +00:00
Richard M. Stallman
4c9afcbe57 (mouse-drag-region, mouse-drag-secondary): Bind echo-keystrokes to 0. 1996-01-15 05:12:49 +00:00
Richard M. Stallman
f110796076 (mouse-menu-buffer-maxlen): New variable.
(mouse-buffer-menu): Use it.
1995-12-26 19:43:51 +00:00
Richard M. Stallman
2bc0bb038c Remove junk accidentally inserted in previous change. 1995-12-26 19:07:21 +00:00
Richard M. Stallman
12dcaa7c8e (mouse-buffer-menu): If lots of buffers, group them into multiple panes. 1995-12-26 04:43:32 +00:00
Geoff Voelker
f93f3cf59e mouse.el [win32] (mouse-set-region):
Test for 'win32 window system as well as 'x.
1995-11-07 07:47:47 +00:00