renaming files from within maxima



sen1 at math.msu.edu wrote:
> OK,
>  Here is a simplified session with just a 'write' to a file
[snip]

I ran this script on current CVS with CMUCL 2007-07.  I don't get any 
errors.  Would it be possible to use 19d?  Or maybe even the 2007-07 
snapshot?

> 
> 
> File-error in function LISP::FD-OPEN:  Error opening #P"file", File
> exists.
>    [Condition of type KERNEL:SIMPLE-FILE-ERROR]
> 
> Restarts:
>   0: [CONTINUE    ] Return NIL.
>   1: [MACSYMA-QUIT] Maxima top-level
>   2: [ABORT       ] Skip remaining initializations.
> 
> Debug  (type H for help)
> 
> (LISP::FD-OPEN #P"file" :OUTPUT :ERROR NIL ...)
> Source: Error finding source:
> Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no
> longer exists:
>   target:code/fd-stream.lisp.
> 0] back
> : (LISP::FD-OPEN #P"file" :OUTPUT :ERROR NIL ...)
> 1: (LISP::OPEN-FD-STREAM #P"file" :DIRECTION :OUTPUT :ELEMENT-TYPE
> ...)
> 

Can you type (setf *print-length* 20) and produce another backtrace. 
The interesting parts of fd-open and open-fd-stream are missing.

Thanks,

Ray