[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master d437c3d 113/215: Merge pull request #81 from rocky/ipdb-co
From: |
Rocky Bernstein |
Subject: |
[elpa] master d437c3d 113/215: Merge pull request #81 from rocky/ipdb-complete |
Date: |
Sat, 30 Jul 2016 14:48:58 +0000 (UTC) |
branch: master
commit d437c3d959490fed11a6ca17ebd69e59efe3f091
Merge: 6a5c71d 949ed38
Author: R. Bernstein <address@hidden>
Commit: R. Bernstein <address@hidden>
Merge pull request #81 from rocky/ipdb-complete
Ipdb complete
---
realgud/debugger/ipdb/core.el | 2 +-
realgud/debugger/ipdb/ipdb.el | 4 ++++
test/test-ipdb.el | 1 +
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/realgud/debugger/ipdb/core.el b/realgud/debugger/ipdb/core.el
index 43a42c5..e8a1a8c 100644
--- a/realgud/debugger/ipdb/core.el
+++ b/realgud/debugger/ipdb/core.el
@@ -247,7 +247,7 @@ why we need the `bounds-of-thing-at-point')."
;; we need to change the start position to that of the current word
;; since python returns just the word (and not the whole line)
- (setq start-position (car bounds))
+ (if (car bounds) (setq start-position (car bounds)))
(list start-position
end-position
diff --git a/realgud/debugger/ipdb/ipdb.el b/realgud/debugger/ipdb/ipdb.el
index 0cc8eb7..447aeef 100644
--- a/realgud/debugger/ipdb/ipdb.el
+++ b/realgud/debugger/ipdb/ipdb.el
@@ -77,6 +77,10 @@ fringe and marginal icons.
)
(add-hook 'completion-at-point-functions
'realgud:ipdb-completion-at-point nil t)
+ (with-current-buffer cmd-buf
+ (add-hook 'completion-at-point-functions
+ 'realgud:ipdb-completion-at-point nil t)
+ )
cmd-buf)
)
diff --git a/test/test-ipdb.el b/test/test-ipdb.el
index e82e56f..77b32aa 100644
--- a/test/test-ipdb.el
+++ b/test/test-ipdb.el
@@ -23,6 +23,7 @@
(assert-equal "ipdb" debugger-name "debugger name gets passed")
(assert-equal (expand-file-name "./gcd.py") script-filename "file name
check")
(assert-equal '("3" "5") (cddr cmd-args) "command args listified")
+ (generate-new-buffer "*cmdbuf-test*")
)
(note "ipdb-parse-cmd-args")
- [elpa] master a1deb86 145/215: Show default buffer when automatically attaching, (continued)
- [elpa] master a1deb86 145/215: Show default buffer when automatically attaching, Rocky Bernstein, 2016/07/30
- [elpa] master 949ed38 110/215: fake realgud:run-process better, Rocky Bernstein, 2016/07/30
- [elpa] master b346e13 111/215: Improve completion and default value in realgud-query-cmdline, Rocky Bernstein, 2016/07/30
- [elpa] master 74ee75c 101/215: Remove stray character, Rocky Bernstein, 2016/07/30
- [elpa] master ba97f2b 126/215: Merge pull request #93 from cpitclaudel/small-fixes-in-cmds, Rocky Bernstein, 2016/07/30
- [elpa] master 0f6b10f 148/215: Add python3 shebang to fringe-utils.py, Rocky Bernstein, 2016/07/30
- [elpa] master 72c83d7 114/215: Improve command mappings in pdb-command-hash, Rocky Bernstein, 2016/07/30
- [elpa] master ff1dfe9 078/215: Change fringe arrow background colors based on dark or light background., Rocky Bernstein, 2016/07/30
- [elpa] master 45fb7cc 085/215: Add ability to have alternate group location file and line numbers., Rocky Bernstein, 2016/07/30
- [elpa] master baab01d 061/215: Merge branch 'master' of github.com:rocky/emacs-dbgr, Rocky Bernstein, 2016/07/30
- [elpa] master d437c3d 113/215: Merge pull request #81 from rocky/ipdb-complete,
Rocky Bernstein <=
- [elpa] master 5155528 105/215: Bump version, Rocky Bernstein, 2016/07/30
- [elpa] master 76cb0d4 108/215: Fix wrong setq call, Rocky Bernstein, 2016/07/30
- [elpa] master 1716c8a 109/215: Towards fixing up tab completion in ipdb., Rocky Bernstein, 2016/07/30
- [elpa] master e04eeb2 117/215: Improve eval: run on region if active, and fall back to prompting, Rocky Bernstein, 2016/07/30
- [elpa] master fd00428 118/215: Merge pull request #86 from cpitclaudel/83-improve-e-binding, Rocky Bernstein, 2016/07/30
- [elpa] master b275bd2 119/215: Improve behavior of delete, enable, and disable, Rocky Bernstein, 2016/07/30
- [elpa] master ca33520 120/215: Add a prefix arg to "continue" command, Rocky Bernstein, 2016/07/30
- [elpa] master 379528b 106/215: Disable ipdb until melpa is updated, Rocky Bernstein, 2016/07/30
- [elpa] master e049c12 124/215: Merge pull request #89 from cpitclaudel/87-improve-delete-command, Rocky Bernstein, 2016/07/30
- [elpa] master 91704f9 141/215: Automatically attach to a command buffer when enabling short-key-mode, Rocky Bernstein, 2016/07/30