[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud 388a650 077/140: Sync with savanah ELPA
From: |
Rocky Bernstein |
Subject: |
[elpa] externals/realgud 388a650 077/140: Sync with savanah ELPA |
Date: |
Sat, 25 May 2019 19:35:37 -0400 (EDT) |
branch: externals/realgud
commit 388a650dccdd532486d71ed04d20e3f1017e5836
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Sync with savanah ELPA
---
realgud/common/buffer/command.el | 20 +++++++++++++++
realgud/common/track.el | 1 +
test/node_modules/gcd.js/gcd.js | 47 -----------------------------------
test/node_modules/gcd.js/package.json | 12 ---------
4 files changed, 21 insertions(+), 59 deletions(-)
diff --git a/realgud/common/buffer/command.el b/realgud/common/buffer/command.el
index 89659b5..db159f8 100644
--- a/realgud/common/buffer/command.el
+++ b/realgud/common/buffer/command.el
@@ -33,6 +33,26 @@
)
(require 'cl-lib)
+(defface debugger-running
+ '((((class color) (min-colors 16) (background light))
+ (:foreground "Green4" :weight bold))
+ (((class color) (min-colors 88) (background dark))
+ (:foreground "Green1" :weight bold))
+ (((class color) (min-colors 16) (background dark))
+ (:foreground "Green" :weight bold))
+ (((class color)) (:foreground "green" :weight bold))
+ (t (:weight bold)))
+ "Face used to highlight debugger run information."
+ :group 'realgud
+ :version "24.3")
+
+(defface debugger-not-running
+ '((t :inherit font-lock-warning-face))
+ "Face used when debugger or process is not running."
+ :group 'realgud
+ :version "24.3")
+
+
(cl-defstruct realgud-cmdbuf-info
"The debugger object/structure specific to a process buffer."
debugger-name ;; Name of debugger
diff --git a/realgud/common/track.el b/realgud/common/track.el
index 73fc0f1..d081449 100644
--- a/realgud/common/track.el
+++ b/realgud/common/track.el
@@ -594,6 +594,7 @@ of the breakpoints found in command buffer."
; that struct is the regexp hash to match positions. By setting the
; the fields of realgud-cmdbuf-info appropriately we can accomodate a
; family of debuggers -- one at a time -- for the buffer process.
+
(setq cmdbuf (or cmdbuf (current-buffer)))
(with-current-buffer cmdbuf
(unless (realgud:track-complain-if-not-in-cmd-buffer cmdbuf t)
diff --git a/test/node_modules/gcd.js/gcd.js b/test/node_modules/gcd.js/gcd.js
deleted file mode 100644
index 6d7ce32..0000000
--- a/test/node_modules/gcd.js/gcd.js
+++ /dev/null
@@ -1,47 +0,0 @@
-//!/usr/bin/env node
-var util = require("util");
-require("console");
-
-function ask(question, format, callback) {
- var stdin = process.stdin, stdout = process.stdout;
-
- stdin.resume();
- stdout.write(question + ": ");
-
- stdin.once('data', function(data) {
- data = data.toString().trim();
-
- if (format.test(data)) {
- callback(data);
- } else {
- stdout.write("It should match: "+ format +"\n");
- ask(question, format, callback);
- }
- });
-}
-
-// GCD. We assume positive numbers
-function gcd(a, b) {
- // Make: a <= b
- if (a > b) {
- var temp = a;
- a = b;
- b = temp;
- }
-
- if (a <= 0) { return null };
-
- if (a == 1 || b-a == 0) {
- return a;
- }
- return gcd(b-a, a);
-}
-
-var a=24;
-
-ask("GCD of 24 and", /^\d+$/, function(b_str) {
- var b = parseInt(b_str, 10);
- console.log(util.format("The GCD of %d and %d is %d", a, b,
- gcd(a, b)));
- process.exit();
-});
diff --git a/test/node_modules/gcd.js/package.json
b/test/node_modules/gcd.js/package.json
deleted file mode 100644
index 06a4cee..0000000
--- a/test/node_modules/gcd.js/package.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "emacs-dbgr",
- "private": false,
- "version": "1.0.0",
- "description": "Debugging is going to be realgud.",
- "repository": "https://github.com/rocky/emacs-dbgr",
- "dependencies": {},
- "devDependencies": {},
- "scripts": {
- "start": "node --debug gcd.js"
- }
-}
- [elpa] externals/realgud d25fd0e 090/140: Remove pdb alias, (continued)
- [elpa] externals/realgud d25fd0e 090/140: Remove pdb alias, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 0a3befb 079/140: File remap is session specific..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud da2a74b 101/140: Merge branch 'master' of github.com:realgud/realgud, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud ad64b70 081/140: Correct testing for API change..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud dc349f8 075/140: Make calls consistent in light of changes, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud f966711 093/140: Merge pull request #217 from muffinmad/patch-1, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 251eb8c 070/140: Small changes, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 09431a4 076/140: Commit stable version before a minor upheaval, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 6d521e9 080/140: Customize compilation-find-file..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud d24996a 082/140: Administrivia Add seq to el-get..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 388a650 077/140: Sync with savanah ELPA,
Rocky Bernstein <=
- [elpa] externals/realgud f851166 089/140: Bug in kshdb initialization, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 0ea8a13 094/140: Track breakpoing deletion, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud bb967ed 096/140: Add tbreak as per break, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 555282f 084/140: TravisCI 3rd try, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 542e51c 097/140: Merge pull request #220 from MaskRay/tbreak, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 51979d2 099/140: Merge pull request #221 from MaskRay/ex, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 4bcbb89 095/140: Last commit introduced a couple of bugs, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud ba85207 103/140: Add realgud:js-file-line-loc-pat, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 9f9c772 087/140: Remove debug message, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 6706358 073/140: Add format specifier %q a la ksh..., Rocky Bernstein, 2019/05/25