GNU bug report logs - #33275
27.0.50; Image cache pruning

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Mon, 5 Nov 2018 14:09:02 UTC

Severity: normal

Tags: fixed

Found in version 27.0.50

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


Message #62 received at 33275 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 33275 <at> debbugs.gnu.org
Subject: Re: bug#33275: 27.0.50; Image cache pruning
Date: Sat, 21 Sep 2019 10:18:14 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> So either a DONT-CACHE parameter to `image-size' or just a docstring
>> thing.  :-)
>
> How about both?

DONT-CACHE seems unnecessary since `image-flush' exists, so I've just
added a reference to that function in the `image-size' function.  It
should point people who need this towards doing something like

(dolist (file (directory-files-recursively "~/pics" "jpg$"))
  (let ((spec (create-image file)))
    (image-size spec t)
    (image-flush spec)))


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 239 days ago.

Previous Next


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