[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] externals/sly a9502b1 25/47: abcl: fix finding slime locations
From: |
ELPA Syncer |
Subject: |
[nongnu] externals/sly a9502b1 25/47: abcl: fix finding slime locations within JAR archives |
Date: |
Thu, 17 Dec 2020 18:57:18 -0500 (EST) |
branch: externals/sly
commit a9502b1015df357ea257bd7520ef816f09982c28
Author: Mark <evenson.not.org@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
abcl: fix finding slime locations within JAR archives
* slynk/backend/abcl.lisp: do things to it.
One cannot pass reader macros over SLIME wire protocol so pathnames
need to use their namestring representation as opposed to the
Cherry-picked-from: SLIME commit 0e4e4aca8e30a74238bacf6cf4f4357e282e60be
Co-authored-by: João Távora <joaotavora@gmail.com>
---
slynk/backend/abcl.lisp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/slynk/backend/abcl.lisp b/slynk/backend/abcl.lisp
index aedaaa6..c1e4c33 100644
--- a/slynk/backend/abcl.lisp
+++ b/slynk/backend/abcl.lisp
@@ -755,7 +755,7 @@
(cond ((ext:pathname-jar-p path)
`(:location
;; strip off "jar:file:" = 9 characters
- (:zip ,@(split-string (subseq path 9) "!/"))
+ (:zip ,@(split-string (subseq path (length "jar:file:"))
"!/"))
;; pos never seems right. Use function name.
(:function-name ,(string symbol))
(:align t)))
@@ -1004,8 +1004,7 @@
(list (definition-specifier what)
(if (ext:pathname-jar-p path2)
`(:location
- ;; JAR-PATHNAME stores the PATHNAME of the jar file as first
element of a list DEVICE
- (:zip ,@(pathname-device path2))
+ (:zip ,@(split-string (subseq path2 (length "jar:file:"))
"!/"))
;; pos never seems right. Use function name.
,<position>
(:align t))
- [nongnu] externals/sly e927cda 47/47: Release SLY 1.0.42, (continued)
- [nongnu] externals/sly e927cda 47/47: Release SLY 1.0.42, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly a1fc34c 03/47: Add a name to the mailbox lock for clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly b2732f4 15/47: Add line, column kw args to slynk-compile-string, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 5ec798d 19/47: decode-arglist: don't fall on arglist-dummy., ELPA Syncer, 2020/12/17
- [nongnu] externals/sly a0308b7 21/47: fix spurious detection of allegro modern-mode (#540), ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 9392ac9 32/47: Fix collect-macro-forms in clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 3c83b6f 06/47: Improve jump to source with 'v' in sldb in clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly c74ef16 14/47: Improve source locations for inlined code in clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 463cef6 20/47: sbcl/sexp-in-bounds-p: descend into comma-expr., ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 748fd92 22/47: Do close streams in CLOSE-LISTENER when closing SLYNK::LISTENER, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly a9502b1 25/47: abcl: fix finding slime locations within JAR archives,
ELPA Syncer <=
- [nongnu] externals/sly afedabc 26/47: abcl: fix inspector for Java methods and fields, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly edf5d52 27/47: sbcl: Filter out invalid definition sources in find-definitions, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 0abe736 28/47: Define a macro in time, ELPA Syncer, 2020/12/17