From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#38187: 27.0.50; No mouse-wheel scaling on images Date: Fri, 22 Nov 2019 09:50:08 +0000 Message-ID: <20191122095008.GA96578@breton.holly.idiocy.org> References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="25465"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.12.0 (2019-05-25) Cc: 38187@debbugs.gnu.org, stefan@marxist.se, Juri Linkov To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 22 10:51:13 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 1iY5ar-0006Ut-1D for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Nov 2019 10:51:13 +0100 Original-Received: from localhost ([::1]:48904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iY5ao-0004JB-Ox for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Nov 2019 04:51:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55578) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iY5ai-0004J4-ER for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 04:51:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iY5ah-0000ev-Fp for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 04:51:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44961) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iY5ah-0000eo-9y for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 04:51:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iY5ah-0000zZ-6g for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 04:51:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Nov 2019 09:51: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.15744162193761 (code B ref 38187); Fri, 22 Nov 2019 09:51:02 +0000 Original-Received: (at 38187) by debbugs.gnu.org; 22 Nov 2019 09:50:19 +0000 Original-Received: from localhost ([127.0.0.1]:53782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY5Zz-0000yb-Br for submit@debbugs.gnu.org; Fri, 22 Nov 2019 04:50:19 -0500 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:32916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY5Zx-0000yL-AV for 38187@debbugs.gnu.org; Fri, 22 Nov 2019 04:50:18 -0500 Original-Received: by mail-wr1-f52.google.com with SMTP id w9so7873727wrr.0 for <38187@debbugs.gnu.org>; Fri, 22 Nov 2019 01:50:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=G0DnQhDX/9GgZ1p9C1bvtrQpSKrI8CEnRllodc/WNqU=; b=hk+1RxrC86V3k/J9spvae5x2i8qL3VmWAzIh2Gddg2POofOHK/y1yZ3Rn+5Z7GisHL FNXuCMOl7xMI0uk+qXTMIusds1QjViF+blnkSKpbPnJJCtGjwQy9TKh/BYXumRxNBmt6 iPC6Tx2YhPiq5FC32CIbSvmFaw76U5/l+j7D9WxOLxWuGVDJ7Ef93v+uuxKv+/GgmGb4 TLTpQqnh5uRB4wEXPxuHDfgnGRhXM9NAvvGU66hMRyBc7RFBlLG4Nmk0EHb4Td1/YBlv ZbPGKTmCHaFRYfFFd3tFCdxsQs/uN8uvA+hicmTcvFo/keJB8QAfrfJ93jIqY6vonlAE vuyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=G0DnQhDX/9GgZ1p9C1bvtrQpSKrI8CEnRllodc/WNqU=; b=KFL/KJn4zBEnji9udcgwTjojeuzH4Z3q2HiW0sa2qGAhR8l/xcn0C3JmKkREvrFudJ cVHjoYWVAIvz0VPhf0NOKqAr6bQPJck83d5mOJm1GDFVZKTvzvHRfOhia3GHw32RsF2b DgbCirOJB73+JwCw6LBDK4hAKJ8uGVcR+5TSconf4b7JuxsI11VpLnsbJLK8X01xN3Yf K/3YgkQD6alcafF0bvga2OSzn+OSFE7WEqkQbqlksFpaGD69pu6Wx/4WmejTx7iG4a2o TupEYuOqFcGMuCsajAwjBHxpKfGOP2kj9qM2AnjlnXraDh3VASZV1pfaKjiUkmegzlML IbKQ== X-Gm-Message-State: APjAAAWl7bww6A3tjzSnTwmW1q2jA9ewjAyAtRnL8SOoy9MvtxwRdq0X k/BoPPZ3GvJVWgs9HMfP/aM= X-Google-Smtp-Source: APXvYqxXJ41Af4QhMKCOwj1jrtroGQGVoza4R59NotGrpZBXKmgg5gaM9jbitow/uReOXGau381SxQ== X-Received: by 2002:adf:9786:: with SMTP id s6mr17168630wrb.188.1574416211170; Fri, 22 Nov 2019 01:50:11 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-1980-cc6a-4f4e-9c42.holly.idiocy.org. [2001:8b0:3f8:8129:1980:cc6a:4f4e:9c42]) by smtp.gmail.com with ESMTPSA id t13sm1139820wrp.36.2019.11.22.01.50.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Nov 2019 01:50:10 -0800 (PST) Content-Disposition: inline In-Reply-To: <87blt4x6nt.fsf@gnus.org> 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:172214 Archived-At: On Thu, Nov 21, 2019 at 10:26:30PM +0100, Lars Ingebrigtsen wrote: > > 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. > > A better eviction algorithm would be nice. It would be nice if Emacs was able to reuse the actual image data where the only difference is scaling or rotation. A simple ‘solution’ to the mousewheel scaling issue would be to explicitly flush the old image from the cache on each change. I think that’s what image mode does when you zoom. -- Alan Third