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: Tassilo Horn
Subject: Re: Bug in tooltip handling
Date: Tue, 04 Jul 2006 20:45:28 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Nick Roberts <address@hidden> writes:

> It returns nil in buffers where GUD tooltips are not meant to work i.e
> when the major-mode is not a member of gud-tooltip-modes.
>
> 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)

>  > 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?

Bye,
Tassilo





reply via email to

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