emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in tooltip handling


From: Nick Roberts
Subject: Re: Bug in tooltip handling
Date: Tue, 4 Jul 2006 11:02:43 +1200

 > > dictionary-el isn't part of Emacs 22.  I have split GUD tooltips
 > > (which use track-mouse from ordinary ones (which don't).
 > 
 > dictionary-el and my own mode display tooltips based on the word under
 > the mouse pointer. The event based approach makes it easy to extract the
 > word. If there's a better way, please let me know.

I don't know what dictionary-el or your mode do but, if possible, its best
to add tooltips through the `help-echo' text property.

 > Currently I use an own timer an lots of ugly code to work arround this.
 > 
 > > This means that they can be toggled independently. At some stage, if
 > > other packages want to use tooltips in the way GUD does, that part
 > > could be split out of gud.el.
 > 
 > That would be really nice.

If dictionary-el is generally useful and it needs GUD-type tooltips then the
best way to do this might be to make it part of Emacs.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]