GNU bug report logs -
#68006
30.0.50; Image-mode speed
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
>> Cc: 68006 <at> debbugs.gnu.org
>> Date: Wed, 27 Dec 2023 13:13:13 +0100
>>
>> I was comtemplating the idea of using 'image-dired-contents-sha1' to
>> ensure that the image contents has not changed on disk. But then I
>> asked myself if a function "give me a unique id of this file based on
>> its content" does not already exist in Emacs. I could not found one but
>> maybe we could create one (eg. file-unique-identifier)?
>>
>> Or do you prefer to keep this into the image library? In which case,
>> i'll move this function to "image.el" or "image-mode.el".
>
> I think for now it should be kept in the image library, yes. I don't
> quite see why it would be needed for other files (if it was, we would
> have had it already by now).
Hi Eli,
What about this new patch? It works for me as intended but might need
better names and better docs. Thanks.
[0001-Add-some-user-control-in-image-mode-caching.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
--
Manuel Giraud
This bug report was last modified 224 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.