problem running MAXIMA in Emacs



Hi,

  I've installed MAXIMA successfully and can run it in my rxvt.
  But now I want to use Emacs to run MAXIMA. I put all the el files into my Emacs list directory and loaded maxima.el successfully.

  /usr/share/maxima/5.9.0rc3/emacs/bookmode.el
  /usr/share/maxima/5.9.0rc3/emacs/dbl.el
  /usr/share/maxima/5.9.0rc3/emacs/emaxima.el
  /usr/share/maxima/5.9.0rc3/emacs/emaxima.lisp
  /usr/share/maxima/5.9.0rc3/emacs/maxima-font-lock.el
  /usr/share/maxima/5.9.0rc3/emacs/maxima.el
  /usr/share/maxima/5.9.0rc3/emacs/smart-complete.el
  /usr/share/maxima/5.9.0rc3/emacs/sshell.el

  I can do some movings among the forms as maxima.el says. I can complete MAXIMA  key words with M-Tab. The syntax is highlighted correctly. 
  
  But when I hit C-cC-r to send the region to MAXIMA or hit M-Ret C-Ret that will invoke MAXIMA, my mouse pointer becomes clock shaped and I wait and wait, it just stuck! I can only hit C-g to get out. I still can't evaluate anything in Emacs. What's wrong?

-- 
Wang Yin
DA Lab, Tsinghua University,
100084
Beijing China