[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/slime 485aa0ca17 16/43: extract-package, readtable-for-pac
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/slime 485aa0ca17 16/43: extract-package, readtable-for-package: Use default readtable |
Date: |
Thu, 28 Dec 2023 22:00:29 -0500 (EST) |
branch: elpa/slime
commit 485aa0ca171d2b00b51ffa4c471b0140bf468d9b
Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Commit: Luís Oliveira <loliveira@common-lisp.net>
extract-package, readtable-for-package: Use default readtable
---
swank/source-path-parser.lisp | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/swank/source-path-parser.lisp b/swank/source-path-parser.lisp
index d859826423..951343d286 100644
--- a/swank/source-path-parser.lisp
+++ b/swank/source-path-parser.lisp
@@ -128,8 +128,9 @@ subexpressions of the object to stream positions."
(defun extract-package (line)
(declare (type string line))
- (let ((name (cadr (read-from-string line))))
- (find-package name)))
+ (let ((*readtable* (copy-readtable nil)))
+ (let ((name (cadr (read-from-string line))))
+ (find-package name))))
#+(or)
(progn
@@ -142,8 +143,9 @@ subexpressions of the object to stream positions."
(defun readtable-for-package (package)
;; KLUDGE: due to the load order we can't reference the swank
;; package.
- (funcall (read-from-string "swank::guess-buffer-readtable")
- (string-upcase (package-name package))))
+ (let ((*readtable* (copy-readtable nil)))
+ (funcall (read-from-string "swank::guess-buffer-readtable")
+ (string-upcase (package-name package)))))
;; Search STREAM for a "(in-package ...)" form. Use that to derive
;; the values for *PACKAGE* and *READTABLE*.
- [nongnu] elpa/slime 8da60ff543 08/43: abcl: fix warning about ignored slot, (continued)
- [nongnu] elpa/slime 8da60ff543 08/43: abcl: fix warning about ignored slot, ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 2080537746 04/43: Require `xref` as regular dependancy, ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime a4f3471487 42/43: 2.2.8, ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 1ee576a53f 40/43: slime: slime-print-apropos use buttons for dispay, ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 3837255e0c 17/43: sbcl: Use file-write-date instead of debug-source-created, ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime c5342a3086 14/43: Properly comment out multiline error messages during printout, ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 7e08d61fad 31/43: swank-asdf: Fix slime-load-system for systems with dots in the name, ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 4d540c8fc9 38/43: slime-cl-indent: fix lambda list indentation for single arg keywords, ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime def8408e12 29/43: sexp-ref: accept dotted lists., ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 9d3d303333 24/43: clasp: Translate logical pathnames in source references, ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 485aa0ca17 16/43: extract-package, readtable-for-package: Use default readtable,
ELPA Syncer <=
- [nongnu] elpa/slime 34b7e43530 09/43: abcl: implement inspection of locals in interpreted frames, ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 6ef28864d4 13/43: Handle null characters correctly in the Allegro backend., ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 649abf2c19 23/43: compute-enriched-decoded-arglist sb-assem:inst: catch NIL., ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 0a77a989fd 20/43: Fix extract-local-op-arglists for labels., ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 1f9a95f3a0 18/43: Revert "sbcl: Use file-write-date instead of debug-source-created", ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 32f5652d6a 15/43: sbcl: Improve inspection of functions and code components., ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 906900bf05 12/43: Fix #714, ELPA Syncer, 2023/12/28
- [nongnu] elpa/slime 4cc03df108 30/43: Make xref optional., ELPA Syncer, 2023/12/28