1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

304 Commits

Author SHA1 Message Date
Eli Zaretskii
d0d57043ae (mouse-show-mark, mouse-save-then-kill): Don't use window-system. 2000-06-28 15:33:59 +00:00
Stefan Monnier
342a1e7b20 Add a version to the obsoletions.
(mouse-show-mark): Don't quote lambda.
2000-06-01 05:04:28 +00:00
Dave Love
8faa97078b (mouse-save-then-kill-delete-region): Don't bind
before-change-function,  after-change-function.
2000-05-31 22:48:20 +00:00
Gerd Moellmann
0e57ab653e (mouse-yank-at-click): Doc fix. 2000-05-15 20:13:54 +00:00
Gerd Moellmann
1853aa6bc9 (mouse-drag-region): Don't run up-event handler
if hscroll has changed.
2000-03-09 20:08:49 +00:00
Dave Love
99d48056fa (mouse-drag-mode-line-1): Remove `growth =' message. 2000-02-23 22:20:44 +00:00
Gerd Moellmann
b0d22e20c3 (mouse-drag-mode-line-1): Extension of former
mouse-drag-mode-line that also drags the header line.
(mouse-drag-mode-line): Call it.
(mouse-drag-header-line): New.
(toplevel): Bind down-mouse-1 on header lines to
mouse-drage-header-line.
1999-09-09 14:54:25 +00:00
Richard M. Stallman
6b8e486e9e (font-menu-add-default): Simplify code. 1999-09-05 19:44:45 +00:00
Dave Love
2fe8522765 Provide `mldrag' for compatibility.
(mldrag-drag-mode-line, mldrag-drag-vertical-line): New aliases,
marked obsolete.
1999-08-16 15:47:41 +00:00
Dave Love
29a3028d04 (x-fixed-font-alist): Add lucidasanstypewriter. 1999-07-28 18:27:35 +00:00
Dave Love
2f9e343bed Copyright update. 1999-07-19 22:17:17 +00:00
Dave Love
b98e5762e6 (mouse-major-mode-menu): Default to menu-bar-edit-menu
for modes which don't define menus.
1999-07-19 21:49:13 +00:00
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
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
Richard M. Stallman
19d973e89f (x-fixed-font-alist): Regularize how fonts are specified. 1994-08-05 19:31:42 +00:00
Richard M. Stallman
0a50b9936f Capitalize some error messages.
(mouse-set-point): Nice error if button release is in scrollbar.
1994-08-02 21:59:19 +00:00
Richard M. Stallman
2f5ed2e8b3 (mouse-choose-completion): Check for next-single-property-change
returning nil.
1994-07-29 21:42:41 +00:00
Richard M. Stallman
b6522df6aa ([vertical-line C-mouse-2]): Bind it as in a scroll bar. 1994-07-16 22:37:18 +00:00
Richard M. Stallman
3ad0e7cefd (mouse-drag-region): Delete redundant switch-frame clause.
(mouse-drag-secondary): Likewise.
1994-07-15 21:32:01 +00:00
Richard M. Stallman
0136e1e36c (mouse-drag-secondary): Don't start making an overlay
when the range is empty.
(mouse-secondary-save-then-kill):
The first time, make a new kill ring entry.
1994-07-12 17:03:13 +00:00
Richard M. Stallman
9a43a5943d (mouse-choose-completion): Use mouse-face properties to find string to use. 1994-07-11 21:25:52 +00:00
Richard M. Stallman
56d638abf9 (x-fixed-font-alist): Add 8x13. Don't specify 75-75 for 7x13, 7x14. 1994-07-11 20:10:07 +00:00
Richard M. Stallman
9926ab6410 ([vertical-scroll-bar C-mouse-2]): Split the window. 1994-07-07 18:39:02 +00:00
Richard M. Stallman
6452d8a6f4 (mouse-drag-region): Bind this-command like last-command.
(mouse-kill-ring-save): Bind this-command and last-command.
1994-07-04 00:49:37 +00:00
Richard M. Stallman
1493e1f888 (mouse-scroll-subr): Delete some debugging code. 1994-07-02 00:47:40 +00:00
Richard M. Stallman
5fb9cdd99e (mouse-drag-secondary): Don't treat end of buffer
specially when within the window.
1994-06-30 04:49:26 +00:00
Richard M. Stallman
d2287ded09 (mouse-scroll-subr): Don't do anything special at eob.
(mouse-drag-region): Don't treat scrolling differently at eob.
(mouse-drag-secondary): Likewise.
1994-06-25 23:48:04 +00:00
Richard M. Stallman
4e399a5322 (mouse-scroll-subr): Preserve point if WINDOW's not the selected window.
(mouse-drag-region, mouse-drag-secondary): Accept any list event
as normal termination of the dragging.
1994-06-19 18:04:35 +00:00
Richard M. Stallman
e919a6225e (mouse-scroll-subr): New arg WINDOW.
(mouse-drag-region, mouse-drag-secondary): Pass new arg.
1994-06-17 00:51:33 +00:00
Karl Heuer
5cb0a75ace (mouse-drag-region): Bind last-command, not this-command. 1994-06-15 03:55:42 +00:00
Richard M. Stallman
2f4b15efbd (mouse-save-then-kill-delete-region): Turn off change hooks
for the edit operations that are not real.
1994-06-13 19:35:07 +00:00
Richard M. Stallman
874a2cbd81 (mouse-choose-completion): If *Completion* is a special
buffer or just has a dedicated window, do something reasonable.
1994-06-05 12:06:23 +00:00
Richard M. Stallman
85d6b80b26 (mouse-split-window-vertically): Treat scroll bar events just like others. 1994-05-22 20:56:11 +00:00
Richard M. Stallman
b6be5d9584 (mouse-choose-completion):
Include words separated by single spaces in the completion.
1994-05-20 22:27:04 +00:00
Richard M. Stallman
3b0aebe95a (mouse-drag-secondary): Handle mouse motion out of window
as in mouse-drag-region.
1994-05-20 08:46:20 +00:00
Karl Heuer
01a911e3f5 (mouse-tear-off-window): Change new-frame to make-frame. 1994-05-06 20:27:25 +00:00
Richard M. Stallman
7bbe2cc794 (mouse-secondary-save-then-kill): Doc fix. 1994-05-04 00:38:14 +00:00
Karl Heuer
d733c5ec03 Update copyright. 1994-05-03 22:46:37 +00:00
Richard M. Stallman
3fadec1a1f (mouse-set-font): Simply call set-default-font. 1994-04-22 08:49:57 +00:00
Karl Heuer
50e527bcc9 (mouse-drag-region): Handle scroll off top/bottom. 1994-04-16 06:47:20 +00:00
Karl Heuer
df4de8c63e (mouse-set-font): Don't error if no selection. 1994-04-16 04:07:43 +00:00
Richard M. Stallman
1900a92b1d (x-fixed-font-alist): Give multiple names for try for certain fonts.
(mouse-set-font): Handle these.
1994-04-14 02:55:13 +00:00
Richard M. Stallman
40fc483606 (mouse-choose-completion): Use choose-completion-string.
(mouse-completion-delete-max-match): Moved to simple.el and renamed.
1994-03-27 22:18:55 +00:00
Karl Heuer
142c76727e (mouse-kill): Select the clicked window first. 1994-03-11 04:13:50 +00:00
Karl Heuer
d65147f61d (mouse-minibuffer-check): New function to disallow mouse events in an inactive
minibuffer.  All relevant mouse functions changed to use it.
1994-03-09 04:00:12 +00:00
Richard M. Stallman
73e2025fcd (mouse-choose-completion): Bury the completion buffer. 1994-03-07 03:37:55 +00:00
Richard M. Stallman
f36f4e9e5c (mouse-choose-completion): Use that as the buffer to edit. 1994-03-02 23:26:06 +00:00
Richard M. Stallman
3c2dd2c035 (help-menu-map): Variable deleted, and its binding.
(mouse-select-window): New command, now on mode-line mouse-1.
(mouse-delete-other-windows): Now on mode-line mouse-2.
(mouse-split-window-horizontally): Now on mode-line C-mouse-2.
1994-02-25 19:35:58 +00:00
Richard M. Stallman
313558ae31 (mouse-delete-max-match): Set len properly. 1994-02-18 23:51:12 +00:00
Richard M. Stallman
6f482eec77 (mouse-start-end): For double click with START on openparen,
start forward scan from START.
1994-02-10 07:39:09 +00:00
Karl Heuer
1ec715837b (mouse-start-end): Check START rather than point for being at eob. 1994-02-09 22:21:47 +00:00
Richard M. Stallman
50f580011d (mouse-yank-secondary): Do move point.
(mouse-yank-at-point): New var.
(mouse-yank-at-click, mouse-yank-secondary): Obey tha.
1994-02-06 02:53:16 +00:00
Richard M. Stallman
7e6404f678 (mouse-kill-secondary): Get rid of CLICK argument.
Instead, use this-command-keys.

(x-fixed-font-alist): For 6x10, look for normal font, not semicondensed.

(mouse-yank-secondary): Doc fix.
1993-12-23 03:33:34 +00:00
Richard M. Stallman
852bc46fcb (mouse-set-font): Update nonstandard faces that are supposed
to use a modification of the frame's font.
1993-11-27 07:52:19 +00:00
Richard M. Stallman
9a974c88a9 (mouse-save-then-kill-delete-region):
Call undo-boundary at the beginning and at the end.

(mouse-start-end): Use MODE mod 3.
(mouse-save-then-kill): Test mouse-selection-click-count mod 3.
(mouse-drag-secondary, mouse-secondary-save-then-kill): Likewise.

(mouse-kill-secondary): Do the kill in proper buffer.
Give error if in the wrong buffer.
(mouse-secondary-save-then-kill): Give error if click is not in
the buffer already used for secondary selection.
Don't switch windows; always temporarily switch buffers.
1993-11-24 06:35:03 +00:00
Richard M. Stallman
dd524dbd68 (mouse-save-then-kill-delete-region): Take args BEG and END.
Update the undo list properly.
(mouse-save-then-kill): Pass those args.
When we kill, clear mouse-save-then-kill-posn
and mouse-selection-click-count.
(mouse-secondary-save-then-kill): Likewise.
Delete the overlay after deleting the selection text.
(mouse-selection-click-count): Initialize to 0.
(mouse-save-then-kill-delete-region): Handle buffers with no undo list.
Handle empty regions.  Handle end < beg.
1993-11-15 09:56:05 +00:00
Richard M. Stallman
26d280b955 (mouse-save-then-kill-delete-region): Take args BEG and END.
Update the undo list properly.
(mouse-save-then-kill): Pass those args.
(mouse-secondary-save-then-kll): Pass those args.
Delete the overlay after deleting the selection text.
1993-11-14 06:26:02 +00:00
Richard M. Stallman
3544cfc9b9 (mouse-drag-region): Set this-command to mouse-set-point
if not setting the mark.
(mouse-save-then-kill): Consider mark-active only in transient mark md.
1993-11-03 00:50:06 +00:00
Richard M. Stallman
d89a4a47bf (mouse-delete-max-match): New function.
(mouse-choose-completion): Use that.  Now supports buffers
other than minibuffer.

(mouse-drag-region): Put the text on the kill ring.
Don't set mark if region is empty.
(mouse-yank-at-click): Set this-command.
(mouse-start-end): Fix double-click-on-closeparen case.
(mouse-save-then-kill): When used repeatedly at different places,
alter the nearer end of the region.  This applies regardless of how
the previous selection was made.
(mouse-drag-secondary, mouse-secondary-save-then-kill):
Rewrite for xterm-style dragging and extending.
1993-09-27 01:02:43 +00:00
Richard M. Stallman
eb6ff46fa1 (mouse-save-then-kill): If follows a multi-click selection,
extend the selection.
(mouse-save-then-kill-delete-region): New subroutine.
(mouse-selection-click-count): New variable.
(mouse-drag-region): Set it.
1993-09-20 17:36:49 +00:00
Richard M. Stallman
e37de1206a (mouse-set-region): Put region in kill ring.
(mouse-drag-region): Handle double and triple clicks
when displaying region and when setting it.
(mouse-skip-word, mouse-start-end): New functions.
1993-09-17 21:26:18 +00:00
Richard M. Stallman
324710caf5 (mouse-choose-completion): Really go to minibuffer; no save-excursion. 1993-08-12 22:21:12 +00:00
Richard M. Stallman
1e49aa290a (mouse-drag-region): Mouse in menu bar means scroll up. 1993-08-11 21:29:51 +00:00
Richard M. Stallman
0d94f5ca29 (font-menu-add-default): Use list, not cons, for new elt.
Don't get confused if no Misc entry.
1993-08-11 19:22:35 +00:00
Richard M. Stallman
3d64d15b2e (font-menu-add-default): Fix previous change. 1993-08-11 19:20:22 +00:00
Richard M. Stallman
2a5fa27beb (mouse-set-point): Use event-end, not event-start. 1993-08-11 06:17:43 +00:00
Richard M. Stallman
78210c952b (mouse-drag-region): Doc fix. 1993-08-10 17:03:06 +00:00
Richard M. Stallman
b80f19281d (mouse-set-point): Error if click in inactive minibuffer.
(mouse-drag-region): Use mouse-set-point.
Don't set a mark if final event wasn't suitable for setting point.
1993-08-08 19:16:42 +00:00