Subject: Re: bug#24393: 25.1.50; image-mode ignore the image :scale

From: Tino Calancha <[email-masked]>
Date: Fri, 9 Sep 2016 03:13:36 +0900 (JST)

On Thu, 8 Sep 2016, Eli Zaretskii wrote:

>> From: Tino Calancha <[email-masked]>
>> Date: Thu, 8 Sep 2016 21:14:26 +0900 (JST)
>>
>>
>> emacs -Q IMAGE ; IMAGE is the file name of an image file
>> M-x: image-transform-fit-to-width
>> ;; assertion fails.  The image width is bigger than the window width.
>>
>> This happens after commit: ad1951db
>
> Please show a backtrace from the assertion violation.
Debugger entered: ((cl-assertion-failed (= (car size) (- (nth 2 (window-inside-pixel-edges)) (nth 0 (window-inside-pixel-edges)))) nil 4299 2514))
   cl--assertion-failed((= (car size) (- (nth 2 (window-inside-pixel-edges)) (nth 0 (window-inside-pixel-edges)))) nil (4299 2514) nil)
   image-transform-check-size()
   image-toggle-display-image()
   image-transform-fit-to-width()
   eval((image-transform-fit-to-width) nil)
   eval-expression((image-transform-fit-to-width) nil)
   funcall-interactively(eval-expression (image-transform-fit-to-width) 
nil)
   call-interactively(eval-expression nil nil)
   command-execute(eval-expression)