* 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).