[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 73483ba 1/8: Preparation for MELPA release
From: |
Rocky Bernstein |
Subject: |
[elpa] master 73483ba 1/8: Preparation for MELPA release |
Date: |
Mon, 20 May 2019 07:33:32 -0400 (EDT) |
branch: master
commit 73483bade33caa49f06a570b6c2e928e9632cfac
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Preparation for MELPA release
---
README.md | 4 ++--
common.mk | 2 +-
node-inspect/core.el | 17 +++++++++--------
node-inspect/init.el | 6 +++---
node-inspect/main.el | 11 +++++------
realgud-node-inspect.el | 10 +++++++---
test/test-node-inspect.el | 2 +-
7 files changed, 28 insertions(+), 24 deletions(-)
diff --git a/README.md b/README.md
index 0c4a5ff..5ab2126 100644
--- a/README.md
+++ b/README.md
@@ -2,5 +2,5 @@ Module to add [node
inspect](https://nodejs.org/api/debugger.html)'s [V8-inspect
debugger support to emacs
[realgud](http://github.com/realgud/realgud).
-For node before version 6.3, an older protocol is used. In realgud,
-that debugger for the older version is called node-debug.
+Note: for node before version 6.3, an older protocol is used. In realgud,
+that debugger for the older version is called `node-debug`.
diff --git a/common.mk b/common.mk
index ac10f31..36fbedc 100644
--- a/common.mk
+++ b/common.mk
@@ -1,5 +1,5 @@
MOSTLYCLEANFILES = *.elc
-EMACSLOADPATH=:/home/rocky/.emacs.d/elpa/test-simple-20170527.832/:/home/rocky/.emacs.d/elpa/realgud-20180207.1330/
+EMACSLOADPATH=:/home/rocky/.emacs.d/elpa/test-simple-20170527.1532/:/home/rocky/.emacs.d/elpa/realgud-20190504.1238/:/home/rocky/.emacs.d/elpa/load-relative-20170526.1010/:/home/rocky/.emacs.d/elpa/loc-changes-20160801.1708/
short:
$(MAKE) 2>&1 >/dev/null | ruby $(top_srcdir)/make-check-filter.rb
diff --git a/node-inspect/core.el b/node-inspect/core.el
index b3a13f1..d13f644 100644
--- a/node-inspect/core.el
+++ b/node-inspect/core.el
@@ -1,4 +1,4 @@
-;;; Copyright (C) 2015-2018 Rocky Bernstein <address@hidden>
+;;; Copyright (C) 2015-2019 Rocky Bernstein <address@hidden>
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
@@ -31,7 +31,7 @@
;; FIXME: I think the following could be generalized and moved to
;; realgud-... probably via a macro.
(defvar realgud:node-inspect-minibuffer-history nil
- "minibuffer history list for the command `node-inspect'.")
+ "Minibuffer history list for the command `node-inspect'.")
(easy-mmode-defmap realgud:node-inspect-minibuffer-local-map
'(("\C-i" . comint-dynamic-complete-filename))
@@ -54,7 +54,8 @@
ORIG-ARGS should contain a tokenized list of the command line to run.
We return the a list containing
-* the name of the debugger given (e.g. node-inspect) and its arguments - a
list of strings
+* the name of the debugger given (e.g. node-inspect) and its arguments ,
+ a list of strings
* the script name and its arguments - list of strings
For example for the following input:
@@ -62,10 +63,10 @@ For example for the following input:
'(node --interactive --debugger-port 5858 /tmp node-inspect ./gcd.js a b))
we might return:
- ((\"node\" \"--interactive\" \"--debugger-port\" \"5858\") nil
(\"/tmp/gcd.js\" \"a\" \"b\"))
+ ((\"node\" \"--interactive\" \"--debugger-port\" \"5858\") nil
+ (\"/tmp/gcd.js\" \"a\" \"b\"))
-Note that path elements have been expanded via `expand-file-name'.
-"
+Note that path elements have been expanded via `expand-file-name'."
;; Parse the following kind of pattern:
;; node node-inspect-options script-name script-options
@@ -128,14 +129,14 @@ Note that path elements have been expanded via
`expand-file-name'.
(defvar realgud:node-inspect-command-name)
(defun realgud:node-inspect-suggest-invocation (debugger-name)
- "Suggest a node-inspect command invocation via `realgud-suggest-invocaton'"
+ "Suggest a node-inspect command invocation via `realgud-suggest-invocaton'."
(realgud-suggest-invocation realgud:node-inspect-command-name
realgud:node-inspect-minibuffer-history
"js" "\\.js$"))
(defun realgud:node-inspect-remove-ansi-shmutz()
"Remove ASCII escape sequences that node.js 'decorates' in
-prompts and interactive output with"
+prompts and interactive output."
(add-to-list
'comint-preoutput-filter-functions
(lambda (output)
diff --git a/node-inspect/init.el b/node-inspect/init.el
index 0120e52..5d2cf71 100644
--- a/node-inspect/init.el
+++ b/node-inspect/init.el
@@ -1,4 +1,4 @@
-;; Copyright (C) 2015-2016, 2018 Rocky Bernstein <address@hidden>
+;; Copyright (C) 2015-2016, 2018-2019 Rocky Bernstein <address@hidden>
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -112,7 +112,7 @@ realgud-loc-pat struct")
:line-group 3
:char-offset-group 4))
-(defconst realgud:node-inspect-debugger-name "node-inspect" "Name of debugger")
+(defconst realgud:node-inspect-debugger-name "node-inspect" "Name of
debugger.")
;; ;; Regular expression that for a termination message.
;; (setf (gethash "termination" realgud:node-inspect-pat-hash)
@@ -151,7 +151,7 @@ realgud-loc-pat struct")
(defvar realgud:node-inspect-command-hash (make-hash-table :test 'equal)
"Hash key is command name like 'finish' and the value is
- the node-inspect command to use, like 'out'")
+the node-inspect command to use, like 'out'.")
(setf (gethash realgud:node-inspect-debugger-name
realgud-command-hash)
diff --git a/node-inspect/main.el b/node-inspect/main.el
index d62bd24..d511886 100644
--- a/node-inspect/main.el
+++ b/node-inspect/main.el
@@ -1,4 +1,4 @@
-;; Copyright (C) 2016, 2018 Rocky Bernstein
+;; Copyright (C) 2016, 2018-2019 Rocky Bernstein
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -53,18 +53,17 @@ This should be an executable on your path, or an absolute
file name."
String OPT-CMD-LINE specifies how to run node-inspect.
OPT-CMD-LINE is treated like a shell string; arguments are
-tokenized by `split-string-and-unquote'. The tokenized string is
+tokenized by `split-string-and-unquote'. The tokenized string is
parsed by `node-inspect-parse-cmd-args' and path elements found by that
are expanded using `realgud:expand-file-name-if-exists'.
Normally, command buffers are reused when the same debugger is
-reinvoked inside a command buffer with a similar command. If we
+reinvoked inside a command buffer with a similar command. If we
discover that the buffer has prior command-buffer information and
NO-RESET is nil, then that information which may point into other
buffers and source buffers which may contain marks and fringe or
-marginal icons is reset. See `loc-changes-clear-buffer' to clear
-fringe and marginal icons.
-"
+marginal icons is reset. See `loc-changes-clear-buffer' to clear
+fringe and marginal icons."
(interactive)
(let ((cmd-buf
(realgud:run-debugger "node-inspect"
diff --git a/realgud-node-inspect.el b/realgud-node-inspect.el
index bd7f39f..6afe039 100644
--- a/realgud-node-inspect.el
+++ b/realgud-node-inspect.el
@@ -1,13 +1,13 @@
;;; realgud-node-inspect.el --- realgud front-end to newer "node inspect"
;; Author: Rocky Bernstein
-;; Version: 1.0
+;; Version: 1.0.0
;; Package-Type: multi
-;; Package-Requires: ((realgud "1.4.3") (cl-lib "0.5") (emacs "24"))
+;; Package-Requires: ((realgud "1.4.5") (load-relative "1.2") (cl-lib "0.5")
(emacs "24"))
;; URL: http://github.com/realgud/realgud-node-inspect
;; Compatibility: GNU Emacs 24.x
-;; Copyright (C) 2015, 2016, 2018 Rocky Bernstein <address@hidden>
+;; Copyright (C) 2015, 2016, 2018-2019 Rocky Bernstein <address@hidden>
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -27,6 +27,10 @@
;; realgud support for the "node inspect" with V8 inspector support.
;; See https://nodejs.org/api/debugger.html
;;
+;; Note: for node before version 6.3, an older protocol is used. In
+;; realgud, that debugger for the older version is called
+;; `node-debug`.
+;;
;;; Code:
;; Press C-x C-e at the end of the next line configure the program in
diff --git a/test/test-node-inspect.el b/test/test-node-inspect.el
index 659b9ad..e617869 100644
--- a/test/test-node-inspect.el
+++ b/test/test-node-inspect.el
@@ -25,7 +25,7 @@
))
(note "nodejs-parse-cmd-args")
-(assert-equal (list '("node" "inspect") nil '("foo"))
+(assert-equal (list '(("node") nil ("inspect" "foo"))
(nodejs-parse-cmd-args '("node" "inspect" "foo")))
;; FIXME: need to mock remove-ansi-schmutz in realgud:nodejs
- [elpa] master updated (c32288b -> 0d00b35), Rocky Bernstein, 2019/05/20
- [elpa] master fe811c0 5/8: Fix up some backtrace regexps, Rocky Bernstein, 2019/05/20
- [elpa] master 6d57325 4/8: Add info-breakpoint; track loc regexp changes, Rocky Bernstein, 2019/05/20
- [elpa] master b6c898d 6/8: Small new package-lint thing., Rocky Bernstein, 2019/05/20
- [elpa] master 73483ba 1/8: Preparation for MELPA release,
Rocky Bernstein <=
- [elpa] master 1cec9ae 7/8: Copyright to FSF, Rocky Bernstein, 2019/05/20
- [elpa] master 32817fe 2/8: node-inspect -> realgud-node-inspect ..., Rocky Bernstein, 2019/05/20
- [elpa] master 50926ec 3/8: Add realgud:js-goto-file-line, Rocky Bernstein, 2019/05/20
- [elpa] master 0d00b35 8/8: Add 'packages/realgud-node-inspect/' from commit '1cec9aecba5d31dfa419d7e73a38f101c3447a21', Rocky Bernstein, 2019/05/20