From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#38187: 27.0.50; No mouse-wheel scaling on images Date: Fri, 22 Nov 2019 09:47:15 +0200 Message-ID: <83sgmgwdx8.fsf@gnu.org> References: <83zhgy62u8.fsf@gnu.org> <87y2we7r90.fsf@gnus.org> <83lfse5w04.fsf@gnu.org> <87a78u7ags.fsf@gnus.org> <878soemc79.fsf@marxist.se> <87mucut8ch.fsf@mail.linkov.net> <87ftilsg6q.fsf@gnus.org> <87r224sw6s.fsf@mail.linkov.net> <83ftik35kw.fsf@gnu.org> <87pnhmm9ui.fsf@mail.linkov.net> <20191121211832.GB96045@breton.holly.idiocy.org> <871ru0hmhh.fsf@mail.linkov.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="23707"; mail-complaints-to="usenet@blaine.gmane.org" Cc: alan@idiocy.org, stefan@marxist.se, larsi@gnus.org, 38187@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 22 08:48:45 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iY3gL-0005xe-Mb for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Nov 2019 08:48:45 +0100 Original-Received: from localhost ([::1]:47900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iY3gF-00053q-1I for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Nov 2019 02:48:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39321) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iY3fh-0004dy-6F for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 02:48:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iY3ff-0002Ux-Pn for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 02:48:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44855) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iY3fe-0002Uh-Rk for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 02:48:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iY3fe-0006W4-3a for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 02:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Nov 2019 07:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38187 X-GNU-PR-Package: emacs Original-Received: via spool by 38187-submit@debbugs.gnu.org id=B38187.157440883524994 (code B ref 38187); Fri, 22 Nov 2019 07:48:02 +0000 Original-Received: (at 38187) by debbugs.gnu.org; 22 Nov 2019 07:47:15 +0000 Original-Received: from localhost ([127.0.0.1]:53676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY3eq-0006V2-Rl for submit@debbugs.gnu.org; Fri, 22 Nov 2019 02:47:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY3en-0006Up-HQ for 38187@debbugs.gnu.org; Fri, 22 Nov 2019 02:47:11 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iY3eh-0002CX-8j; Fri, 22 Nov 2019 02:47:03 -0500 Original-Received: from [176.228.60.248] (port=3569 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iY3eg-0003ER-7s; Fri, 22 Nov 2019 02:47:03 -0500 In-reply-to: <871ru0hmhh.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 22 Nov 2019 00:51:22 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172198 Archived-At: > From: Juri Linkov > Cc: Eli Zaretskii , larsi@gnus.org, stefan@marxist.se, > 38187@debbugs.gnu.org > Date: Fri, 22 Nov 2019 00:51:22 +0200 > > > Emacs probably keeps a copy of the image in memory for each size until > > the image cache is cleared or pruned. > > Could it clear the image cache automatically when it grows > over some memory limit? How would you do that without knowing what each image is used for and whether it is still on display? I don't think we can make the image cache smarter about eviction without adding more information about each cached image. So it isn't just about tuning the current constants or counting the bytes.