[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Search for image from the beginning of the fetched buffer
From: |
Lars Ingebrigtsen |
Subject: |
Re: [PATCH] Search for image from the beginning of the fetched buffer |
Date: |
Mon, 24 Jul 2017 17:30:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
address@hidden (Grégoire Jadi) writes:
> After a bit of lurking, I found out that the image where correctly
> restored from the cache, because it starts to parse at position 1.
> However, the position in the buffer in `shr-image-fetched' is something
> else >1. I haven't figured out why the position isn't right (I suspect
> something in `url-file').
>
> The fix I've found so far is to force position 1 in `shr-image-fetched'.
> I've also disabled multibyte because `shr-get-image-data' does it, but
> it might be unnecessary.
> Patch below.
Thanks; applied (but I left the multibyte stuff out -- it shouldn't be
necessary).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no