[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 4208a33 010/215: Fix logic for finding region to work on i
From: |
Rocky Bernstein |
Subject: |
[elpa] master 4208a33 010/215: Fix logic for finding region to work on in tracking |
Date: |
Sat, 30 Jul 2016 14:48:48 +0000 (UTC) |
branch: master
commit 4208a33eb39e5ddc53a1aae54c3149ce9be6a939
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Fix logic for finding region to work on in tracking
Possibly fixes issue #40.
---
realgud/common/eval.el | 1 +
realgud/common/track.el | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/copyright_exceptions b/copyright_exceptions
new file mode 100644
index 0000000..e69de29
diff --git a/realgud/common/eval.el b/realgud/common/eval.el
index 1ba52a4..67bedb4 100644
--- a/realgud/common/eval.el
+++ b/realgud/common/eval.el
@@ -73,6 +73,7 @@ This function must return nil if it doesn't handle EVENT."
(set-marker (process-mark process) (point)))
(setq comint-last-output-start
(setq realgud-last-output-start (process-mark process)))
+ (realgud-track-mode-setup 't)
(tooltip-show (realgud:eval-strip process output-str))
)
diff --git a/realgud/common/track.el b/realgud/common/track.el
index eddc4be..1c40ba8 100644
--- a/realgud/common/track.el
+++ b/realgud/common/track.el
@@ -101,7 +101,7 @@ marks set in buffer-local variables to extract text"
(cmdbuf-last-output-end
(realgud-cmdbuf-info-last-input-end realgud-cmdbuf-info))
(last-output-end (process-mark curr-proc))
- (last-output-start (max comint-last-input-end
+ (last-output-start (max comint-last-input-start
(- last-output-end
realgud-track-char-range))))
;; Sometimes we get called twice and the second time nothing
;; changes. Guard against this.
- [elpa] master updated (5f5f2bb -> 8edfb04), Rocky Bernstein, 2016/07/30
- [elpa] master fc84e01 002/215: In pdb, for to evaluate an expression use "p", Rocky Bernstein, 2016/07/30
- [elpa] master 015358a 001/215: Experimental: mouse2 runs eval, Rocky Bernstein, 2016/07/30
- [elpa] master 1994f09 004/215: Move test helper into test, Rocky Bernstein, 2016/07/30
- [elpa] master f153e3f 008/215: gdb's "eval" is "print"., Rocky Bernstein, 2016/07/30
- [elpa] master f71fd11 003/215: Remove another warning, Rocky Bernstein, 2016/07/30
- [elpa] master 7be15d2 011/215: Try to fix travis #2, Rocky Bernstein, 2016/07/30
- [elpa] master 4208a33 010/215: Fix logic for finding region to work on in tracking,
Rocky Bernstein <=
- [elpa] master f55c074 018/215: Fix downcase., Rocky Bernstein, 2016/07/30
- [elpa] master 2f66cb0 007/215: Make realugd:process-filter-save buffer local, Rocky Bernstein, 2016/07/30
- [elpa] master 3e9e1ac 005/215: Work on filtering eval output, Rocky Bernstein, 2016/07/30
- [elpa] master b7adbc0 019/215: DRY Comment no longer relvant, Rocky Bernstein, 2016/07/30
- [elpa] master 1924ded 012/215: Try to fix travis #3, Rocky Bernstein, 2016/07/30
- [elpa] master 67ccb9c 009/215: Reassign copyright to FSF in recently change files, Rocky Bernstein, 2016/07/30
- [elpa] master 6e2a612 017/215: Need more stringent cmdbuf setup, Rocky Bernstein, 2016/07/30
- [elpa] master a02f3cd 006/215: Bind RET in shortkey to repeat-last; add FSF (C), Rocky Bernstein, 2016/07/30
- [elpa] master 345c67c 014/215: eval.el: issue #40, Rocky Bernstein, 2016/07/30
- [elpa] master 9e2656a 029/215: Correct nodejs/init.el bugs - sync with master, Rocky Bernstein, 2016/07/30