[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: |
Grégoire Jadi |
Subject: |
Re: [PATCH] Search for image from the beginning of the fetched buffer |
Date: |
Mon, 24 Jul 2017 18:42:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (berkeley-unix) |
Lars Ingebrigtsen <address@hidden> writes:
> 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).
Ok, thank you.