emacs-devel
[Top][All Lists]
Advanced

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

Re: Several suggestions for image support


From: Kim F. Storm
Subject: Re: Several suggestions for image support
Date: 19 Apr 2004 23:59:27 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

David Kastrup <address@hidden> writes:

> address@hidden (Kim F. Storm) writes:
> 
> > As a side bonus, pos-visible-in-window-p will be changed to return a
> > list [when partially arg is non-nil]:
> > 
> >         (x y top bottom)
> > 
> > which specifies the x and y position of POS, and the number of pixels
> > not visible at the top and bottom of the corresponding window line.
> 
> Is this really necessary?  

Not really -- but it eases image scrolling using window-vscroll.

>                            I think that it should be sufficient if we
> just returned x and y; 

Actually, the change I made returns (x y partial) where x and y
are pixel coordinates and partial means that the line is only
partially visible (so vscroll _may_ apply).

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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