bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#25287: 25.1; [WISH] shr-rescale-image: pass window size externally


From: Lars Ingebrigtsen
Subject: bug#25287: 25.1; [WISH] shr-rescale-image: pass window size externally
Date: Wed, 28 Dec 2016 18:13:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

(Please keep Cc's.)

Christophe Troestler <address@hidden> writes:

> On 2016-12-28, Lars Ingebrigtsen wrote:
>>
>> What's the use case?
>
> mu4e <https://github.com/djcb/mu> allows to specify a function to
> render a temporary buffer containing the HTML source.  I use shr for
> that (with a specific function for cid:// links) and it works well
> except that images are not rescaled properly.  Having a way to pass to
> shr the final frame size would allow to trigger image resizing
> (without having to rewrite shr-put-image and shr-rescale-image).

So mu4e would pass in this size?  Couldn't mu4e just switch to the
correct buffer first and then the scaling would work automatically?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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