I want to move point
to where the mouse is pointing. This is easy to do interactively: just click and point
will move to where the mouse is pointing.
However, I need to do this inside elisp code. I tried to find a nice way by inspecting the source for mouse-drag-region and by reading the manual on Mouse Position but did not manage :-(
Anyone has an elegant solution?