[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/slime 0cc2e73611 27/44: inspector: show array-displacement
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/slime 0cc2e73611 27/44: inspector: show array-displacement. |
Date: |
Fri, 29 Dec 2023 01:00:05 -0500 (EST) |
branch: elpa/slime
commit 0cc2e736112a0bc2a048ef6efd11dd67e3fbf7ad
Author: Stas Boukarev <stassats@gmail.com>
Commit: Stas Boukarev <stassats@gmail.com>
inspector: show array-displacement.
---
swank.lisp | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/swank.lisp b/swank.lisp
index 07af095429..be2a248c77 100644
--- a/swank.lisp
+++ b/swank.lisp
@@ -3405,9 +3405,16 @@ Return NIL if LIST is circular."
(iline "Adjustable" (adjustable-array-p array))
(iline "Fill pointer" (if (array-has-fill-pointer-p array)
(fill-pointer array)))
- (if (array-has-fill-pointer-p array)
- (emacs-inspect-vector-with-fill-pointer-aux array)
- (emacs-inspect-array-aux array))))
+ (multiple-value-bind (displaced offset) (array-displacement array)
+ (if displaced
+ (lcons* (iline "Displaced to" displaced)
+ (iline "Displaced index offset" offset)
+ (if (array-has-fill-pointer-p array)
+ (emacs-inspect-vector-with-fill-pointer-aux array)
+ (emacs-inspect-array-aux array)))
+ (if (array-has-fill-pointer-p array)
+ (emacs-inspect-vector-with-fill-pointer-aux array)
+ (emacs-inspect-array-aux array))))))
(defun emacs-inspect-array-aux (array)
(unless (= 0 (array-total-size array))
- [nongnu] elpa/slime d5b8da7ce1 21/44: eliminate package variance warning on SBCL, (continued)
- [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
- [nongnu] elpa/slime da5c14434d 14/44: Update ci.yml, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 0cc2e73611 27/44: inspector: show array-displacement.,
ELPA Syncer <=
- [nongnu] elpa/slime 46714e8eef 26/44: Fix typo in message shown when inspecting a macro, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 607fa638f1 37/44: clasp: Close temp file before compile-file, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime a924516084 32/44: Fix punctuation in docs., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 1be7fd2da0 39/44: Fix highlighting multi-line reader conditionals., ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 96e8cae607 42/44: news: update for Clasp changes, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 60cbb652c1 41/44: clasp: fix detection of serve-event module, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime dfb83b4b4f 43/44: fix HANDLER-CASE indentation, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 4349a0bbec 44/44: Merge remote-tracking branch 'refs/remotes/upstream/slime/main' into elpa--merge/slime, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 799a05f5b8 36/44: sb-mop=>swank-mop, ELPA Syncer, 2023/12/29
- [nongnu] elpa/slime 2ca97012da 38/44: slime-draw-connection-list: remove closed connections., ELPA Syncer, 2023/12/29