[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Point to Pixel
From: |
Patrick |
Subject: |
Re: Point to Pixel |
Date: |
Mon, 13 Jun 2005 11:15:10 -0500 |
Yes, it's just a quick hack.
Anyone know where this posn-at-point is in the CVS tree?
On 6/8/05, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> > 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
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>