Hello.
People may want to open package.lisp of some library to study the public API,
and quickly navigate to definition of any symbol from the :export list,
in order to read the docstring.
I use slime-edit-definition (with the M-. shortcut) for navigation to docstrings.
But that usually does not work from within of (defpackage ) form,
because slime determines the current package based on the (in-package)
at the top of the file and usually package files have
(in-package :cl-user)
(defpackage :some-lib
(:export #:some-function
#:another-function
...))
So when cursor stays on #:some-function and M-. is pressed
slime says "No known definition for: #:some-function (in :cl-user)"
As a workaround I temporarily insert (in-pakcage :some-lib) above the (defpackage ).
But it would be convenient if slime understood that the within the :export
option of defpackage the symbols belong to the package being defined
and not to the closest (in-package ).
So that the proposal for consideration of the slime maintainers.