Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'slime-unintern-symbol' if package name designator is not a symbol #341

Open
mr1yh1 opened this issue Sep 15, 2016 · 0 comments
Open

'slime-unintern-symbol' if package name designator is not a symbol #341

mr1yh1 opened this issue Sep 15, 2016 · 0 comments

Comments

@mr1yh1
Copy link

mr1yh1 commented Sep 15, 2016

if buffer has
(in-package :test)
slime is trying to unintern a symbol from package ':test' instead of 'test'.
so
(in-package 'test) ; is OK
(in-package :test) ; is NOT OK
(in-package #:test) ; is NOT OK

'slime-search-buffer-package' function in slime.el ;
regex for current buffers package name is;
(concat "^((cl:|common-lisp:)?in-package>[ \t']" "([^)]+)[ \t])"))

adding '#' and ':' to the regex seems solved problem for me
(concat "^((cl:|common-lisp:)?in-package>[ \t':#]" "([^)]+)[ \t])"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant