axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] )read .axiom issue (was: Re: AXIOM / TeXmacs problems


From: David MENTRE
Subject: [Axiom-developer] )read .axiom issue (was: Re: AXIOM / TeXmacs problems (bugs?))
Date: Sun, 07 Dec 2003 13:07:22 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

Hello,

Bertfried Fauser <address@hidden> writes:

> 1) The .axiom.input file cannot be red by the command
>    (1)-> )read .axiom
>    it seem as if AXIOM parses teh filemane and does not recognize such
>    filenames which are starting with a '.' (Since this file is loaded
>    automatically its not serious)
>    WORKAROUND:
>    (1)-> )read .axiom.input

Ok. The code that make the )read command is defined in
src/interp/i-syscmd.boot.pamphlet, lines 1406-..., in the readSpad2Cmd
boot function. At first glance, I cannot see what is going wrong.

Tim, I tried to follow your guidelines to trace this function execution
but the execution of readSpad2Cmd does not stop. Have I missed something?

(1) -> )trace readSpad2Cmd )break
 
   Function traced: readSpad2Cmd 
(1) -> )read .axiom
1<enter readSpad2Cmd : (|.axiom|)
protected-symbol-warn called with (NIL)
Break on entering readSpad2Cmd :
 
   The file .axiom is needed but does not exist.


Back to Bertfried issue: it appears that the call to FINDFILE returns
NIL when called with ".axiom" and the found file with ".axiom.input". 

(1) -> )trace _$FINDFILE
 
   Function traced: $FINDFILE 
(1) -> )read .axiom
1<enter $FINDFILE : #p".axiom"\("input" "INPUT" "boot" "BOOT" "lisp" "LISP")
1>exit  $FINDFILE : NIL
 
   The file .axiom is needed but does not exist.
(1) -> )read .axiom.input
1<enter $FINDFILE : #p".axiom.input"\("input" "INPUT" "boot" "BOOT" "lisp" 
"LISP")
1>exit  $FINDFILE : "/home/david/.axiom.input"


Is it a Common Lisp issue?


Yours,
d.
-- 
David MENTRE <address@hidden> -- http://www.nongnu.org/axiom/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]