emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc-view.el --- View PDF/PostScript/DVI files in Emacs


From: Tassilo Horn
Subject: Re: doc-view.el --- View PDF/PostScript/DVI files in Emacs
Date: Tue, 28 Aug 2007 09:09:03 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

David Kastrup <address@hidden> writes:

Hi David,

>> That's really nice.  Now one can select the region to display with
>> one mouse click at the top-left corner and one in the bottom left
>> corner.  But that doesn't work if the window is scrolled up, because
>> the position in the mouse events is the position in the window (and
>> not the position in the image).
>>
>> Any idea how that can be done?
>
> posn-object-x-y is a compiled Lisp function in `subr.el'.
> (posn-object-x-y POSITION)
>
> Return the x and y coordinates relative to the object of POSITION.
> POSITION should be a list of the form returned by the `event-start'
> and `event-end' functions.

Hey, that's really great!

Thanks a lot,
Tassilo
-- 
      "DRM manages rights in the same way a jail manages freedom"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]