1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +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
Kim F. Storm
3f00c08b2b From Chong Yidong <cyd@stupidchicken.com>
(mouse-sel-follow-link-p): New function.
(mouse-select, mouse-select-internal, mouse-extend-internal):
Use it to implement mouse-1-click-follows-link functionality.
2005-05-11 12:33:44 +00:00
Stefan Monnier
a122087b88 (mouse-sel-mode): Adjust to new names for x-lost-selection-functions. 2004-10-28 23:34:51 +00:00
Kai Großjohann
3acd2c4f88 (mouse-sel-mode): Specify custom group. 2004-10-25 08:29:12 +00:00
Richard M. Stallman
01fce6ab8c Comment change. 2004-03-04 16:56:14 +00:00
Richard M. Stallman
387f00e68d (mouse-sel-has-been-enabled): New var.
(mouse-sel-mode): When enabling, set mouse-sel-has-been-enabled.
When disabling, restore old values only if mouse-sel-has-been-enabled.
2004-03-04 16:55:51 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
John Paul Wallington
497cfacf27 (mouse-sel-get-selection-function):
Check `x-last-selected-text-primary'.  Don't barf if it or
`x-last-selected-text' aren't bound.
2003-07-25 12:21:01 +00:00
Juanma Barranquero
69aac59d2a (mouse-sel-determine-selection-thing): Fix character constant. 2003-02-18 10:57:39 +00:00
Stefan Monnier
caebc99b2a (mouse-sel-original-interprogram-paste-function): Defvar it. 2002-07-16 13:33:29 +00:00
Stefan Monnier
640201f82e (mouse-sel-mode): Use define-minor-mode.
Fold mouse-sel-bindings into it.
(mouse-sel-bound-events): Turn it into an alist.
(mouse-insert-selection): Delegate to mouse-yank-at-click if
mouse-sel-default-bindings asks for it.
2002-07-16 13:27:05 +00:00
Mike Williams
5a95c143a5 (mouse-sel-bindings): Save/restore interprogram cut/paste functions. 2002-07-15 11:49:37 +00:00
Mike Williams
4bc65152eb (mouse-sel-bound-events): New constant.
(mouse-sel-save-original-bindings): New function.
(mouse-sel-restore-original-bindings): New function.
(mouse-sel-bindings): Save/restore original mouse-bindings.
2002-07-14 10:14:28 +00:00
Richard M. Stallman
9ae4c9259c Change maintainer email address. 2002-07-07 09:11:10 +00:00
Sam Steingold
8a9463543d Converted backquote to the new style. 2001-11-27 15:52:52 +00:00
Stefan Monnier
f7542b923c Docstring fixes. 2001-08-21 18:19:55 +00:00
Eli Zaretskii
5d7a37fa13 Fix a typo in a comment. 2001-08-10 09:24:29 +00:00
Gerd Moellmann
4391d40daa (mouse-sel-bindings): Instead of unbinding
mouse-1 etc., bind them to `ignore'.
2001-07-16 14:31:15 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Gerd Moellmann
9eebe3113a (mouse-sel-mode): Doc fix. 2000-08-08 18:32:38 +00:00
Dave Love
8213ac4b6e (mouse-sel-mode): Doc fix. 1999-04-27 18:58:51 +00:00
Karl Heuer
25f67e4bc9 *** empty log message *** 1999-03-30 21:37:40 +00:00
Karl Heuer
ce5d15426f (mouse-sel-mode): Doc fix. 1999-03-30 21:29:29 +00:00
Andreas Schwab
21cabb0f7f (mouse-sel-default-bindings): Use `other' widget
type.
1998-06-24 09:19:00 +00:00
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