1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Simon Marshall
ad3f1e65bd Customise. Don't install bindings on file load; use a fn. 1997-07-15 07:43:48 +00:00
Richard M. Stallman
a416bfa85b (mouse-sel-get-selection-function):
Look in x-last-selected-text if necessary.
1997-05-05 19:55:17 +00:00
Richard M. Stallman
0a6231f5fc (mouse-sel-set-selection-function): Doc fix.
Use x-select-text, for the primary selection.
(mouse-sel-get-selection-function):
Use x-cut-buffer-or-selection-value, for the primary selection.
1996-10-26 18:13:52 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Richard M. Stallman
7b990caf7e (mouse-sel-lost-selection-hook): Undo prev change. 1995-11-15 18:32:38 +00:00
Richard M. Stallman
94f62922fa (mouse-sel-lost-selection-hook): Use (car selection). 1995-11-14 22:57:02 +00:00
Richard M. Stallman
6738479381 Don't (require 'backquote).
(mouse-extend-internal): Select space in between "things" when
extending selection, ie. we are extending to "thing" boundaries.

Use x-lost-selection-hooks to handle loss of selection.
(mouse-sel-lost-selection-hook): New function.
(mouse-sel-selection-owner-p-function): Variable removed.
(mouse-sel-selection-owner-p): Function removed.
(mouse-sel-validate-selection): Function removed.
1995-07-18 21:37:14 +00:00
Richard M. Stallman
f250682621 Downcase function parameters.
Doc fixes.

Rewrite to support secondary selection.
(mouse-sel-maintainer-address): New constant.
(mouse-sel-submit-bug-report): New function.
Rename mouse-sel-selection-type to mouse-sel-primary-thing.
(mouse-sel-secondary-thing): New variable.
(mouse-sel-selection-alist): New constant.
(mouse-sel-set-selection-function): Semantics changed.  Value
should now be a function taking two arguments.
(mouse-sel-get-selection-function): Semantics changed.  Value
should now be a function taking one argument.
(mouse-sel-selection-owner-p-function): New variable.
Removed variable mouse-sel-check-selection-function.
Rename mouse-sel-determine-selection-type to
mouse-sel-determine-selection-thing.
(mouse-sel-set-selection): New function.
(mouse-sel-get-selection): New function.
(mouse-sel-selection-owner-p): New function.
(mouse-sel-selection-overlay): New function.
(mouse-sel-selection-thing): New function.
(mouse-sel-region-to-primary): New function.
(mouse-sel-primary-to-region): New function.
(mouse-sel-eval-at-event-end): New macro.
(mouse-sel-determine-selection-thing): Quad-click selects paragraphs.
Removed variable mouse-sel-retain-highlight; use inverse of
transient-mark-mode instead.
(mouse-select-internal): New function.
(mouse-select): Re-written using mouse-select-internal and
mouse-sel-primary-to-region.
(mouse-select-secondary): New function.
(mouse-extend-internal): New function.
(mouse-extend): Re-written using mouse-extend-internal,
mouse-sel-region-to-primary and mouse-sel-primary-to-region.
(mouse-extend-secondary): New function.
(mouse-insert-selection-internal): New function.
(mouse-insert-selection): Re-written using
mouse-insert-selection-internal.
(mouse-insert-secondary): New function.
(mouse-sel-validate-selection): Check all selections in
mouse-sel-selection-alist.
1995-04-19 04:35:22 +00:00
Richard M. Stallman
b769185330 (mouse-select): Pass an arg to mouse-extend. 1994-10-11 01:49:05 +00:00
Karl Heuer
f77e1e4b80 Fix typo in comment. 1994-09-15 21:52:44 +00:00
Richard M. Stallman
c89c189e3a (mouse-extend): In Transient Mark mode, use the region
whenever it is active.
1994-08-24 04:50:24 +00:00
Richard M. Stallman
d43fe04903 (mouse-extend): Pass WINDOW arg to mouse-scroll-subr. 1994-07-31 17:11:50 +00:00
Richard M. Stallman
997a3b04bc Delete debugging lines from previous change. 1994-07-12 22:32:58 +00:00
Richard M. Stallman
72e2e0c393 Many doc fixes.
(mouse-extend): Don't use existing region if EVENT is nil.
1994-07-12 17:37:32 +00:00
Richard M. Stallman
07b3798c76 Comment change. 1994-06-17 20:04:22 +00:00
Richard M. Stallman
6b4dd33270 (mouse-insert-selection): Test mouse-yank-at-point.
(mouse-sel-insert-at-point): Variable deleted.
1994-05-23 04:59:35 +00:00
Karl Heuer
d733c5ec03 Update copyright. 1994-05-03 22:46:37 +00:00
Richard M. Stallman
aa718a1fab (mouse-extend): Handle case where posn-window is a frame. 1994-04-22 20:19:41 +00:00
Richard M. Stallman
cd1f32a618 Doc fixes.
(mouse-sel-insert-at-point): New variable.
(mouse-insert-selection): Don't move point if
mouse-sel-insert-at-point is non-nil.
1994-03-07 02:29:26 +00:00
Richard M. Stallman
6a2e3631e3 (mouse-sel-version): Don't base version number on
RCS revision.  Updated to version 2.0.
(mouse-sel-set-selection-function, mouse-sel-get-selection-function,
 mouse-sel-check-selection-function):
Check whether X11 functions are bound when setting defaults.
(mouse-extend): Check whether modify-frame-parameters is bound before
calling it.  Add support to kill region with double-mouse-3.
1994-02-02 23:19:11 +00:00
Richard M. Stallman
1a2b6c5271 Initial revision 1993-11-08 14:46:50 +00:00