all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to get the xoffset/yoffset of current point?
@ 2008-03-06 13:00 pluskid
  2008-03-06 15:18 ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 3+ messages in thread
From: pluskid @ 2008-03-06 13:00 UTC (permalink / raw)
  To: help-gnu-emacs

I want to popup a menu at the current point -- the text cursor not the
mouse cursor. But I can't find how to calculate the x/y offset of the
current point. Any hint? Thanks!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to get the xoffset/yoffset of current point?
  2008-03-06 13:00 How to get the xoffset/yoffset of current point? pluskid
@ 2008-03-06 15:18 ` Lennart Borgman (gmail)
  2008-03-06 16:10   ` Chiyuan Zhang
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2008-03-06 15:18 UTC (permalink / raw)
  To: pluskid; +Cc: help-gnu-emacs

pluskid wrote:
> I want to popup a menu at the current point -- the text cursor not the
> mouse cursor. But I can't find how to calculate the x/y offset of the
> current point. Any hint? Thanks!

There is a function point-to-coord in ourcomments-util.el that comes 
with nXhtml.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to get the xoffset/yoffset of current point?
  2008-03-06 15:18 ` Lennart Borgman (gmail)
@ 2008-03-06 16:10   ` Chiyuan Zhang
  0 siblings, 0 replies; 3+ messages in thread
From: Chiyuan Zhang @ 2008-03-06 16:10 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: help-gnu-emacs

Yes! That's what I'm looking for! Thanks!

2008/3/6, Lennart Borgman (gmail) <lennart.borgman@gmail.com>:
> pluskid wrote:
>  > I want to popup a menu at the current point -- the text cursor not the
>  > mouse cursor. But I can't find how to calculate the x/y offset of the
>  > current point. Any hint? Thanks!
>
>  There is a function point-to-coord in ourcomments-util.el that comes
>  with nXhtml.
>




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-06 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06 13:00 How to get the xoffset/yoffset of current point? pluskid
2008-03-06 15:18 ` Lennart Borgman (gmail)
2008-03-06 16:10   ` Chiyuan Zhang

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.