batch bug in xmaxima(%i1) load("foo_3");



I created new files with the
  f(x):= 2*x;

and there were no problems with batch, even with comments.

So, I do think there was some problem with the file.

I have noticed this before, but on complicated *.sav files which would
load but not batch.  I'll try to isolate the problem on one of these,
but now, it seems that the fix is to recreate the file and carefully
type what is in there.

I'll try to see when this happens again and do an

od -c  on the file

Thanks for the help.

-sen

  ---------------------------------------------------------------------------
  | Sheldon E. Newhouse            |    e-mail: sen1 at math.msu.edu           |
  | Mathematics Department         |       				   |
  | Michigan State University      | telephone: 517-355-9684                |
  | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
  ---------------------------------------------------------------------------

On Mon, 12 Feb 2007, Robert Dodier wrote:

> On 2/12/07, sen1 at math.msu.edu <sen1 at math.msu.edu> wrote:
>
>>    Actually, this even happens at the command line, and has nothing to do
>> with the comment.
>>
>> [sen at gumbie Work]$ more foo_3.mac
>> f(x):= 2*x;
>>
>
> I wonder if there is something odd about the input file.
> What does od -c foo_3.mac say?
> Does batch fail in the same way for every batch file?
>
> It seems possible or likely that the problem is GCL-specific.
> Do you have another Lisp version installed that you can test with?
>
> Robert
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>