> 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

Reply via email to