Hi all,

I'm not quite sure if this is a bug or a intended change in tooltip
handling, but here I go.

Supporting own tooltips in Emacs 21 was basically a matter of:

,----
| (defun my-tooltip-mode (&optional arg)
|     ;; [snip]
|     (tooltip-mode 1)
|     (add-hook 'tooltip-hook 'my-tooltip-function)
|     (make-local-variable 'track-mouse)
|     (setq track-mouse on))
| 
| (defun my-tooltip-function (event)
|     (interactive "e")
|     ;; process event...
|     (tooltip-show "Huzzah!"))
`----

This convenient approach (used for example by dictionary-el) doesn't
work anymore in Emacs 22. If I set `track-mouse' to a non-nil value,
even the standard tooltips which worked before (e.g. the modeline help
tooltips) don't work anymore.

I use the CVS HEAD of yesterday.

Bye,
Tassilo
-- 
[Emacs] is written in Lisp, which is the only computer language that is
beautiful.  -- Neal Stephenson, _In the Beginning was the Command Line_



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to