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:20:23 -0800 Message-ID: <30c6373b0812280920y722b7822s7c844f0c73636545@mail.gmail.com> References: <30c6373b0812272248y7c51447ax15bcea34d8cce132@mail.gmail.com> <8763l47jpy.fsf@cyd.mit.edu> <30c6373b0812280124r6301ec1ka7e12d2e719126a1@mail.gmail.com> <49574CB0.5050600@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_121129_10809721.1230484824011" X-Trace: ger.gmane.org 1230484842 3813 80.91.229.12 (28 Dec 2008 17:20:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Dec 2008 17:20:42 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org, Jason Rumney To: "Lennart Borgman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 28 18:21:49 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 1LGzKm-0006pY-VI for ged-emacs-devel@m.gmane.org; Sun, 28 Dec 2008 18:21:49 +0100 Original-Received: from localhost ([127.0.0.1]:46560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LGzJZ-0004vU-B5 for ged-emacs-devel@m.gmane.org; Sun, 28 Dec 2008 12:20:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LGzJU-0004vP-Fu for emacs-devel@gnu.org; Sun, 28 Dec 2008 12:20:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LGzJT-0004vD-VE for emacs-devel@gnu.org; Sun, 28 Dec 2008 12:20:28 -0500 Original-Received: from [199.232.76.173] (port=54635 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LGzJT-0004vA-TK for emacs-devel@gnu.org; Sun, 28 Dec 2008 12:20:27 -0500 Original-Received: from yx-out-1718.google.com ([74.125.44.155]:12717) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LGzJR-0001WZ-5L; Sun, 28 Dec 2008 12:20:25 -0500 Original-Received: by yx-out-1718.google.com with SMTP id 34so1484498yxf.66 for ; Sun, 28 Dec 2008 09:20:24 -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=0LjCd1W1BYF6qnGknV1yxswP9NfjcdDl6lGioRbwLN0=; b=xDH1meDl65cLrLPt8dJbGBSi6AZnqUgekH/g/R9QV58aaagVbsouRGOf7QWKFl3/FP HHOD3aGpGfs1iVoEkLhwfDrgqyLInHlRM2bJMNj8jLjwG12+8ESn+STRTfyAUwIMrNsN 8O8GUvZmQj7my7jM6wjKVJrdiB22IWURP1XJ4= 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=C39/oXO8g6Tcw40vFMIif9LnrS2AiEen8Xz525zrS7f7SDe4uWFTrnyuTdtkEn4Mso 6yBpL3FYjMs/fROtWfEl2XaAepJcPAKfPxHjaAQTfRYV9eol4h+3jL8+zW5sUz2Oy5Xq qqlaXy4k6I9aWwckc6Z16F5P1YwLKYpWhhvt4= Original-Received: by 10.90.53.5 with SMTP id b5mr6177110aga.74.1230484824019; Sun, 28 Dec 2008 09:20:24 -0800 (PST) Original-Received: by 10.90.98.6 with HTTP; Sun, 28 Dec 2008 09:20:23 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: 2ffa4c46a7487392 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:107338 Archived-At: ------=_Part_121129_10809721.1230484824011 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline In the predictive package? I think one just needs to compute the left-margin width. I wrote a tooltip-at-point package a few years ago (but never got it t work reliably) and added this into the mix.... Kevin On Sun, Dec 28, 2008 at 9:14 AM, Lennart Borgman wrote: > On Sun, Dec 28, 2008 at 10:53 AM, Jason Rumney wrote: > > Kevin Burton wrote: > >> > >> You mean by specifying top and left? I think that is what I was going > to > >> do to position the tooltip but first I need to find out the x/y of the > >> current point. > > > > (posn-at-point &optional POS WINDOW) > > I think there is a bug with left margin. (Though I have not had time > to submit a bug report for this.) > -- Founder/CEO Spinn3r.com Location: San Francisco, CA AIM/YIM: sfburtonator Skype: burtonator Work: http://spinn3r.com ------=_Part_121129_10809721.1230484824011 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline In the predictive package?

I think one just needs to compute the left-margin width.

I wrote a tooltip-at-point package a few years ago (but never got it t work reliably) and added this into the mix....

Kevin

On Sun, Dec 28, 2008 at 9:14 AM, Lennart Borgman <lennart.borgman@gmail.com> wrote:
On Sun, Dec 28, 2008 at 10:53 AM, Jason Rumney <jasonr@gnu.org> wrote:
> Kevin Burton wrote:
>>
>> You mean by specifying top and left?  I think that is what I was going to
>> do to position the tooltip but first I need to find out the x/y of the
>> current point.
>
> (posn-at-point &optional POS WINDOW)

I think there is a bug with left margin. (Though I have not had time
to submit a bug report for this.)



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