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

Previous Next

Package: emacs;

Reported by: Christophe Troestler <Christophe.Troestler <at> umons.ac.be>

Date: Wed, 28 Dec 2016 16:38:02 UTC

Severity: wishlist

Tags: fixed

Found in version 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Christophe Troestler <Christophe.Troestler <at> umons.ac.be>
Cc: 25287 <at> debbugs.gnu.org
Subject: bug#25287: 25.1; [WISH] shr-rescale-image: pass window size externally
Date: Wed, 28 Dec 2016 18:13:23 +0100
(Please keep Cc's.)

Christophe Troestler <Christophe.Troestler <at> umons.ac.be> 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




This bug report was last modified 8 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.