GNU bug report logs -
#5721
Feature request: Function that returns absolute coordinates
Previous Next
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 #213 received at 5721 <at> debbugs.gnu.org (full text, mbox):
> From: Andreas Politz <politza <at> hochschule-trier.de>
> Cc: jan.h.d <at> swipnet.se, 5721 <at> debbugs.gnu.org
> Date: Thu, 03 Oct 2013 23:09:33 +0200
>
> > Also, I wonder why you aren't testing the frame type here -- this code
> > should DTRT for TTYs as well, right? Or is it certain that this code
> > will never run except in a GUI session?
>
> I don't know if this function is able to return something meaningful in
> a terminal. At least it does not to do so at the moment (in the
> current, unpatched bzr branch):
>
> emacs -nw -Q
>
> (window-inside-absolute-pixel-edges)
>
> => (32752 20946769 32850 20946817)
>
> Should these functions (`window-absolute-pixel-edges' and
> `window-inside-absolute-pixel-edges') return nil in a terminal ?
I see no reason to do that. We do support pixel coordinates on a text
terminal, counting each column and row as one pixel.
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.