[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud e47abfb 044/140: Merge pull request #197 from j
From: |
Rocky Bernstein |
Subject: |
[elpa] externals/realgud e47abfb 044/140: Merge pull request #197 from jodonnell/eval-command |
Date: |
Sat, 25 May 2019 19:35:29 -0400 (EDT) |
branch: externals/realgud
commit e47abfbede7cc49aa6939117dfae49d860849a3a
Merge: 4babac3 f20f1e3
Author: R. Bernstein <address@hidden>
Commit: GitHub <address@hidden>
Merge pull request #197 from jodonnell/eval-command
change E to put the thing at point in the read string
---
realgud/common/cmds.el | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/realgud/common/cmds.el b/realgud/common/cmds.el
index 06a202f..9c7f88f 100644
--- a/realgud/common/cmds.el
+++ b/realgud/common/cmds.el
@@ -16,6 +16,7 @@
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(require 'load-relative)
+(require 'thingatpt)
(require-relative-list '("send" "core") "realgud-")
(require-relative-list '("buffer/command") "realgud-buffer-")
(require-relative-list '("buffer/source") "realgud-buffer-")
@@ -291,7 +292,14 @@ EVENT should be a mouse click on the left fringe or
margin."
(defun realgud:cmd-eval-at-point()
"Eval symbol under point."
(interactive)
- (realgud:cmd-run-command (thing-at-point 'symbol) "eval"))
+
+ (beginning-of-thing 'symbol)
+ (set-mark-command 'nil)
+ (end-of-thing 'symbol)
+
+ (realgud:cmd-run-command
+ (read-string "Eval: " (thing-at-point 'symbol))
+ "eval"))
(defun realgud:cmd-finish(&optional arg)
"Run until the completion of the current stack frame.
- [elpa] externals/realgud 2295d94 024/140: making eval print to the message area, (continued)
- [elpa] externals/realgud 2295d94 024/140: making eval print to the message area, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 83d471f 008/140: return the set of features removed, in realgud:unload-features(), Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud f41b7a7 017/140: When a breakpoint is seen, add source..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 1f59502 021/140: Merge pull request #192 from dvzubarev/master, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud da2f39d 011/140: Improve Debugger Info org-mode buffer, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud ecc78f1 012/140: Fix up breakpoint display, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 4a7f6ef 019/140: Fix infinite loop in realgud:backtrace-init, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 081f7ed 018/140: Expand script path where appropriate, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 1180d9f 028/140: add eval at point and bind it to E in shortkey mode, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud f20f1e3 043/140: change E to put the thing at point in the eval buffer, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud e47abfb 044/140: Merge pull request #197 from jodonnell/eval-command,
Rocky Bernstein <=
- [elpa] externals/realgud ce45b16 025/140: making join string not emacs 25 only, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud dc0e131 031/140: Guard against nil (realgud:get-command-name "eval"), Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud c64a4fd 039/140: Merge branch 'print', Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 2327213 026/140: adding tests for print to message area, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 7242eea 048/140: whitespace, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 7cc1230 047/140: extract method for breakpoint stuff in realgud:track-from-region, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud aa933eb 038/140: Merge pull request #194 from jodonnell/print, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 2fad0c4 020/140: Add test case for an error when realgud:backtrace-init is hanging at startup, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 59b2563 023/140: Add gdb "delete" template, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud d9a3a92 046/140: Administrivia, Rocky Bernstein, 2019/05/25