Hi Greg,
> Now if I write code that uses this standard-library package I
> should have access to all of these libraries right? Or do I need
> to do something else? Like an export statement in the defpackage
> maybe??
The symbols in the used packages are available in the standard-
library package but not in any packages that use standard library. If
you want the symbols that are from the used packages to be directly
usable by packages that use standard library (sorry about this
sentence, by the way... sigh), then you need to export them. This
sounds like a horrible maintenance nightmare but it's not because you
can define:
(defun export-exported-symbols (from-package to-package)
"Make the exported symbols in from-package be also exported from
to-package."
(use-package from-package to-package)
(do-external-symbols (sym (find-package from-package))
(export sym to-package)))
and do things like:
(export-exported-symbols 'cl-ppcre 'standard-library)
In fact, you could go this one better by iterating over the used
packages...
HTH,
--
Gary Warren King
metabang.com
http://www.metabang.com/
Thanks! I knew there was something I was missing.
--
greg
_______________________________________________ Gardeners mailing list [email protected] http://www.lispniks.com/mailman/listinfo/gardeners
