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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/realgud b8b587b 109/140: ipdb need ANSI schmutz removed


From: Rocky Bernstein
Subject: [elpa] externals/realgud b8b587b 109/140: ipdb need ANSI schmutz removed...
Date: Sat, 25 May 2019 19:35:43 -0400 (EDT)

branch: externals/realgud
commit b8b587be28e15b3a053482ff9848d4259e40f13d
Author: rocky <address@hidden>
Commit: rocky <address@hidden>

    ipdb need ANSI schmutz removed...
    
    And it looks like ipdb adds some new kind of ANSI schmutz
---
 realgud/common/utils.el             | 4 ++--
 realgud/debugger/ipdb/track-mode.el | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/realgud/common/utils.el b/realgud/common/utils.el
index ff6106d..25629c8 100644
--- a/realgud/common/utils.el
+++ b/realgud/common/utils.el
@@ -1,4 +1,4 @@
-;; Copyright (C) 2016-2017 Free Software Foundation, Inc
+;; Copyright (C) 2016-2018 Free Software Foundation, Inc
 
 ;; Author: Rocky Bernstein <address@hidden>
 
@@ -60,7 +60,7 @@ prompts and interactive output with"
   (add-to-list
    'comint-preoutput-filter-functions
    (lambda (output)
-     (replace-regexp-in-string "\033\\[[0-9]*[GKJhl]" "" output)))
+     (replace-regexp-in-string "\033\\[[0-9]*[CDGKJhl]" "" output)))
   )
 
 
diff --git a/realgud/debugger/ipdb/track-mode.el 
b/realgud/debugger/ipdb/track-mode.el
index b723a07..3620326 100644
--- a/realgud/debugger/ipdb/track-mode.el
+++ b/realgud/debugger/ipdb/track-mode.el
@@ -1,4 +1,4 @@
-;; Copyright (C) 2016 Free Software Foundation, Inc
+;; Copyright (C) 2016, 2018 Free Software Foundation, Inc
 
 ;; Author: Rocky Bernstein <address@hidden>
 ;; Author: Sean Farley <address@hidden>
@@ -23,6 +23,7 @@
                          "../../common/menu"
                          "../../common/track"
                          "../../common/track-mode"
+                        "../../common/utils"
                          )
                        "realgud-")
 (require-relative-list '("core" "init") "realgud:ipdb-")
@@ -41,6 +42,7 @@
   (if ipdb-track-mode
       (progn
         (use-local-map ipdb-track-mode-map)
+       (realgud:remove-ansi-schmutz)
         (add-hook 'completion-at-point-functions
                   'realgud:ipdb-completion-at-point nil t)
         (message "using ipdb mode map")



reply via email to

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