From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Kevin Burton" Newsgroups: gmane.emacs.devel Subject: Re: Possible to show tooltip at (point) ???? Date: Sun, 28 Dec 2008 09:14:45 -0800 Message-ID: <30c6373b0812280914s55afeea7o39d51d748dfc3db8@mail.gmail.com> References: <30c6373b0812272248y7c51447ax15bcea34d8cce132@mail.gmail.com> <7dbe73ed0812280907u29713047h42de5a169454a3a7@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_121098_22863569.1230484485553" X-Trace: ger.gmane.org 1230484528 2933 80.91.229.12 (28 Dec 2008 17:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Dec 2008 17:15:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Mathias Dahl" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 28 18:16:35 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LGzFi-0005Jn-DZ for ged-emacs-devel@m.gmane.org; Sun, 28 Dec 2008 18:16:34 +0100 Original-Received: from localhost ([127.0.0.1]:56876 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LGzEU-0003at-TL for ged-emacs-devel@m.gmane.org; Sun, 28 Dec 2008 12:15:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LGzE0-0003Mm-HK for emacs-devel@gnu.org; Sun, 28 Dec 2008 12:14:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LGzDz-0003Lj-Fo for emacs-devel@gnu.org; Sun, 28 Dec 2008 12:14:48 -0500 Original-Received: from [199.232.76.173] (port=39276 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LGzDz-0003LY-6L for emacs-devel@gnu.org; Sun, 28 Dec 2008 12:14:47 -0500 Original-Received: from rn-out-0910.google.com ([64.233.170.189]:51651) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LGzDy-00010h-P6 for emacs-devel@gnu.org; Sun, 28 Dec 2008 12:14:47 -0500 Original-Received: by rn-out-0910.google.com with SMTP id k32so3191170rnd.7 for ; Sun, 28 Dec 2008 09:14:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=nu71f/9UT/i3ClcytjnOGAvh9jROkqqlN3dPc6HcHEo=; b=moPMq6m6LbNISz9jf0HMdzQ5q37dGAjFd3R1MkUF6dbvw72jye8HwQYVupLeBi3geX WBf2YNH51c59WxzJ8iZD9GiZnzi2Q3vaHEOohcP/tNwiacuvbQ08uPR2kwfQWdYfv4Dk OwdofDRgnXv3k+/DjgrB+kbYrC0ENiTWo590g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=Brq08GOjdhJEXe10Lxs9LPz1622tC3hQtdlGW+RW7RnrlZ8z2tRc+lS+qNgdjwQNJd DWIm8Ba8vviUAxPXCVPZYpDpi8l6m6Su3z6p13nN7sEuow+rZKpGj6t3OUSPj3vm4TY7 ElIjVv+tl7c3wE6kKo0BSq/NG2yi5o/d1Amfw= Original-Received: by 10.90.80.18 with SMTP id d18mr6180582agb.19.1230484485558; Sun, 28 Dec 2008 09:14:45 -0800 (PST) Original-Received: by 10.90.98.6 with HTTP; Sun, 28 Dec 2008 09:14:45 -0800 (PST) In-Reply-To: <7dbe73ed0812280907u29713047h42de5a169454a3a7@mail.gmail.com> X-Google-Sender-Auth: c3746716d2d97b8b X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107337 Archived-At: ------=_Part_121098_22863569.1230484485553 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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 : > > 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 ------=_Part_121098_22863569.1230484485553 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yeah...

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


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
------=_Part_121098_22863569.1230484485553--