[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud-trepan-ni 7714b71 10/25: DRY ansi-schmutz code
From: |
Rocky Bernstein |
Subject: |
[elpa] externals/realgud-trepan-ni 7714b71 10/25: DRY ansi-schmutz code (and use it) |
Date: |
Thu, 23 May 2019 02:14:22 -0400 (EDT) |
branch: externals/realgud-trepan-ni
commit 7714b716af1c04cb9e426a1089e341e8542f7fcc
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
DRY ansi-schmutz code (and use it)
---
trepan-ni/core.el | 9 ---------
trepan-ni/main.el | 14 +++++++-------
2 files changed, 7 insertions(+), 16 deletions(-)
diff --git a/trepan-ni/core.el b/trepan-ni/core.el
index 40aa113..725e37e 100644
--- a/trepan-ni/core.el
+++ b/trepan-ni/core.el
@@ -133,15 +133,6 @@ Note that path elements have been expanded via
`expand-file-name'.
realgud:trepan-ni-minibuffer-history
"js" "\\.js$"))
-(defun realgud:trepan-ni-remove-ansi-shmutz()
- "Remove ASCII escape sequences that node.js 'decorates' in
-prompts and interactive output with"
- (add-to-list
- 'comint-preoutput-filter-functions
- (lambda (output)
- (replace-regexp-in-string "\033\\[[0-9]+[GKJ]" "" output)))
- )
-
(defun realgud:trepan-ni-reset ()
"Trepan-Ni cleanup - remove debugger's internal buffers (frame,
breakpoints, etc.)."
diff --git a/trepan-ni/main.el b/trepan-ni/main.el
index 2d4a050..fc7230d 100644
--- a/trepan-ni/main.el
+++ b/trepan-ni/main.el
@@ -71,13 +71,13 @@ fringe and marginal icons.
'trepan-ni-query-cmdline
'trepan-ni-parse-cmd-args
'realgud:trepan-ni-minibuffer-history
opt-cmd-line no-reset)))
- ;; (if cmd-buf
- ;; (with-current-buffer cmd-buf
- ;; ;; FIXME should allow customization whether to do or not
- ;; ;; and also only do if hook is not already there.
- ;; (realgud:remove-ansi-schmutz)
- ;; )
- ;; )
+ (if cmd-buf
+ (with-current-buffer cmd-buf
+ ;; FIXME should allow customization whether to do or not
+ ;; and also only do if hook is not already there.
+ (realgud:remove-ansi-schmutz)
+ )
+ )
))
(defalias 'trepan-ni 'realgud:trepan-ni)
- [elpa] branch externals/realgud-trepan-ni created (now a57fced), Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni f970328 05/25: More ignore, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 66d4e1c 02/25: trepan-ni adds more tracking that realgud can make use of, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 00cb947 03/25: trepan-ni now handles frame commands..., Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 2bf8727 06/25: Add file-line kind of tracking, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 855543b 08/25: Typo, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 2077485 09/25: track-mode bug fixes, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 7714b71 10/25: DRY ansi-schmutz code (and use it),
Rocky Bernstein <=
- [elpa] externals/realgud-trepan-ni 1c31b96 13/25: Accomodate nodejs 10, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 5131ace 12/25: node seems to now list files with a file:// prefix, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 943ec08 20/25: Merge branch 'master' of github.com:realgud/realgud-trepan-ni, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni df6bce1 04/25: Track recent trepan-ni backtrace format change, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 7dd2387 07/25: Correct acceptable debugger names in suggest parse-cmd-args, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni b9b4bf4 11/25: Track breakpoint-deleted status change, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 9b58f4f 14/25: Bump version, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 79ff234 18/25: Merge branch 'master' of github.com:realgud/realgud-trepan-ni, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 06e59a4 22/25: Small package-lint tweak, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-trepan-ni 5cb8422 19/25: Change description to match the others, Rocky Bernstein, 2019/05/23