imaxima, xemacs and windows



The filename is in correct format now, but it still doesn't work.


I have been looking at this part of the code in imaxima.el:
-----------------------------------------------------
(when (eq system-type 'windows-nt)
		   (setq filename (imaxima-subst-char-in-string ?\\ ?/ filename)))
		 (message (format filename))
		 (setq str (concat " " str))
		 (set-text-properties 0 (length str)
				      `(begin-glyph
					,(make-glyph (vector imaxima-image-type
							     :file filename))) str)
---------------------------------------------------------------


I added the line that prints the filename as a message.  I noticed that 
when i first evaluate an expression, then copy the filename from the 
message and replace the filename variable on the last line of the code 
with the copied string, xemacs displays that image. For some reason 
using using the filename variable which should be correct and using the 
manually inputted string gives a different result.

Osmo