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: David Kastrup
Subject: Re: Several suggestions for image support
Date: 19 Apr 2004 09:57:39 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Stefan Monnier <address@hidden> writes:

> >> Of course, scrolling through large images should be possible, anyway,
> >> and quite independent from that fanciful features.  Emacs already has
> >> set-window-vscroll in its display engine in order to deal perfectly
> >> well with that.
> > Yes, and it could probably be done entirely in lisp !?
> 
> 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.  And I certainly can't draw a cursor box over a selected
area of an image.  Or have mouse highlighting over a selected area.

I am still thinking about Kim's proposal (horizontal slices with
vertical subslices) with regard to use under preview-latex.  It would
certainly cater for pretty much every important application I
currently have in mind.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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