GNU bug report logs - #68452
w32-use-native-image-API makes weird behavior

Previous Next

Package: emacs;

Reported by: Jinsong Zhao <jszhao <at> yeah.net>

Date: Sun, 14 Jan 2024 16:23:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jinsong Zhao <jszhao <at> yeah.net>
Subject: bug#68452: closed (Re: bug#68452: w32-use-native-image-API makes
 weird behavior)
Date: Tue, 16 Jan 2024 12:48:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#68452: w32-use-native-image-API makes weird behavior

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 68452 <at> debbugs.gnu.org.

-- 
68452: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68452
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Jinsong Zhao <jszhao <at> yeah.net>
Cc: 68452-done <at> debbugs.gnu.org
Subject: Re: bug#68452: w32-use-native-image-API makes weird behavior
Date: Tue, 16 Jan 2024 14:46:54 +0200
> Date: Tue, 16 Jan 2024 13:09:52 +0800
> Cc: 68452 <at> debbugs.gnu.org
> From: Jinsong Zhao <jszhao <at> yeah.net>
> 
> I was able to confirm that my question is not related to 
> w32-use-native-image-API. The reason is that the image is not valid. In 
> fact, it's empty because Ghostscript on Windows doesn't flush the image 
> to the file. So this bug should be closed. Thanks for your help.

Thanks, closing.

[Message part 3 (message/rfc822, inline)]
From: Jinsong Zhao <jszhao <at> yeah.net>
To: bug-gnu-emacs <at> gnu.org
Subject: w32-use-native-image-API makes weird behavior
Date: Sun, 14 Jan 2024 21:52:00 +0800
[Message part 4 (text/plain, inline)]
Hi there,

I am not a skilled Emacs user. I mainly use Emacs as a front end for 
Maxima with the help of imaxima. imaxima converts Maxima output into PNG 
image, which are then displayed in Emacs. I am using Windows 10.

It works fine on Emacs 28.2, when I type an expression, e.g. q^2 = 1; 
and return, Emacs 28.2 immediately displays the resulting PNG image.

If I use Emacs 29.1, however, all I get after returning is an empty 
square. And if I type another expression and return, a blank square 
appears. At the same time, the first empty square was replaced by a PNG 
image of the first expression. That's weird.

I saw the following messages in the *Messages* buffer:

Processing Maxima output...done
Unable to load image (image :type png :file 
c:/Users/Jinso/AppData/Local/Temp/imaximatU5Y9B/1 :scale 
1.001595744680851 :ascent center :mask (heuristic (color-values 
imaxima-bg-color)) :transform-smoothing t) [35 times]
Process imaxima finished

After (setq w32-use-native-image-API nil), imaxima has the same 
behaviour on Emacs 28.2 and 29.1.

Best,
Jinsong
[Message part 5 (text/html, inline)]

This bug report was last modified 1 year and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.