Here's a patch to allow for completion in shortcut operations which deal with ASDF systems. It's sub-optimal because it only checks ASDF's central registry but I don't think it's possible to write a general solution in the presence of ASDF:*SYSTEM-DEFINITION-SEARCH-FUNCTIONS*.
I was about to write that I doubt anybody uses custom search functions anyway and that I myself had never heard of them. But then I remembered that I had:
http://weitz.de/asdf-install/#load-asdf-install
:)
Anyway, here's the patch.
Cheers, Edi.
Edi Weitz edi@agharta.de writes:
Here's a patch to allow for completion in shortcut operations which deal with ASDF systems. It's sub-optimal because it only checks ASDF's central registry but I don't think it's possible to write a general solution in the presence of ASDF:*SYSTEM-DEFINITION-SEARCH-FUNCTIONS*.
It would be nice if ASDF itself had a function to list all system names. That would save us the pathname wrestling.
Anyway, patch committed.
Helmut.
On Thu, 22 Apr 2004 23:53:07 +0200, Helmut Eller e9626484@stud3.tuwien.ac.at wrote:
Edi Weitz edi@agharta.de writes:
Here's a patch to allow for completion in shortcut operations which deal with ASDF systems. It's sub-optimal because it only checks ASDF's central registry but I don't think it's possible to write a general solution in the presence of ASDF:*SYSTEM-DEFINITION-SEARCH-FUNCTIONS*.
It would be nice if ASDF itself had a function to list all system names. That would save us the pathname wrestling.
I suppose ASDF itself can't do that either because it cannot know what kind of search functions its users provide.
Edi Weitz edi@agharta.de writes:
I suppose ASDF itself can't do that either because it cannot know what kind of search functions its users provide.
But ASDF itself can change the rules. E.g., it could say that the user has to supply a function that returns a list a of all names. I think that would be a nifty feature. I don't quite know how asdf relates to asdf-install, but it would definitely be cool to have a list of all asdf-installable packages.
Helmut.