doc: `:local-nicknames` lost switching to `(defpackage)` [Package FILESYSTEM does not exist.]
Opened this issue · 1 comments
WillForan commented
I started coding in emacs/sly using (in-package :ciel-user)
but got far enough in that switching to defpackage
made sense (5am testing!).
The initial code used things like (filesystem:directory-exists-p ...)
-- packages with ciel local-nicknames. But sly-buffer-eval after switching to (defpackage ... (:use :cl :ciel))
threw errors
Package FILESYSTEM does not exist.
I peaked into packages.lisp and just copied the nicknames I needed.
(defpackage mrqart
(:use :cl :ciel)
(:local-nicknames
(:filesystem :uiop/filesystem)
(:notify :org.shirakumo.file-notify))
(:export get-dcm-values *dcmtags*))
Is this the right move? Worth documenting? Maybe in one of
(Thanks for this amazingly useful curated lisp experience!)
vindarel commented
Hello, it looks like you did right and it's a documentation issue. A soon as we create our own package, we need to copy over the package-local nicknames.