Emaxima Emacs Mode (Was Re: [Maxima] User Manual)



--- Jay Belanger <belanger@truman.edu> wrote:

> Thanks, from also (I'm sure) Jürgen Tischer and William Schelter.
> 
> What part of the TeX part didn't work?  If I get some details,
> perhaps
> I can fix it.  

That's my fault, actually - mactex.lisp didn't get installed in 5.5,
for some reason.  I've got to fix my Maxima install.

> Ideally, Maxima would have a switch that
> would allow the output to be already in TeX form, much like there is
> currently the option to use 1D or 2D output. 

I agree that would be good - how much work do you think that would be?
 

> I don't know, I haven't tried it.
> If no-one else tries it, I can install NTEmacs on my wife's computer
> and test it out.

I've also got access to a Windows machine - I'll see if I can give it a
shot.

> > Also, does this work with emacs 21?  I'd be surprised if backward's
> > compatibility were broken, but with a major version number you
> wonder a
> > bit. 
> 
> Or rather, does it work with emacs 20?  (I'm using emacs 21 myself.)
> I don't think that I used any emacs 21 specific features, so it
> should
> work on emacs 20, but I haven't tested it out.

OK, then I guess I'm doing that. I'm using 20.7.1 :-) 

> > Speaking of improving the emacs mode, does anyone else have trouble
> > with  mismatched parenthesis on some of the inputs when using
> maxima in
> > emacs?  In my case it seems to be a bit flacky.
> 
> Can you give details on when that occurs?

Well, in older versions it just gave me a parenthesis mismatched error
- this would only happen once in a while.  In the new emaxima, here's
what I'm getting occasionally:

error in process filter: Invalid regexp: "Unmatched ) or \\)" [2 times]

from this input:

\maxima
diff(2*cos(x),x);
\endmaxima

It does give me output, though. In a previous cell I did this (same
session) without trouble:

\maxima
integrate(sin(x),x);
\output
(D1) 				   - COS(x)
\endmaxima


__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com