> > It might be fine for personalising Emacs but not a general package. > > Your construction above adds the function to the hook at the end. So, > > for example, if that's in a buffer that I'm using for debugging, the > > tooltips will display translations of my variable names rather than > > their values, which might not be what I want. > > Sure, but my rdictcc-tooltip-mode as well as dictionary-el's tooltip > mode are buffer local. If a user enables one of them in a debugging > buffer he might really want translations. After toggling the mode off, > the GUD-tooltips will be back again.
The example that you gave at the start didn't toggle anything: it just added a function to tooltip-hook. Anyway, I'll look at splitting out the functionality after the release. The pretest is meant to be imminent, but the last one for Emacs 21 took about a year, so I wouldn't hold your breath. -- Nick http://www.inet.net.nz/~nickrob _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
