emacs-devel
[Top][All Lists]
Advanced

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

Re: Displaying scrollable images in a grid-layout


From: Tassilo Horn
Subject: Re: Displaying scrollable images in a grid-layout
Date: Tue, 14 Apr 2015 21:24:38 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> In doc-view, there is always exactly one image in the buffer.  As
>> soon as you've scrolled enough to its top/bottom, it'll be replaced
>> with the image of the next/previous page.
>> 
>> What Andreas wants to accomplish is to have all images of all pages
>> of a document in the current buffer at the same time.
>
> I understand, but the number of images is not the issue here.  The
> issue is the height of an individual image (or, if there are several
> images on a single line, the tallest image on that line) in comparison
> to the window height.  If the image is taller, Emacs scrolls
> pixel-wise by default, because otherwise the user stands no chance of
> viewing all parts of the image.
>
> But if the window is taller than the image, Emacs tries to show the
> image in its entirety, and scrolling pixel-wise in this situation
> causes partial visibility, which goes against this policy.

For such a mode, it should not matter if the window is taller than the
image or if it is the other way round.  You always want pixel-wise
scrolling.

Bye,
Tassilo



reply via email to

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