C Y <smustudent1@yahoo.com> writes:
> When I input some expression which requires additional input, such as
> integrate(x/(x-z),x,z1,z2);, emacs hangs. Would it be possible to have
> the writer automatically switched over to the maxima window, to answer
> the questions? Or at least avoid the hanging behavior?
What would be easier in this case would be to have emacs prompt for the
answer when Maxima asks a question.
I made the fix so that this would happen, you need
maxima.el
in ftp://vh213601.truman.edu
It assumes that if Maxima gives some output that doesn't have a new
input prompt but does have a question mark, then it is asking a
question. I suspect this may be right, but would like confirmation.
I also added inferior-maxima-exit-hook,
which gets called when the maxima process buffer is killed.
Finally, maxima-font-lock.el has been slightly changed so that it
handles numbers better. (1 and 12 will be fontified as constants,
the 1 in z1 won't be.)
Jay