GNU bug report logs - #5721
Feature request: Function that returns absolute coordinates

Previous Next

Package: emacs;

Reported by: irieshinsuke <at> yahoo.co.jp

Date: Mon, 15 Mar 2010 14:34:02 UTC

Severity: wishlist

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


Message #85 received at 5721 <at> debbugs.gnu.org (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 5721 <at> debbugs.gnu.org, IRIE Shinsuke <irieshinsuke <at> yahoo.co.jp>
Subject: Re: bug#5721: Feature request: Function that returns absolute
	coordinates
Date: Thu, 15 Jul 2010 17:18:20 +0900
>>>>> On Thu, 15 Jul 2010 10:06:22 +0200, Jan Djärv <jan.h.d <at> swipnet.se> said:

>>> I think your "only" is quite big.  Lots of code, C and Lisp, does
>>> that kind of calculation.
>> 
>> In what sense can they be simplified if we used absolute scaled
>> coordinate in Lisp as you say?

> Then they wouldn't need to be changed at all.

Even with absolute unscaled, they DIDN'T need any changes in the
platform independent part.

>> Window system APIs requires us to specify absolute unscaled
>> coordinates when creating windows or popup menus, so some
>> conversions are necessary anyway.

> That is the job of the platform specific code.

So you agree that changes are necessary in the platform specific part
regardless of scaled or unscaled when we support scaling factor?

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.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp




This bug report was last modified 11 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.