unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Kevin Burton" <burton@spinn3r.com>
To: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Possible to show tooltip at (point) ????
Date: Sun, 28 Dec 2008 09:14:45 -0800	[thread overview]
Message-ID: <30c6373b0812280914s55afeea7o39d51d748dfc3db8@mail.gmail.com> (raw)
In-Reply-To: <7dbe73ed0812280907u29713047h42de5a169454a3a7@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2136 bytes --]

Yeah...

I'm about to take the family to the beach but I will look when I get
home....

http://www.dr-qubit.org/predictive/user-guide/html/Completion-Tooltip.html#Completion-Tooltip

I *think* what they're doing is bringing up the tooltip based on a keyboard
event which *CAN* get the absolute x/y coords.

I have a different goal which is to show the tooltip during idle timeout or
when you enter an overlay.

Specifically, I'm writing a just in time compiler which compiles files right
after you save the and highlights your errors in red.

Anyway.... I'll look at the source and report back.

On Sun, Dec 28, 2008 at 9:07 AM, Mathias Dahl <mathias.dahl@gmail.com>wrote:

> I am a user of `predictive' which in my opinion has good facilities
> for showing candidates. I think even that the completion stuff has
> been factored out in its own package. I think it uses tooltips as one
> of the options. Why don't you check it out.
>
>
> 2008/12/28, Kevin Burton <burton@spinn3r.com>:
> > A few years ago (has it REALLY been that long?) I was playing with
> > x-show-tooltip so that I could display a tooltip at the given point.
> >
> > I was mostly interested in this so that I could build just in time code
> > completion.  This way one could have a function call:
> >
> > foo(
> >
> > And type something like C-enter to lookup the previous symbol and show
> > method argument documentation in a tooltip.
> >
> > ..... anyway.
> >
> > I needed away to have x-show-tooltip generate under (point).  Is this
> > possible?
> >
> > If I remember I can manually position the tooltip if I know the on screen
> > x/y pixel cartesian position of (point) but I don't think this was
> possible
> > either.
> >
> > This was with an early version Emacs 21...  Anyone know a solution to
> this?
> >  Have features been added to Emacs 22 to enable this?
> >
> > Kevin
> >
> >
> > --
> > Founder/CEO Spinn3r.com
> > Location: San Francisco, CA
> > AIM/YIM: sfburtonator
> > Skype: burtonator
> > Work: http://spinn3r.com
> >
>



-- 
Founder/CEO Spinn3r.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com

[-- Attachment #2: Type: text/html, Size: 3066 bytes --]

      reply	other threads:[~2008-12-28 17:14 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-28  6:48 Possible to show tooltip at (point) ???? Kevin Burton
2008-12-28  6:55 ` Lennart Borgman
2008-12-28  9:05 ` Chong Yidong
2008-12-28  9:24   ` Kevin Burton
2008-12-28  9:53     ` Jason Rumney
2008-12-28 17:14       ` Lennart Borgman
2008-12-28 17:20         ` Kevin Burton
2008-12-28 17:31           ` Lennart Borgman
2008-12-28 17:38             ` Kevin Burton
2008-12-29  2:05             ` Kevin Burton
2008-12-29  2:14               ` Lennart Borgman
2008-12-29  2:33                 ` Kevin Burton
2008-12-29  2:36                   ` Lennart Borgman
2008-12-29  2:41                     ` Kevin Burton
2008-12-29  3:31                 ` Jason Rumney
2008-12-29  9:52                   ` Lennart Borgman
2008-12-29 18:52                     ` Kevin Burton
2008-12-28 17:07 ` Mathias Dahl
2008-12-28 17:14   ` Kevin Burton [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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=30c6373b0812280914s55afeea7o39d51d748dfc3db8@mail.gmail.com \
    --to=burton@spinn3r.com \
    --cc=emacs-devel@gnu.org \
    --cc=mathias.dahl@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).