From: Lars Ingebrigtsen <larsi@gnus.org>
To: Christophe Troestler <Christophe.Troestler@umons.ac.be>
Cc: 25287@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 [thread overview]
Message-ID: <8760m4vux8.fsf@gnus.org> (raw)
In-Reply-To: <87eg0srnep.fsf@umons.ac.be> (Christophe Troestler's message of "Wed, 28 Dec 2016 18:09:18 +0100")
(Please keep Cc's.)
Christophe Troestler <Christophe.Troestler@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
next prev parent reply other threads:[~2016-12-28 17:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-28 16:21 bug#25287: 25.1; [WISH] shr-rescale-image: pass window size externally Christophe Troestler
2016-12-28 16:41 ` Lars Ingebrigtsen
[not found] ` <87eg0srnep.fsf@umons.ac.be>
2016-12-28 17:13 ` Lars Ingebrigtsen [this message]
2016-12-28 17:30 ` Christophe Troestler
2017-01-21 15:37 ` Lars Ingebrigtsen
2017-01-24 20:17 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8760m4vux8.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=25287@debbugs.gnu.org \
--cc=Christophe.Troestler@umons.ac.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.