[Top][All Lists]
[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: |
Wed, 5 Jul 2006 11:09:02 +1200 |
> > I think thats the problem of just adding to tooltip-hook. You have a
> > list of functions and the last non-nil one wins.
>
> Yeah, so I'm fine with appending my function (locally) to the hook like
> this:
>
> (add-hook 'tooltip-hook 'rdictcc-translate-word-open-tooltip t t)
Well I guess it depends which buffers the local hook gets added too.
> > > Anyway, I think those event-based tooltips are useful for a lot of
> > > tasks where calculation of the tooltip contents is time-intensive
> > > and should not be performed beforehand. So splitting it out into an
> > > own library `event-tooltip' or so would be a good idea.
> >
> > Well, it's part of the answer.
>
> ???
>
> I don't get you here. Part of which answer?
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.
--
Nick http://www.inet.net.nz/~nickrob
- Re: Bug in tooltip handling, Nick Roberts, 2006/07/02
- Re: Bug in tooltip handling, Leon, 2006/07/02
- Re: Bug in tooltip handling, Tassilo Horn, 2006/07/03
- Re: Bug in tooltip handling, Nick Roberts, 2006/07/03
- Re: Bug in tooltip handling, Tassilo Horn, 2006/07/04
- Re: Bug in tooltip handling, Nick Roberts, 2006/07/04
- Re: Bug in tooltip handling, Tassilo Horn, 2006/07/04
- Re: Bug in tooltip handling,
Nick Roberts <=
- Re: Bug in tooltip handling, Tassilo Horn, 2006/07/05
- Re: Bug in tooltip handling, Nick Roberts, 2006/07/05
- Re: Bug in tooltip handling, Tassilo Horn, 2006/07/05