[Ecls-list] user-homedir-pathname returns wrong value on windows

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Aug 19 08:18:49 UTC 2008


On Sun, Aug 17, 2008 at 8:36 AM, Deepankar Sharma
<deepankar.sharma at gmail.com> wrote:
> While recently working with with ecls on windows I discoverd
> that user-homedir-pathname returns #P"/" which breaks asdf-install.

By default, ECL uses the value of the HOME environment variable to
find out the homedir-pathname. On unix systems it may also use
getpwnam. If neither of these works, then it typically outputs "/".

> Another unrelated question - how do I invoke the restarts on plain ecl
> shell. For example while performing asdf-install, two restarts are
> available. I know this might be obvious, but :1 / :2 doesnt work.

Use :rn where "n" is a number. Typing :h at the prompt should have
given you a verbose help including those commands:

$ ecl
> (require 'local-time)
[...]
Broken at SI:BYTECODES.Available restarts:
1. (TRY-RECOMPILING) Try recompiling local-time
2. (RETRY) Retry performing #<ASDF:COMPILE-OP NIL 7031448> on
#<ASDF:CL-SOURCE-FILE "local-time" "local-time" 6534152>.
3. (ACCEPT) Continue, treating #<ASDF:COMPILE-OP NIL 7031448> on
#<ASDF:CL-SOURCE-FILE "local-time" "local-time" 6534152> as having
been successful.
Broken at SI:BYTECODES.
LOCAL-TIME>> :h

Restart commands:
:r1             Try recompiling local-time (TRY-RECOMPILING) .
:r2             Retry performing #<ASDF:COMPILE-OP NIL 7031448> on
#<ASDF:CL-SOURCE-FILE "local-time" "local-time" 6534152>. (RETRY) .
:r3             Continue, treating #<ASDF:COMPILE-OP NIL 7031448> on
#<ASDF:CL-SOURCE-FILE "local-time" "local-time" 6534152> as having
been successful. (ACCEPT) .
[...]


-- 
Instituto de Física Fundamental
CSIC, Serrano, 113, Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com


More information about the ecl-devel mailing list