From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Point to Pixel
Date: Wed, 08 Jun 2005 17:50:48 -0400 [thread overview]
Message-ID: <8764wofrkv.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.3948.1118262081.25862.help-gnu-emacs@gnu.org
> I wanted this feature and couldn't find it... all I found were posts in
> lists also asking for the feature, with people denying it could be done
> in elisp. Well, that is not true! ;)
The problem with your code is that it doesn't correctly handle hidden text,
display properties (stretchable spaces, images, ...), proportional fonts,
faces that change the font size, line wrapping, ...
Emacs-CVS has a function that works correctly even in the face of the
above thingies. It's called posn-at-point.
Stefan
next parent reply other threads:[~2005-06-08 21:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3948.1118262081.25862.help-gnu-emacs@gnu.org>
2005-06-08 21:50 ` Stefan Monnier [this message]
2005-06-13 16:15 ` Point to Pixel Patrick
[not found] ` <mailman.4555.1118680889.25862.help-gnu-emacs@gnu.org>
2005-06-15 4:32 ` Stefan Monnier
2005-06-08 20:15 Patrick
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8764wofrkv.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.