Mercurial > emacs
comparison lisp/ChangeLog @ 59026:ef5a485f984f
Implement context-sentitive dual behaviour for mouse-1 click.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 17 Dec 2004 15:19:33 +0000 |
parents | 05b4b5dbf196 |
children | 90829ef9f16f |
comparison
equal
deleted
inserted
replaced
59025:ad6398d47add | 59026:ef5a485f984f |
---|---|
1 2004-12-17 Kim F. Storm <storm@cua.dk> | |
2 | |
3 * mouse.el (mouse-1-click-follows-link): New defcustom. | |
4 (mouse-on-link-p): New function. | |
5 (mouse-drag-region-1): Implement mouse-1-click-follows-link | |
6 functionality. Map a mouse-1 click event into a mouse-2 (or | |
7 other) event when position is inside a link. | |
8 | |
9 * tooltip.el (tooltip-show-help-function): Replace "mouse-2" | |
10 prefix in tooltip text with "mouse-1" when this is a link | |
11 recognized by mouse-1-click-follows-link functionality. | |
12 | |
13 * help.el (describe-key): Report effective and original binding | |
14 for mouse-1 when clicked on a link. | |
15 (describe-mode): Add follow-link property to "minor-mode" button. | |
16 | |
17 * help-fns.el (describe-variable): Add follow-link property to | |
18 "below" button. | |
19 | |
20 * help-mode.el (help-xref): Add follow-link property. | |
21 | |
22 * apropos.el (apropos-symbol, apropos-function, apropos-macro) | |
23 (apropos-command, apropos-variable, apropos-face, apropos-group) | |
24 (apropos-widget, apropos-plist): Add follow-link property. | |
25 | |
26 * pcvs-defs.el (cvs-mode-map): Map follow-link to a function which | |
27 checks if position is in a filename, rather than some other | |
28 clickable item. Function looks for cvs-filename-face at position. | |
29 | |
30 * wid-edit.el (widget-specify-field, widget-specify-button): | |
31 Map a :follow-link keyword into a follow-link property. | |
32 (link): Add :follow-link keyword, map to RET binding. | |
33 | |
34 * dired.el (dired-mode-map): Map follow-link to mouse-face. | |
35 | |
36 * progmodes/compile.el (compilation-minor-mode-map) | |
37 (compilation-button-map, compilation-mode-map): Likewise. | |
38 | |
1 2004-12-17 Thien-Thi Nguyen <ttn@gnu.org> | 39 2004-12-17 Thien-Thi Nguyen <ttn@gnu.org> |
2 | 40 |
3 * play/zone.el (zone): Init `line-spacing' from orig buffer. | 41 * play/zone.el (zone): Init `line-spacing' from orig buffer. |
4 (zone-replace-char): Take `count' and `del-count' | 42 (zone-replace-char): Take `count' and `del-count' |
5 instead of `direction'. Update callers. When `del-count' is | 43 instead of `direction'. Update callers. When `del-count' is |