problem in interaction of imaxima and maxima mode



Dear Nikos Apostolakis san,

This is my first time I used "maxima-minibuffer-on-foo" functions.
What I obtained is similar to what you obtained:

t^(-3)-3*t^(-2)+5*t^(-1)-7+10*t-10*t^(2)+10*t^(3)-8*t^(4)+5*t^(5)-3*t^ 
(6)+t^(7);
%, t = %e^(2*%i*%pi/6);
%^2;
expand(%);
ratsimp(%); /*==> (%o15) -3 <==*/

The output prompt is inserted to the result string, which seems to be  
a bug.
I have filed this bug in my imaxima bug tracking database.

However, as you see in my case, there is no extra white space in the  
result.
To know the cause of the differences, could you please inform me your  
working
environment in detail?

Specifically I would like to know:
the version of Maxima you use, the version of Maxima you obtained the
maxima.el from, info on Emacs, operating system, and the lisp...

Yasuaki Honda / Chiba, Japan

On 2007/04/29, at 9:10 AM, Nikos Apostolakis wrote:

> Hello group,
>
> When in X I like to run imaxima in conjuction with the standard
> maxima mode, i.e. I set "imaxima-use-maxima-mode-flag" to "t".
> I often use the functions "maxima-minibuffer-on-foo" with a
> universal argument so that I get the result inserted in my working
> buffer.  Now with imaxima the ouput is inserted with a lot of extra
> spaces and the output prompt.
>
> For example with standard maxima mode:
>
> t^(-3)-3*t^(-2)+5*t^(-1)-7+10*t-10*t^(2)+10*t^(3)-8*t^(4)+5*t^ 
> (5)-3*t^(6)+t^(7);
> %, t = %e^(2*%i*%pi/6);
> %^2;
> expand(%);
> ratsimp(%); /*==> -3 <==*/
>
> and the same calculation with imaxima:
>
> t^(-3)-3*t^(-2)+5*t^(-1)-7+10*t-10*t^(2)+10*t^(3)-8*t^(4)+5*t^ 
> (5)-3*t^(6)+t^(7);
> %, t = %e^(2*%i*%pi/6);
> %^2;
> expand(%);
> ratsimp(%); /*==> ( % o 6 8 )  - 3 <==*/
>
> The extra spaces make longer output barely readable.
>
> Best,
> Nikos
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima