[Top][All Lists]

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

Re: Several suggestions for image support

From: Stefan Monnier
Subject: Re: Several suggestions for image support
Date: 19 Apr 2004 10:29:16 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> > I already suggested to use two new primitives (that have incidentally
>> > been requested for other purpose):
>> > 
>> >      point-to-pixel
>> > and
>> >      pixel-to-point
>> > 
>> > which turn a (displayed) buffer position into a display position and vice
>> > versa.  All the rest should then be reasonably easy to do in Elisp.
>> I don't see how.  Absolutely not.  Emacs moves point out of images.
>> Without stopping points, point will not remain inside of the image
>> anywhere.  

OK, maybe we'd need window-start-to-pixel as well, or somesuch.
Note that "buffer position" would not be just an integer but an info
very much (or probably even exactly) like the one provided in
mouse-lick events.  I expect that the same C code can be used for it.


reply via email to

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