1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

90 Commits

Author SHA1 Message Date
Juanma Barranquero
19423c532d Rename tooltip-hook' to tooltip-functions'.
* tooltip.el (tooltip-functions): Rename from `tooltip-hook',
  to follow naming conventions for abnormal hooks.  Doc fix.
  (tooltip-mode, tooltip-timeout): Use it.
  (tooltip-hook): New obsolete alias.
  (tooltip-help-tips): Doc fix.

* progmodes/gud.el (gud-tooltip-mode): Use `tooltip-functions'.
2008-10-29 12:10:20 +00:00
Chong Yidong
8431201e0f (tooltip-mode): Initialize unconditionally to t. 2008-09-06 21:29:40 +00:00
Glenn Morris
aa360da10d Add some compiler declarations, for builds without X. 2008-06-12 03:56:20 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Stefan Monnier
ece5f84750 * tooltip.el (tooltip-previous-message): New var.
(tooltip-show-help-non-mode): Rewrite to better follow the behavior of the
C code (avoid overwriting a minibuffer, restore previous echo message, ...).
(tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt): Simplify.
* keyboard.c (Vpre_help_message): Remove.
(show_help_echo): Remove default C code.
2008-04-19 19:30:53 +00:00
Jan Djärv
5ca2bc08c5 (tooltip-show-help-non-mode): Set message-truncate-lines
to t and don't truncate msg.
2008-04-11 06:43:56 +00:00
Jan Djärv
14c0a34db0 (tooltip-mode): Set tooltip-show-help-non-mode as
show-help-function when turning tooltip off.
(tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
(tooltip-trunc-str, tooltip-show-help-non-mode): New.
2008-04-09 09:34:16 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Richard M. Stallman
8af7e4bda9 Doc fix. 2007-12-25 22:48:48 +00:00
Richard M. Stallman
71dffedd1c (tooltip-region-active-p): Use `use-region-p'. 2007-12-25 22:48:13 +00:00
Dan Nicolaescu
46447ab34e * mail/vms-pmail.el (insert-signature): Don't use end-of-buffer.
* tooltip.el: Use featurep 'xemacs.

* printing.el: Move variable definitions before use, no code
change.
2007-10-22 02:37:14 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Nick Roberts
bd9b3169be tooltip.el: Move comment about track-mouse...
progmodes/gud.el: ...to here.
2006-07-03 23:05:49 +00:00
Richard M. Stallman
42cc79e684 (tooltip-mode, tooltip-use-echo-area): Doc fixes. 2006-04-18 21:23:12 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Luc Teirlinck
4c08ab31bc (tooltip-mode): Doc fix. 2006-01-12 02:27:35 +00:00
Juri Linkov
e3947513dc (tooltip): Move defgroup before define-minor-mode.
(tooltip-x-offset, tooltip-y-offset): Doc fix.
2005-12-20 21:42:19 +00:00
Richard M. Stallman
1e81215898 Delete defcustom variable :tag names. 2005-12-16 02:06:54 +00:00
Jan Djärv
4873609398 Changed default to 20 for tooltip-y-offset. 2005-12-12 09:36:22 +00:00
Nick Roberts
e85dcd95a2 (tooltip-mode): Move to start of file so that it
appears at top of customize buffer.
2005-12-10 21:28:59 +00:00
Richard M. Stallman
5fddd8e6dd (tooltip-x-offset, tooltip-y-offset): Change defaults.
Eliminate nil as possible value.
(tooltip-hide-delay): Reduce internal-border-width.
2005-10-23 18:31:25 +00:00
Juri Linkov
daf96a41a4 (tooltip): Add group `basic-faces'. 2005-09-29 22:56:22 +00:00
Juanma Barranquero
5673b222a8 (comint-prompt-regexp): Add defvar. 2005-08-31 13:52:28 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Richard M. Stallman
5eca5ecd54 (tooltip-mode): Test emacs-basic-display, not emacs-quick-startup. 2005-07-25 03:21:36 +00:00
Luc Teirlinck
5fc5466286 (tooltip-mode): Use `custom-initialize-safe-default' and simplify
:init-value again.  Delete autoload.
2005-07-14 00:56:53 +00:00
Luc Teirlinck
2231b5c5f8 (tooltip-mode): Revert to previous implementation of its defcustom. 2005-07-12 20:14:40 +00:00
Luc Teirlinck
9ccfc415b9 (tooltip-mode): Use custom-initialize-safe-default and simplify
:init-value.  Delete obsolete comment.
2005-07-10 16:40:11 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Richard M. Stallman
1af98f0758 (gud-tooltip-mode): Add defvar. 2005-07-03 16:14:02 +00:00
Nick Roberts
d73996cee8 (tooltip-use-echo-area): Don't make it obsolete. 2005-06-19 04:45:00 +00:00
Juanma Barranquero
04cedb114c (tooltip-start-delayed-tip, tooltip-timeout, tooltip-use-echo-area,
tooltip-process-prompt-regexp, tooltip-help-tips): Fix typos in docstrings.
2005-06-16 09:59:47 +00:00
Nick Roberts
90aff7c61e * tooltip.el (tooltip-use-echo-area): Restore from gud.el for
backward compatibility and make obsolete.
(tooltip-help-tips): Use tooltip-use-echo-area.
(tooltip-show-help-function): Rename to...
(tooltip-show-help): ...this, because it is a function.
(tooltip-mode, tooltip-help-message): Call tooltip-show-help.
2005-06-14 21:13:28 +00:00
Nick Roberts
a93d834478 (require): CL no longer needed to compile case.
(tooltip-mode): Do not toggle functions for GUD tooltips.
(tooltip-gud-tips-p): Remove. Replace with minor mode
gud-tooltip-mode in gud.el.
(tooltip-gud-modes, tooltip-gud-display, tooltip-gud-echo-area)
(tooltip-gud-toggle-dereference): Rename in gud.el by replacing
tooltip-gud prefix with gud-tooltip and obsolete.
(tooltip-change-major-mode, tooltip-activate-mouse-motions-if-enabled)
(tooltip-mouse-motions-active, tooltip-activate-mouse-motions)
(tooltip-mouse-motion): Mouse movement functions/variable.
Rename in gud.el by adding gud prefix.
(tooltip-gud-original-filter, tooltip-gud-dereference)
(tooltip-gud-event, tooltip-toggle-gud-tips)
(tooltip-gud-process-output, tooltip-gud-print-command)
(tooltip-gud-tips): GUD tooltip functions/variables. Rename in
gud.el by replacing tooltip-gud prefix with gud-tooltip.
(gdb-tooltip-print): Move to gdb-ui.el.
2005-05-06 22:11:35 +00:00
Nick Roberts
64f3c670bd (tooltip-gud-tips): Use gdb-define-alist. 2005-05-03 06:46:27 +00:00
Nick Roberts
abc7eb9003 (tooltip-gud-tips): Show the associated #define
directives when a C program under GDB is not executing.
2005-04-27 22:01:14 +00:00
Nick Roberts
1d44496d70 (tooltip-gud-tips-p): Expand documentation.
(tooltip-toggle-gud-tips): New function.
2005-04-20 10:08:50 +00:00
Nick Roberts
2cc604202a (tooltip-use-echo-area): Replace as alias and deprecate. 2005-04-19 20:33:27 +00:00
Kim F. Storm
cae0724067 (tooltip-show): Change second arg to USE-ECHO-AREA
and make it optional.  Don't test tooltip-gud-echo-area here.
(tooltip-gud-process-output, gdb-tooltip-print): Pass
tooltip-gud-echo-area to tooltip-show.
(tooltip-help-tips): Remove second optional arg.
2005-04-18 10:23:41 +00:00
YAMAMOTO Mitsuharu
8b8f03c80c (tooltip-mode): emacs-quick-startup' and display-graphic-p' may not
be bound yet.
2005-04-18 07:43:59 +00:00
Nick Roberts
1d6197fb87 (tooltip-gud-echo-area): Rename from
tooltip-use-echo-area.
(tooltip-show, tooltip-gud-process-output, gdb-tooltip-print)
(tooltip-help-tips): Allow GUD tooltips to be displayed in echo
area independently of where help tooltips are displayed.
2005-04-18 00:29:45 +00:00
Luc Teirlinck
d5e2843d27 (tooltip-mode): Specify correct standard value for Custom in init-value. 2005-04-16 00:21:56 +00:00
Kim F. Storm
86f0d417c4 (tooltip-show-help-function): Don't fixup message here. 2005-03-31 10:10:39 +00:00
Nick Roberts
30044d57a8 (tooltip-gud-display): Use gud-overlay-arrow-position. 2005-03-30 08:33:43 +00:00
Kim F. Storm
e7f876b473 (tooltip-show-help-function): Ignore negative mouse
position values.
2005-03-22 21:52:08 +00:00
Kim F. Storm
e07aa7db90 (tooltip-show-help-function): Check car and cdr of
mouse position.
2005-03-21 22:16:22 +00:00
Stefan Monnier
ef75a64773 (tooltip-mode): Don't complain that you can't turn the
feature ON when the user requests to turn it OFF.
2005-03-10 14:45:31 +00:00
Nick Roberts
8bc973e971 (tooltip-mode): Use define-minor-mode and simplify.
(tooltip-activate-mouse-motions-if-enabled): Use dolist.
(tooltip-gud-tips): Simplify.
(tooltip-gud-tips-p): Remove superflouous :set.
(tooltip-gud-modes): Add fortran-mode.
(gdb-tooltip-print): Remove newline for tooltip-use-echo-area.
2005-03-09 23:19:00 +00:00