[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/slime 8f166c4149 18/44: Align compilation artifact paths i
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/slime 8f166c4149 18/44: Align compilation artifact paths in swank-loader with ASDF |
Date: |
Fri, 29 Dec 2023 01:00:02 -0500 (EST) |
branch: elpa/slime
commit 8f166c4149e71a9f67e3d741fb6716b31aa4920e
Author: Mark Evenson <evenson.not.org@gmail.com>
Commit: Mark Evenson <evenson.not.org@gmail.com>
Align compilation artifact paths in swank-loader with ASDF
When loaded via ASDF, we align the swank-loader:*source-directory* and
swank-loader:*fasl-directory* special variables to the appropriate
values. This restores the ability to launch a Swank server from a
Lisp image which has loaded SLIME via ASDF.
See
<https://github.com/slime/slime/commit/dd179f4a0c6874fe0e49fb6c460e9e52a5f58833>
and <https://github.com/slime/slime/pull/760>.
---
swank.asd | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/swank.asd b/swank.asd
index b28fbf29c0..85ed97c6ea 100644
--- a/swank.asd
+++ b/swank.asd
@@ -9,17 +9,28 @@
;; Usage:
;;
-;; (asdf:load-system "swank")
-;; (swank:create-swank-server PORT) => ACTUAL-PORT
+;; (asdf:load-system :swank)
+;; (swank:create-server :dont-close t)
;;
-;; (PORT can be zero to mean "any available port".)
-;; Then the Swank server is running on localhost:ACTUAL-PORT. You can
+;; After which, the Swank server is running on localhost:4005. You can
;; use `M-x slime-connect' to connect Emacs to it.
;;
;; This code has been placed in the Public Domain. All warranties
;; are disclaimed.
(asdf:defsystem "swank"
+ :perform (load-op :after (o c)
+ (set (intern '*source-directory* 'swank-loader)
+ (asdf:system-source-directory :swank))
+ (set (intern '*fasl-directory* 'swank-loader)
+ (asdf:apply-output-translations
(asdf:system-source-directory :swank)))
+ (uiop:symbol-call :swank :before-init
+ (uiop:symbol-call :swank-loader :slime-version-string)
+ (list
+ (uiop:symbol-call :swank-loader :contrib-dir
+ (symbol-value (intern "*FASL-DIRECTORY*" 'swank-loader)))
+ (uiop:symbol-call :swank-loader :contrib-dir
+ (symbol-value (intern "*SOURCE-DIRECTORY*"
'swank-loader))))))
:components ((:file "swank-loader")
(:file "packages")
(:file "xref" :if-feature :clisp)
@@ -61,6 +72,7 @@
(:file "swank-asdf" :if-feature (:or :asdf2 :asdf3 :sbcl :ecl))
(:file "swank-package-fu")
(:file "swank-hyperdoc")
+ (:file "swank-indentation")
(:file "swank-sbcl-exts" :if-feature :sbcl)
(:file "swank-mrepl")
(:file "swank-trace-dialog")
- [nongnu] elpa/slime 0880c32716 31/44: Fix typo in docs., (continued)
- [nongnu] elpa/slime 0880c32716 31/44: Fix typo in docs., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime ba3d0794e7 23/44: Fix parsing after reader conditionals., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime aa3da5f7ae 06/44: abcl: normalize whitespace to SLIME conventions, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime ce024caf08 02/44: clasp: Use external interfaces where available, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 2df69effea 03/44: clasp: cleanup old debugging code, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime e6a71c725c 09/44: slime-repl: reset the output column on new evaluation., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 5e8fc7cad5 11/44: slime-repl: reset the output column in the right way., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime e193bc5f34 12/44: I'm not your brother, pal., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime dd179f4a0c 13/44: Rework swank.asd to produce actual compilation artifact (#760), ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 117bbf0d3c 15/44: abcl: fix for abcl-1.8.0, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 8f166c4149 18/44: Align compilation artifact paths in swank-loader with ASDF,
ELPA Syncer <=
- [nongnu] elpa/slime 31c5449848 20/44: Fix build under SBCL, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime d5b8da7ce1 21/44: eliminate package variance warning on SBCL, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 65ab630434 35/44: Inspect definition: handle eql specializers., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime fcd6bccffd 25/44: clasp: new xref implementation, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 735258a26b 29/44: Handle case when there is no emacs-connection., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 1e4b7417a1 24/44: slime-definition-at-point: consider non-top level definitions., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 96de8b0baa 16/44: abcl: conditionalize use of Gray Streams, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 86f0dc306f 33/44: disassemble/inspect-definition: use the method of DEFMETHOD., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 2063445ce5 34/44: slime-in-expression-p: match symbols case-insensitively., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 6f521dd980 40/44: slime-parse-toplevel-form: move ignore-errors., ELPA Syncer, 2023/12/29