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:31:40 +0200 Message-ID: <83y2w8wen7.fsf@gnu.org> References: <87tv79ksuz.fsf@mail.linkov.net> <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> <87blt4x6nt.fsf@gnus.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="227666"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38187@debbugs.gnu.org, stefan@marxist.se, juri@linkov.net To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 22 08:32:19 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 1iY3QR-000wzY-0v for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Nov 2019 08:32:19 +0100 Original-Received: from localhost ([::1]:47808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iY3QP-0000On-U7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Nov 2019 02:32:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37280) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iY3QC-0000Ef-Di for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 02:32:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iY3QB-0006mO-8c for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 02:32:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44841) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iY3Q9-0006mC-Qr for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 02:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iY3Q9-00069T-M3 for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 02:32:01 -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:32:01 +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.157440789923616 (code B ref 38187); Fri, 22 Nov 2019 07:32:01 +0000 Original-Received: (at 38187) by debbugs.gnu.org; 22 Nov 2019 07:31:39 +0000 Original-Received: from localhost ([127.0.0.1]:53662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY3Pk-00068p-Vb for submit@debbugs.gnu.org; Fri, 22 Nov 2019 02:31:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY3Pg-00068X-MI for 38187@debbugs.gnu.org; Fri, 22 Nov 2019 02:31:33 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iY3Pa-0006eH-SN; Fri, 22 Nov 2019 02:31:26 -0500 Original-Received: from [176.228.60.248] (port=2614 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iY3PZ-0006jz-Kh; Fri, 22 Nov 2019 02:31:26 -0500 In-reply-to: <87blt4x6nt.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 21 Nov 2019 22:26:30 +0100) 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:172195 Archived-At: > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , stefan@marxist.se, 38187@debbugs.gnu.org > Date: Thu, 21 Nov 2019 22:26:30 +0100 > > (dolist (file (directory-files dir-with-lots-of-images)) > (erase-buffer) > (insert-image (create-image file))) > > You get the same effect by altering the scaling factor, I think? Each > scaled image is cached? So by rolling the wheel ten clicks you get ten > cached copies of the image. Again, does binding redisplay-dont-pause to nil help in any way here? > A better eviction algorithm would be nice. Such an algorithm would need to detect these "useless" cached images to be effective.