From: Eli Zaretskii <eliz@elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: feature request: tooltip-show-at-point
Date: 09 Mar 2004 08:24:30 +0200 [thread overview]
Message-ID: <ueks2sfkx.fsf@elta.co.il> (raw)
In-Reply-To: <20040305.163150.205306604.jet@gyve.org> (message from Masatake YAMATO on Fri, 05 Mar 2004 16:31:50 +0900 (JST))
> Date: Fri, 05 Mar 2004 16:31:50 +0900 (JST)
> From: Masatake YAMATO <jet@gyve.org>
>
> (require 'avoid)
> (defun eldoc-tooltip (text)
> (let* ((P (mouse-avoidance-point-position))
> (frame (car P))
> (x (cadr P))
> (y (cddr P))
> (oP (mouse-position))
> (oframe (car oP))
> (ox (cadr oP))
> (oy (cddr oP)))
> (set-mouse-position frame x y)
> (tooltip-show text)
> (set-mouse-position oframe ox oy)))
> (eldoc-tooltip "California, here I am.")
>
> This function works, however too slow to follow the point motion
> in real time. How do you think to provide a built-in function which
> show the tooltip at point?
Isn't the existing machinery on tooltip.el good enough for that? If
not, why not? In particular, it looks like adding your function to
the tooltip-hook list would be the solution (see tooltip-mode), no?
Or am I missing something?
prev parent reply other threads:[~2004-03-09 6:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-05 7:31 feature request: tooltip-show-at-point Masatake YAMATO
2004-03-08 21:05 ` Miles Bader
2004-03-10 5:36 ` Masatake YAMATO
2004-03-11 7:00 ` Masatake YAMATO
2004-03-09 6:24 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ueks2sfkx.fsf@elta.co.il \
--to=eliz@elta.co.il \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.