emacs-devel
[Top][All Lists]
Advanced

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

Re: :max-width/:max-height


From: Eli Zaretskii
Subject: Re: :max-width/:max-height
Date: Fri, 21 Jun 2013 12:55:48 +0300

> From: Lars Magne Ingebrigtsen <address@hidden>
> Date: Fri, 21 Jun 2013 09:40:26 +0200
> 
> It was probably lost in that long bickering thread about whether
> lookup_image pushed stuff over X or not, but I realised that the
> interface shr needs is :max-width and :max-height on images.

What would such an interface provide to its callers?

> And I think that's the common use case, actually.  When displaying
> images in Emacs, we seldom want to display images that are bigger than
> the frame, because Emacs doesn't really deal with that situation
> ideally.

I wouldn't recommend assuming that Emacs doesn't deal well with large
images.  Changes committed lately already make it deal much better
with vertical scrolling, and doing the same for horizontal scrolling
should be easy.

So my recommendation would be not to base development on this
assumption.

The user might legitimately want not to download large images, but for
that, we already have max-image-size and check_image_size, no?



reply via email to

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