GNU bug report logs - #39981
[PATCH] compilation-error-regexp-alist-alist: Support gulp.js

Previous Next

Package: emacs;

Reported by: Štěpán Němec <stepnem <at> gmail.com>

Date: Sun, 8 Mar 2020 09:14:02 UTC

Severity: normal

Tags: patch

Done: Štěpán Němec <stepnem <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Štěpán Němec
 <stepnem <at> gmail.com>
Subject: bug#39981: closed (Re: #39981: [PATCH] compilation-error-regexp-alist-alist:
 Support gulp.js)
Date: Sun, 08 Mar 2020 22:10:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#39981: [PATCH] compilation-error-regexp-alist-alist: Support gulp.js

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 39981 <at> debbugs.gnu.org.

-- 
39981: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39981
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Štěpán Němec <stepnem <at> gmail.com>
To: 39981-done <at> debbugs.gnu.org
Subject: Re: #39981: [PATCH] compilation-error-regexp-alist-alist: Support
 gulp.js
Date: Sun, 08 Mar 2020 23:10:02 +0100
False alarm; no Emacs action necessary.

-- 
Štěpán

[Message part 3 (message/rfc822, inline)]
From: Štěpán Němec <stepnem <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] compilation-error-regexp-alist-alist: Support gulp.js
Date: Sun,  8 Mar 2020 10:13:40 +0100
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Add support for gulp.js (<https://gulpjs.com/>) error format.
---
 lisp/progmodes/compile.el            | 4 ++++
 test/lisp/progmodes/compile-tests.el | 5 ++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 455f181f50..c2b7fb7e7b 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -249,6 +249,10 @@ compilation-error-regexp-alist-alist
        "(\\([0-9]+\\), *\\([0-9]+\\))")     ;line, column
      2 3 4 (1))
 
+    ;; https://gulpjs.com/
+    (gulp
+     "^\\(/.+\\)\n *\\([0-9]+\\):\\([0-9]+\\) +error " 1 2 3)
+
     (iar
      "^\"\\(.*\\)\",\\([0-9]+\\)\\s-+\\(?:Error\\|Warnin\\(g\\)\\)\\[[0-9]+\\]:"
      1 2 nil (3))
diff --git a/test/lisp/progmodes/compile-tests.el b/test/lisp/progmodes/compile-tests.el
index 75962566f1..57cbb2dcb0 100644
--- a/test/lisp/progmodes/compile-tests.el
+++ b/test/lisp/progmodes/compile-tests.el
@@ -138,6 +138,9 @@ compile-tests--test-regexps-data
      1 nil 10 "arrayclash.f")
     ("Nonportable usage near line 31 col 9 file assign.f: mixed default and explicit"
      24 9 31 "assign.f")
+    ;; https://gulpjs.com/
+    ("/home/user/directory/path/to/some/file.js\n  39:25  error  Extra semicolon  semi"
+     1 25 39 "/home/user/directory/path/to/some/file.js")
     ;; iar
     ("\"foo.c\",3  Error[32]: Error message"
      1 nil 3 "foo.c")
@@ -431,7 +434,7 @@ compile-test-error-regexps
           (compilation-num-warnings-found 0)
           (compilation-num-infos-found 0))
       (mapc #'compile--test-error-line compile-tests--test-regexps-data)
-      (should (eq compilation-num-errors-found 93))
+      (should (eq compilation-num-errors-found 94))
       (should (eq compilation-num-warnings-found 36))
       (should (eq compilation-num-infos-found 26)))))
 
-- 
2.25.1




This bug report was last modified 5 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.