bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38187: 27.0.50; No mouse-wheel scaling on images


From: Juri Linkov
Subject: bug#38187: 27.0.50; No mouse-wheel scaling on images
Date: Thu, 21 Nov 2019 01:00:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> -(defun image-increase-size (n)
>> +(defun image-increase-size (&optional n event)
>
> Can we avoid mixing numerical argument with a mouse event?  It looks
> unclean to me.  How about a simple wrapper that accepts a mouse event
> and calls image-increase/decrease-size with a suitable arg?

So I installed a new patch with wrappers.

BTW, while testing it for image scaling on a quite small image file,
Emacs consumed several GB of all available memory and almost all swap,
before I noticed and evaluated M-: (clear-image-cache) that freed memory.

Memory leak?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]