gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] Re: gcl info patch


From: Vadim V. Zhytnikov
Subject: Re: [Gcl-devel] Re: gcl info patch
Date: Sat, 09 Mar 2002 17:10:17 +0300

Camm Maguire wrote:

> Hi Vadim!
>
> First -- to the list -- please excuse my brief absence lately.  I'm
> trying to batch the gcl work up into bursts to fit it more effectively
> in my unfortunately tight schedule!
>
> OK, Vadim, I'm going to commit this -- Thanks!
>
> But two suggestions for further improvements, upon which I still
> unfortunately will need your help:
>
> 1) Many systems compress info files, so is there a way to do something
>    like the following in pseudo-lisp (please don't laugh :-))
>
> After
>   (setq file (si::file-search name *info-paths* '("" ".info") nil))
> add
>  ~ (cond (null file) (
>         (setq file (si::file-search name *info-paths* '("" ".info.gz") nil))
>         (cond (not (null file)) (open file (strcat "| zcat " file)))))
>

You've misplaced parentheses. The right form is
 ~ (cond ((null file)
        (setq file (si::file-search name *info-paths* '("" ".info.gz") nil))
        (cond ((not (null file)) (open (strcat "| zcat " file)))))

In fact I'm very surprised.  I'd think in advance that
  (open "| zcan file.gz")
will not work.  But it  works!!! I can read the file.
But this is GCL specific nice feature.
The same construction doesn't work in Clisp.


>
> I can't even get (null...) to work, even though its in info.lisp :-(.
>
> 2) More difficult, I see that GCL has a 3 list environment structure
>    (see gcl-si info page) -- I wonder if it is possible to append the
>    shell environment in main() to this, then get the info.lsp to
>    consult the GCL environment structure to possibly override
>    *info-paths*?
>
> Commit of your patch coming soon.  Thanks for your submission!
>
> Take care,
>

--
[
[    Vadim V. Zhytnikov
[
[     <address@hidden>
[   <address@hidden>
[    <address@hidden>
[






reply via email to

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