From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#5721: Feature request: Function that returns absolute coordinates Date: Thu, 15 Jul 2010 17:44:28 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <4B9E4521.9030909@yahoo.co.jp> <4C2C8C02.1010906@swipnet.se> <4C2D9009.60405@swipnet.se> <4C3DD633.7040004@swipnet.se> <4C3EA59E.40300@swipnet.se> <4C3EBDAD.1040800@swipnet.se> <4C3EC17E.6060101@swipnet.se> <4C3EC863.3030803@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279184441 25352 80.91.229.12 (15 Jul 2010 09:00:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Jul 2010 09:00:41 +0000 (UTC) Cc: 5721@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 15 11:00:39 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 1OZKJ0-0005Ct-O1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Jul 2010 11:00:35 +0200 Original-Received: from localhost ([127.0.0.1]:55875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZKIz-0000bH-Jy for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Jul 2010 05:00:33 -0400 Original-Received: from [140.186.70.92] (port=53426 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZKIp-0000WJ-HR for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 05:00:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZKIn-0005lc-Gk for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 05:00:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52206) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZKIn-0005lY-EA for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 05:00:21 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OZK3z-000828-1b; Thu, 15 Jul 2010 04:45:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: YAMAMOTO Mitsuharu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jul 2010 08:45:03 +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.127918346530856 (code B ref 5721); Thu, 15 Jul 2010 08:45:03 +0000 Original-Received: (at 5721) by debbugs.gnu.org; 15 Jul 2010 08:44:25 +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 1OZK3L-00081c-7R for submit@debbugs.gnu.org; Thu, 15 Jul 2010 04:44:23 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZK3I-00081V-JD for 5721@debbugs.gnu.org; Thu, 15 Jul 2010 04:44:22 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 06BE8C0557; Thu, 15 Jul 2010 17:44:28 +0900 (JST) In-Reply-To: <4C3EC863.3030803@swipnet.se> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 15 Jul 2010 04:45:03 -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:38539 Archived-At: >>>>> On Thu, 15 Jul 2010 10:35:47 +0200, Jan Dj=E4rv = said: >> Even with absolute unscaled, they DIDN'T need any changes in the >> platform independent part. > That would require unscaled everywhere, even in pos-x-y, window > sizes, font sizes and so on. I didin't think that was your > suggestion. No, they are all frame-relative, so scaled by the scaling factor. The only places currently I can think of in the "absolute" category are the frame parameters `left' and `top', and some screen parameters such as `display-pixel-height', etc. Most of the values in Lisp are designed as frame-relative. >> Again, if we used absolute scaled coordinates to specify `left' and >> `top' frame parameters, we could only place the frame to the >> position whose coordinates are multiples of the scale factor. > As I said earlier, special functions to deal with that for those that car= e. I don't understand. What happens if a user moved the frame to (101, 101) using the mouse under the scale factor 2, and he checked (frame-parameter nil 'left)? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp