[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/inspector 1e11bb1336 30/93: Evaluate expression with cu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/inspector 1e11bb1336 30/93: Evaluate expression with currently inspected object as context |
Date: |
Tue, 24 May 2022 18:57:57 -0400 (EDT) |
branch: externals/inspector
commit 1e11bb13362dff5288d97bb17dfd9fe8e5b40cbe
Author: Mariano Montone <marianomontone@gmail.com>
Commit: Mariano Montone <marianomontone@gmail.com>
Evaluate expression with currently inspected object as context
---
inspector.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/inspector.el b/inspector.el
index 8ff404de22..60a183ce09 100644
--- a/inspector.el
+++ b/inspector.el
@@ -256,7 +256,8 @@ If LABEL has a value, then it is used as button label.
Otherwise, button label
(with-current-buffer buffer
(inspector-mode)
(setq buffer-read-only nil)
- (erase-buffer))
+ (erase-buffer)
+ (make-local-variable '*))
buffer))
(defun inspect-expression (exp)
@@ -273,6 +274,7 @@ When ADD-TO-HISTORY is T, OBJECT is added to inspector
history for navigation pu
(when add-to-history
(push inspector-inspected-object inspector-history))
(setq inspector-inspected-object object)
+ (setq * object)
(inspect-object object)
(setq buffer-read-only t)
(display-buffer buffer))))
@@ -320,6 +322,7 @@ When ADD-TO-HISTORY is T, OBJECT is added to inspector
history for navigation pu
(let ((map (make-keymap)))
(define-key map (kbd "q") 'inspector-quit)
(define-key map (kbd "l") 'inspector-pop)
+ (define-key map (kbd "e") 'eval-expression)
map))
(easy-menu-define
- [elpa] externals/inspector 4f9961f7bb 11/93: Truncate printed objects, (continued)
- [elpa] externals/inspector 4f9961f7bb 11/93: Truncate printed objects, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 6f47c95ea2 21/93: README, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector c0269276bc 22/93: Update README.md, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 37b54f480f 24/93: Screenshot, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 3ccaee246c 13/93: Better debugger-inspect-locals, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 77574c358f 25/93: el-get recipe, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector cd53047a49 27/93: Remove some of the warnings, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector f005f979f2 28/93: hash-table inspector, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 5d9fbcc886 14/93: Use letter 'i' to inspect debugger stack frames, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 75ac7da10e 29/93: Menu and tool bar, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 1e11bb1336 30/93: Evaluate expression with currently inspected object as context,
ELPA Syncer <=
- [elpa] externals/inspector 701f65aacb 40/93: Inspect buffer contents, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 37dc9503c8 42/93: .., ELPA Syncer, 2022/05/24
- [elpa] externals/inspector fdd7420b8d 43/93: More hash-table details, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 2e23aeae84 48/93: Inspect finalizer type, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector cbb1d1cd2b 49/93: Some basic tests for elisp data types, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 51257fb9b5 55/93: tests: overlays, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 060da36d6f 58/93: Better quit behaviour, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector 6c071c67b3 60/93: Housekeeping, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector e7f2f13ff4 75/93: Start writing ert tests, ELPA Syncer, 2022/05/24
- [elpa] externals/inspector b1d60310da 73/93: Patch by Stefan Monnier, ELPA Syncer, 2022/05/24