Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Proposal for "apropos" feature that searches exported symbols across all quicklisp libraries

Received: by 10.204.149.210 with SMTP id u18mr1751965bkv.1.1337414845101;
        Sat, 19 May 2012 01:07:25 -0700 (PDT)
X-BeenThere: quicklisp@googlegroups.com
Received: by 10.204.129.208 with SMTP id p16ls2813890bks.7.gmail; Sat, 19 May
 2012 01:07:24 -0700 (PDT)
Received: by 10.205.122.65 with SMTP id gf1mr1751606bkc.2.1337414844046;
        Sat, 19 May 2012 01:07:24 -0700 (PDT)
Received: by 10.205.122.65 with SMTP id gf1mr1751605bkc.2.1337414844032;
        Sat, 19 May 2012 01:07:24 -0700 (PDT)
Return-Path: <mihai.ba...@gmail.com>
Received: from mail-lpp01m010-f41.google.com (mail-lpp01m010-f41.google.com [209.85.215.41])
        by gmr-mx.google.com with ESMTPS id iv15si12118082bkc.0.2012.05.19.01.07.23
        (version=TLSv1/SSLv3 cipher=OTHER);
        Sat, 19 May 2012 01:07:24 -0700 (PDT)
Received-SPF: pass (google.com: domain of mihai.ba...@gmail.com designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of mihai.ba...@gmail.com designates 209.85.215.41 as permitted sender) smtp.mail=mihai.ba...@gmail.com; dkim=pass header...@gmail.com
Received: by lahi5 with SMTP id i5so3150973lah.0
        for <quicklisp@googlegroups.com>; Sat, 19 May 2012 01:07:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=gl8MUpTKLa+ywa1KzVGJrqmbDBiS1dtQpF5bM6r9OvE=;
        b=oQLc+QFEciFuX1/5qXkzgphZStQXKpbs9C3mldKktxjyLW0hcUdH93KxFtZNFMYYqX
         1OtwUXE8XmQoTnWA2dKcZoVWTAVVm82j0xUHtYBWAY6c/+/djA436iNEN53md9PpmI30
         BqHT2nxamPeqBucR3roXg1O8+kQKKKCfpJpLq8+Pl4uUq06aOLS1V9g1WQgg0e48bYmu
         jn/ca4pVsEyIJAItlLJHC/a3Hwt9Cns+u/wy3+ipCpElmJA6Vh+zUdavOfrIfWPYrhQt
         DuFuTt4MjJ5PmcMBhl3I4IfCLkaBxv5CndwhWf2VFB3TH8+nly8UhBrsT6CmYPgxMn4T
         sGRA==
MIME-Version: 1.0
Received: by 10.112.40.36 with SMTP id u4mr6160247lbk.70.1337414843633; Sat,
 19 May 2012 01:07:23 -0700 (PDT)
Received: by 10.112.117.103 with HTTP; Sat, 19 May 2012 01:07:23 -0700 (PDT)
In-Reply-To: <4cafdea9-3cdc-407d-8cde-32968b112...@nl1g2000pbc.googlegroups.com>
References: <295ff932-d105-42f7-bac0-b40cd098a...@o3g2000pby.googlegroups.com>
	<87396xiyud....@gmail.com>
	<9cfd4e79-90fb-4151-927b-bb1b591b1...@ki5g2000pbb.googlegroups.com>
	<87mx546fs8....@kuiper.lan.informatimago.com>
	<4cafdea9-3cdc-407d-8cde-32968b112...@nl1g2000pbc.googlegroups.com>
Date: Sat, 19 May 2012 11:07:23 +0300
Message-ID: <CAOUqiQ1EAyooBeaXtKPUm=DKVWQws7bCF7sFybsUmm=wCmx...@mail.gmail.com>
Subject: Re: [quicklisp] Re: Proposal for "apropos" feature that searches
 exported symbols across all quicklisp libraries
From: =?UTF-8?Q?Mihai_C=C4=83lin_Bazon?= <mihai.ba...@gmail.com>
To: quicklisp@googlegroups.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

The other day I was looking for a function to XML-encode a string.  I
thought there must be one in CXML, which I had loaded, but I couldn't
find it in a couple of minutes (Google didn't help either) so I wrote
it myself.

It would be nice if Quicklisp had such a search feature.  I'm pretty
sure 90% of my utils.lisp could be found in other projects :-) (but
that's how it happens when searching is harder than writing the
code...)

-Mihai

On Sat, May 19, 2012 at 8:41 AM, Paul Sexton <psexton...@gmail.com> wrote:
> Obviously it would be much easier to extract exported symbols if all
> the packages were actually loaded by the lisp image.
> Probably not a very robust design however. Maybe one could batch-
> process each quicklisp library in turn -- load it into a lisp, extract
> exported symbols and save them somewhere, then quit.
>
>
> On May 19, 2:55=C2=A0pm, "Pascal J. Bourguignon" <p...@informatimago.com>
> wrote:
>> Paul Sexton <psexton...@gmail.com> writes:
>> > Yes, I'm aware of slime-apropos, and packages like lispdoc. They only
>> > operate on installed/loaded packages. There are > 700 libraries
>> > bundled with quicklisp -- most users only use a small handful, and are
>> > ignorant of most of the others. There is a great deal of duplication
>> > of code (particularly "utility" functions). Many of the libraries have
>> > names which communicate nothing about their function. I wonder how
>> > many versions of "with-gensyms" are in those libraries?
>>
>> > A global apropos would allow users to find out what is actually inside
>> > all of these libraries, without the need to install them locally.
>>
>> Yes, yes, it's useful.
>>
>> But I also tried to load everything once, and save a fully loaded
>> image. =C2=A0It was rather successful (only half a dozen system couldn't=
 be
>> loaded in the implementation I used). =C2=A0The saved image wasn't
>> excessively big. =C2=A0I should try it again=E2=80=A6
>>
>> --
>> __Pascal Bourguignon__ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0http://www.informatimago.com/
>> A bad day in () is better than a good day in {}.



--=20
Mihai Bazon,
http://mihai.bazon.net/blog