On Sat, 05 Mar 2005 16:35:53 -0500, Stefan Monnier <[EMAIL PROTECTED]> wrote:

In order to position the popup frame correctly I need to know the position
of the cursor in pixels relative to the top/left corner of the current
Emacs frame. I couldn't find anything like that in the documentation. Is
it possible?

posn-at-point gives you that information, but it's only available in Emacs-CVS.

Currently, I use set/mouse-pixel-position for determining the position of the cursor.
It seems it also takes the fringe into account as a column.


(set-mouse-position (selected-frame) 0 0) moves the mouse cursor to the first line in the fringe column.

I don't really know if it's intentional or a bug. Does posn-at-point do the same?


-- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to