imaxima, xemacs and windows



Has anyone gotten imaxima working in xemacs in windows?

When i evaluate an expression in xemacs i get as a result an empty line 
and a '^M' on the second line. I don't get an error message. When i look 
in my temp folder, i can find there the following files:

mylatex.ltx, format.tex, mylatex.log, mylatex.fmt, 1.tex, 1.log, 1.dvi, 1.ps

The 1.dvi and 1.ps look as they should (correct answer, tex-output and 
colors) but why don't i see them in xemacs? Am i still lacking some 
files in the temp folder or i this a problem with xemacs?

And a second matter, the 5.9.0 version of maxima doesn't work for me in 
emacs. When i start maxima-mode in emacs it just hangs. Ctrl-g helps, 
but trying again will result in the same. Could this be a problem with 
the bat file? Maxima 5.6 windows version with a bat file found at the 
archive of this list works without problems.

Osmo Salomaa