[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] Re: gcl info patch
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] Re: gcl info patch |
Date: |
21 Mar 2002 12:02:59 -0500 |
Greetings!
"Vadim V. Zhytnikov" <address@hidden> writes:
> 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.
>
OK Vadim, thanks for the correction! I'm going to try to commit this
if I can get a few moments to test it. And I also agree that these
pipes are a wonderful gcl feature!
>
> >
> > 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>
> [
>
>
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah