> 1. This solution is still rather clumsy because I still need to completely redefine "cperl-describe-perl-symbol", I'm working on an approach to just locally override "message" with "pos-tip-show" within a wrapper.
here we go with v0.02,
thx to Andreas Politz from gnu.emacs.help! :)
(require 'pos-tip) (require 'cl) (add-hook 'cperl-mode-hook (lambda () (cperl-toggle-autohelp) (setq cperl-lazy-help-time 2) (defadvice cperl-describe-perl-symbol (around cperl-describe- +perl-symbol-tooltip activate) "redirect message to tooltip" (flet ((message (fmt &rest args) (pos-tip-show (apply 'format fmt args)))) ad-do-it)) ))
Cheers Rolf
In reply to Re: [emacs] Autohelp as tooltip at cursorposition
by LanX
in thread [emacs] Autohelp as tooltip at cursorposition
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |