problem running MAXIMA in Emacs



wang yin <wang-y01@mails.tsinghua.edu.cn> writes:

> 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

(Incidentally, smart-complete is now written into maxima.el, although
it may be useful apart from Maxima, and maxima.el uses comint mode,
which is built into emacs, rather than 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? 

Rats.  I don't know what's wrong; it works as it should here.
Hopefully, it'll be easy enough to fix.  What happens when you run
M-x maxima
from within emacs?

Jay