From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: tooltip can be displayed outside the screen Date: Tue, 06 Dec 2005 02:52:54 +0200 Organization: JURTA Message-ID: <87acffdnrg.fsf@jurta.org> References: <4390611E.3040500@swipnet.se> <4391A9CE.6090706@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133832897 29316 80.91.229.2 (6 Dec 2005 01:34:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2005 01:34:57 +0000 (UTC) Cc: eliz@gnu.org, czkmt@remus.dti.ne.jp, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 06 02:34:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EjRiB-0001jP-3Q for ged-emacs-devel@m.gmane.org; Tue, 06 Dec 2005 02:33:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EjRiL-0005hj-52 for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2005 20:33:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EjRhF-0005M5-4K for emacs-devel@gnu.org; Mon, 05 Dec 2005 20:32:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EjRhC-0005Kx-F0 for emacs-devel@gnu.org; Mon, 05 Dec 2005 20:32:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EjRhC-0005Kt-Bu for emacs-devel@gnu.org; Mon, 05 Dec 2005 20:32:42 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EjRhj-0005f4-FK; Mon, 05 Dec 2005 20:33:15 -0500 Original-Received: from mail.neti.ee (80-235-34-231-dsl.mus.estpak.ee [80.235.34.231]) by Relayhost1.neti.ee (Postfix) with ESMTP id AAFB01E95; Tue, 6 Dec 2005 03:32:41 +0200 (EET) Original-To: Jan =?iso-8859-1?Q?Dj=E4rv?= In-Reply-To: <4391A9CE.6090706@swipnet.se> (Jan =?iso-8859-1?Q?Dj=E4rv's?= message of "Sat, 03 Dec 2005 15:21:02 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:47027 Archived-At: > Yes, sorry about that, my W32 and OSX access is nil right now. > There should me more code sharing, computing x and y for a tip frame > should be fairly platform independant. Thanks for pointing out the > other ports. Making this computation platform independent will become a non-issue once the code is fixed and tested. But currently it is still not. What do you think about fixing the meaning of `tooltip-y-offset'? Currently `tooltip-y-offset' defines the Y offset relative to the bottom of the tooltip frame. But all similar options in Emacs define offsets relative to the top (in top-left pairs). Even `tooltip-y-offset' allows alternative specifications in the frame parameter `top', which differs from the current behavior of `tooltip-y-offset' which uses the bottom of the tooltip frame. This can be fixed by using the same code for computing x and y. -- Juri Linkov http://www.jurta.org/emacs/