[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New primitive buffer-position-at

From: Eli Zaretskii
Subject: Re: New primitive buffer-position-at
Date: Wed, 12 Jan 2005 07:59:05 +0200

> From: Stefan Monnier <address@hidden>
> Date: Tue, 11 Jan 2005 17:48:58 -0500
> Cc: address@hidden
>         Stefan "who's wondering what posn-at-x-y does on a tty"

On a tty, 1 pixel = 1 character (for the text area only, of course).
This is how all the pixel-related macros are defined on a tty, so if
you see any other behavior, that's a bug.  The mouse on a tty, if
supported, also works in character units.

In particular, posn-at-x-y on a tty assumes that its 2 arguments are
window-relative coordinates in character units.  I just tried that,
and it seems to do what I'd expect.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]