Customizing Maxima. Renaming Maxima functions



Richard Hennessy wrote:
> Dear List,
>
> I would like to rename some Maxima commands somehow.  By rename I literally mean rename, the old name won't work anymore
> after it is done.  e.g.  I would like to change "integrate" to "rsum" for example.  So rsum(x^2,x) will return 1/3*x^3
> and rsum(x^2,x,0,1) will return 1/3 and also all error messages would be the same as if rsum were integrate.  Can
> someone help me?  Also undoing this would be good to know too so I can change the name in a block and then change it
> back at the end of the block for example.
>
> Thanks,
>
> Rich
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>   
try
  alias

e.g.

(%i1) display2d: false;

(%o1) false
(%i2) integrate(x^2,x);

(%o2) x^3/3
(%i3) alias(rsum,integrate);

(%o3) [rsum]
(%i4) rsum(x^2,x);

(%o4) x^3/3


I don't know how to remove the aliases without restarting maxima.

-sen