From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#5721: Feature request: Function that returns absolute coordinates Date: Wed, 14 Jul 2010 17:22:27 +0200 Message-ID: <4C3DD633.7040004@swipnet.se> References: <4B9E4521.9030909@yahoo.co.jp> <4C2C8C02.1010906@swipnet.se> <4C2D9009.60405@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279121495 2124 80.91.229.12 (14 Jul 2010 15:31:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Jul 2010 15:31:35 +0000 (UTC) Cc: 5721@debbugs.gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 14 17:31:33 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OZ3vo-0006HE-HI for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Jul 2010 17:31:32 +0200 Original-Received: from localhost ([127.0.0.1]:42152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZ3vn-0002QU-PR for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Jul 2010 11:31:31 -0400 Original-Received: from [140.186.70.92] (port=54647 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZ3uj-0001t5-Hr for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 11:30:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZ3ui-0001vr-19 for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 11:30:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49183) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZ3uh-0001vn-Vx for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 11:30:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OZ3nZ-0005yh-Ok; Wed, 14 Jul 2010 11:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Jul 2010 15:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5721 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5721-submit@debbugs.gnu.org id=B5721.127912094422969 (code B ref 5721); Wed, 14 Jul 2010 15:23:01 +0000 Original-Received: (at 5721) by debbugs.gnu.org; 14 Jul 2010 15:22:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZ3mx-0005yQ-Li for submit@debbugs.gnu.org; Wed, 14 Jul 2010 11:22:23 -0400 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZ3mv-0005yL-4W for 5721@debbugs.gnu.org; Wed, 14 Jul 2010 11:22:21 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id D0FEBE94DD for <5721@debbugs.gnu.org>; Wed, 14 Jul 2010 17:22:28 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmQ4AAZzPUxV4S0jPGdsb2JhbACHcJd6DAEBAQE1LcA1hSQEkg0 X-IronPort-AV: E=Sophos;i="4.55,202,1278280800"; d="scan'208";a="105323147" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb1.telenor.se with ESMTP; 14 Jul 2010 17:22:28 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 3E24C7FA05A; Wed, 14 Jul 2010 17:22:28 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 14 Jul 2010 11:23:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38513 Archived-At: YAMAMOTO Mitsuharu skrev 2010-07-02 11.15: >>>>>> On Fri, 02 Jul 2010 09:06:49 +0200, Jan Dj=E4rv said: > >> One could argue that we are always dealing with scaled pixels, and >> absolute in this context means "absolute scaled" instead of >> "absolute unscaled". Can't we always use scaled coordinates? When >> do we need to handle unscsaled? > > I think major motivation to use the absolute coordinate system is to > specify the frame location (OP's case), or to pass it to external > programs (the SCIM case). "Absolute unscaled" one is more suitable > for such uses. > I would imagine that for frame positioning, absolute scaled would be the=20 default, as top and left frame parameters should also be absolute scaled. To pass absolute unscaled to an external program or to position on absolu= te=20 unscaled a special functions would be needed. But I don't think a functi= on=20 that gives window edges is the place to do that. Jan D.