From: "Eli Zaretskii" <eliz@gnu.org>
Cc: nickrob@snap.net.nz, emacs-devel@gnu.org
Subject: Re: New primitive buffer-position-at
Date: Wed, 12 Jan 2005 07:59:05 +0200 [thread overview]
Message-ID: <01c4f86b$Blat.v2.2.2$f84cfa40@zahav.net.il> (raw)
In-Reply-To: <jwvekgry49s.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Tue, 11 Jan 2005 17:48:58 -0500)
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Tue, 11 Jan 2005 17:48:58 -0500
> Cc: emacs-devel@gnu.org
>
> 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.
prev parent reply other threads:[~2005-01-12 5:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-11 21:54 New primitive buffer-position-at Nick Roberts
2005-01-11 22:48 ` Stefan Monnier
2005-01-11 23:16 ` Nick Roberts
2005-01-11 23:32 ` Stefan Monnier
2005-01-12 6:11 ` Nick Roberts
2005-01-12 18:40 ` Stefan Monnier
2005-01-12 6:08 ` Eli Zaretskii
2005-01-12 6:58 ` Nick Roberts
2005-01-12 5:59 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='01c4f86b$Blat.v2.2.2$f84cfa40@zahav.net.il' \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=nickrob@snap.net.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).