emacs-elpa-diffs
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]