[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dape 77fa220765 069/123: Fix interactive commands in RE
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dape 77fa220765 069/123: Fix interactive commands in REPL #11 |
Date: |
Tue, 5 Dec 2023 03:58:01 -0500 (EST) |
branch: externals/dape
commit 77fa2207652b9900af27fe21460b1c3f28ff0ed2
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>
Fix interactive commands in REPL #11
`call-interactively' should be used for dape commands in repl
buffer. Also changed how dape-configs get filtered in non prog buffers
to accommodate using `dape` from REPL.
---
dape.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dape.el b/dape.el
index 359cc794cc..3848271218 100644
--- a/dape.el
+++ b/dape.el
@@ -2338,7 +2338,7 @@ interactively or if SELECT-BUFFER is non nil."
return value))))
(setq dape--repl-insert-text-guard t)
(comint-output-filter dummy-process "\n> ")
- (funcall cmd)
+ (call-interactively cmd)
(setq dape--repl-insert-text-guard nil))
;; Evaluate expression
((dape--stopped-threads)
@@ -2604,7 +2604,11 @@ arrays [%S ...], if meant as an object replace (%S ...)
with (:%s ...)"
(let ((modes (plist-get config 'modes)))
(or (not modes)
(apply 'provided-mode-derived-p
- major-mode (cl-map 'list 'identity modes)))))
+ major-mode (cl-map 'list 'identity modes))
+ (and (not (derived-mode-p 'prog-mode))
+ (cl-some (lambda (mode)
+ (memql mode (plist-get dape--config 'modes)))
+ modes)))))
(defun dape--read-config ()
"Read config name and options."
- [elpa] externals/dape 819d4c39f9 028/123: Keep log and expression breakpoints when removing breakpoints, (continued)
- [elpa] externals/dape 819d4c39f9 028/123: Keep log and expression breakpoints when removing breakpoints, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 907828d05e 032/123: Fix toggle breakpoint, ELPA Syncer, 2023/12/05
- [elpa] externals/dape bddc5102b5 039/123: Clarify package description, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 49909a1a39 043/123: Use presentation hits for auto expand locals scope, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 403581170c 048/123: Use header line format for info buffer, ELPA Syncer, 2023/12/05
- [elpa] externals/dape b8a69409da 049/123: Print stopped description, ELPA Syncer, 2023/12/05
- [elpa] externals/dape d6a6a2a75e 051/123: Clarify codelldb adapter example and fix typo #4, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 3a31e53782 058/123: Fix sticky breakpoint issue, ELPA Syncer, 2023/12/05
- [elpa] externals/dape a529cbea06 062/123: Fix widget rendering when adapter exited, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 3ab98f24f6 065/123: Fix typo in readme cppdbg adapter section #3, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 77fa220765 069/123: Fix interactive commands in REPL #11,
ELPA Syncer <=
- [elpa] externals/dape 4452bc68a4 085/123: Respect :expensive vars in update fetch, ELPA Syncer, 2023/12/05
- [elpa] externals/dape bec3e487f2 095/123: Send request response for runInTerminal and startDebugging, ELPA Syncer, 2023/12/05
- [elpa] externals/dape fad3c663e7 111/123: Update mode line face, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 68799e29a1 113/123: Fix screenshots in readme, ELPA Syncer, 2023/12/05
- [elpa] externals/dape af5dd1eee8 115/123: Fixup of set variables, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 204012b31e 086/123: Rework parsing, ELPA Syncer, 2023/12/05
- [elpa] externals/dape a9f68bf701 091/123: Remove pretty printing of dape--debug io prints, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 7f9700d2b6 092/123: Use prin1 formatting of objects in dape-debug, ELPA Syncer, 2023/12/05
- [elpa] externals/dape cbfebf84e3 101/123: Improve REPL usage, enable REPL without any stopped threads #15, ELPA Syncer, 2023/12/05
- [elpa] externals/dape 44544b3caf 108/123: Improve ensure fn for js-debug, ELPA Syncer, 2023/12/05