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
Richard M. Stallman
be01074898
Comment change.
1995-10-30 17:35:01 +00:00
Richard M. Stallman
f9278a75c4
(mouse-drag-region): Set end-of-range after calling mouse-scroll-subr.
...
(mouse-set-region): Don't do the sit-for on a pc frame.
1995-10-27 17:48:32 +00:00
Richard M. Stallman
a3d6bb976d
[These changes were actually in the previous version.
...
This version is a doc fix.]
(mouse-drag-vertical-line): New function.
(mouse-scroll-min-lines): New variable.
(mouse-scroll-subr): Use it.
(mouse-drag-region): Record where the mouse drag has reached
and use that to adjust the drag event before replaying it.
(mouse-drag-region): Store the right end position
in the drag-event before replaying it at the end.
(mouse-skip-word): Skip complete symbol when over a
character with symbol syntax.
1995-09-24 23:20:39 +00:00
Richard M. Stallman
08a1c17815
(C-down-mouse-1): Use buffer menu, not font menu.
...
(S-down-mouse-1): Put font menu here.
1995-09-18 14:15:22 +00:00
Richard M. Stallman
c2ef83b424
(mouse-drag-region): Unread the up-event rather than execute it here.
1995-08-13 15:46:10 +00:00
Karl Heuer
e26815c37e
(mouse-major-mode-menu): Catch quit in read-key-sequence.
...
(mouse-major-mode-menu): Don't call command-execute
if lookup-key gives nil.
1995-07-17 22:47:19 +00:00
Richard M. Stallman
c8c5bd2447
(mouse-selection-click-count-buffer): New variable.
...
(mouse-drag-region): Set it.
(mouse-save-then-kill): Test it.
1995-06-29 22:19:13 +00:00
Richard M. Stallman
a814e9df17
(mouse-yank-at-click): Clear mouse-selection-click-count.
1995-06-22 04:37:38 +00:00
Richard M. Stallman
91a6bc102e
(mouse-set-region): Bind last-command with this-command.
1995-06-16 04:37:44 +00:00
Karl Heuer
33a3543461
(mouse-set-region): Don't bounce the cursor on X.
...
mouse-drag-region takes care of showing it, sufficiently.
1995-06-05 17:36:29 +00:00
Karl Heuer
eb9780b030
(mouse-save-then-kill): Fix previous change.
1995-05-20 05:36:11 +00:00
Richard M. Stallman
bcde3748c6
(mouse-save-then-kill): When making a new region
...
and not adjusting an old one, always make new kill-ring entry
and don't call mouse-show-mark.
1995-05-15 23:00:16 +00:00
Karl Heuer
dc269e81ca
Create mouse-drag-overlay as a dead overlay, instead
...
of having it live in the *scratch* buffer until first used.
1995-04-14 22:39:19 +00:00
Karl Heuer
f8c25f1b67
Update copyright.
1995-04-07 02:21:52 +00:00
Karl Heuer
6917cfb00d
(mouse-major-mode-menu): Avoid confusing error message when there's no current
...
local map.
1995-03-15 21:30:49 +00:00
Richard M. Stallman
9dfab550e6
(mouse-kill-secondary): Avoid changing this-command.
...
Don't clear the secondary selection.
1995-02-26 04:17:42 +00:00
Simon Marshall
95e5bde956
Made mouse-buffer-menu use list-buffers-directory if buffer-file-name is nil.
1995-02-21 12:47:18 +00:00
Richard M. Stallman
fb28fd5b76
(mouse-buffer-menu): Don't clear selection when we kill it.
1995-02-18 23:56:09 +00:00
Richard M. Stallman
e6c2f5d4b9
(mouse-drag-region): Delete the overlay before
...
calling the terminating event's command binding or making a region.
(mouse-set-region-1): New function.
(mouse-drag-region, mouse-set-region, mouse-save-then-kill): Call it.
(mouse-region-match): New function.
1995-02-12 04:51:42 +00:00
Richard M. Stallman
b64548c785
(mouse-save-then-kill): When we don't use existing
...
region, put where click and put mark at the other end. Use
point-before-scroll if non-nil. Recognize mouse-set-region
as a previous command that makes a region we should use.
(mouse-drag-region): When we run the final click's binding,
set this-command.
1995-01-26 07:21:05 +00:00
Richard M. Stallman
bfbcf12e47
(mouse-drag-region): Modify previous change--don't run the ordinary binding
...
in the case of a multiple click.
1995-01-26 03:18:45 +00:00
Richard M. Stallman
ad14280fb7
(mouse-save-then-kill): Ignore mouse-selection-click-count if no active mark.
1995-01-26 02:37:30 +00:00
Richard M. Stallman
44dc525292
(mouse-drag-region): As once in the past,
...
call the binding of the terminating event.
1995-01-09 18:27:32 +00:00
Richard M. Stallman
33c448cd1a
(mouse-minibuffer-check, mouse-drag-mode-line)
...
(mouse-yank-at-click, mouse-yank-secondary, mouse-choose-completion):
Run mouse-leave-buffer-hook.
1994-12-26 05:09:41 +00:00
Richard M. Stallman
cefaf3b60c
(mouse-save-then-kill): Call mouse-show-mark
...
when we adjust an existing region.
1994-11-15 16:57:24 +00:00
Richard M. Stallman
eef805d7ea
Put mouse-set-font on C-down-mouse-1.
...
Don't bind C-down-mouse-2.
1994-10-30 10:41:03 +00:00
Morten Welinder
87485d6fc9
*** empty log message ***
1994-10-17 08:42:36 +00:00
Richard M. Stallman
95132d1c30
(mouse-major-mode-menu): Use minor-mode-map-alist
...
instead of overriding-local-map. Display equiv keys using
mouse-major-mode-menu-compute-equiv-keys.
(mouse-major-mode-menu-compute-equiv-keys): New function.
(mouse-major-mode-menu): New function, on C-mouse-3.
(mouse-major-mode-menu-1): New function
(mouse-set-font): Move it to C-mouse-2.
1994-10-12 09:27:49 +00:00
Richard M. Stallman
a94c7fcc9c
(mouse-secondary-click-count): New variable.
...
(mouse-secondary-save-then-kill, mouse-drag-secondary):
Use mouse-secondary-click-count, not mouse-selection-click-count.
1994-10-01 07:30:18 +00:00
Karl Heuer
f69140fdfd
(mouse-save-then-kill, mouse-secondary-save-then-kill): Use the kill-new
...
interface; don't manipulate kill-ring directly.
1994-09-15 21:51:14 +00:00
Richard M. Stallman
f598fb033e
(mouse-set-mark): Select the window before saving point.
1994-08-13 20:29:54 +00:00
Richard M. Stallman
544e7e7356
(mouse-drag-mode-line): New function (from mldrag.el,
...
but changed a little). Put it on mode-line down-mouse-1.
(mouse-select-window): Bind to mode-line drag-mouse-1.
1994-08-11 20:35:31 +00:00
Richard M. Stallman
f29c36952c
(x-fixed-font-alist): Add clean 5x8 and clean 6x8.
1994-08-08 10:16:47 +00:00
Richard M. Stallman
02680e9b54
(mouse-choose-completion): Pass completion-base-size value
...
to choose-completion-string.
1994-08-07 18:09:18 +00:00