From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#18405: bug#28311: 25.2; Improve syntax highlighting in bat-mode Date: Fri, 22 Sep 2017 13:01:03 -0400 Message-ID: <8epoaik6r4.fsf@fencepost.gnu.org> References: <87wp5jr100.fsf@Rainer.invalid> <83fubedf2f.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1506099736 30497 195.159.176.226 (22 Sep 2017 17:02:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 22 Sep 2017 17:02:16 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 28311@debbugs.gnu.org, Achim Gratz , Anders Lindgren , 18405@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 22 19:02:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvRL7-0007aR-69 for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Sep 2017 19:02:09 +0200 Original-Received: from localhost ([::1]:60241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvRLE-0007xh-Lh for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Sep 2017 13:02:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvRL2-0007ti-DK for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2017 13:02:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvRL1-0003iG-24 for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2017 13:02:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dvRL0-0003hq-Up for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2017 13:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dvRL0-0000fw-Hm for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2017 13:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Sep 2017 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18405 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18405-submit@debbugs.gnu.org id=B18405.15060997032562 (code B ref 18405); Fri, 22 Sep 2017 17:02:02 +0000 Original-Received: (at 18405) by debbugs.gnu.org; 22 Sep 2017 17:01:43 +0000 Original-Received: from localhost ([127.0.0.1]:53126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvRKg-0000fG-In for submit@debbugs.gnu.org; Fri, 22 Sep 2017 13:01:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvRKf-0000ew-EL for 18405@debbugs.gnu.org; Fri, 22 Sep 2017 13:01:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvRKZ-0003Rr-4x for 18405@debbugs.gnu.org; Fri, 22 Sep 2017 13:01:36 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvRK4-0002gB-GA; Fri, 22 Sep 2017 13:01:04 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dvRK3-0003SW-Nv; Fri, 22 Sep 2017 13:01:03 -0400 X-Spook: Suspicious substance Sarin BLU-97 A/B Small Pox E. Coli X-Ran: eD}Q|B3lx{$*0E(_Y[d{0|pU`}Q9Oqn%{_zV*5kSz;b;|%pj,(Q|EYv!Q!U%q2?l?e[7#y X-Hue: blue X-Attribution: GM In-Reply-To: <83fubedf2f.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 Sep 2017 16:43:20 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137245 Archived-At: Running 5 tests (2017-09-22 09:57:54-0700) passed 1/5 bat-test-fill-paragraph-comment hfy batch mode ( *temp*-973592:bat-mode) Test bat-test-fontification-iter-var-1 backtrace: signal(ert-test-failed (((should (equal (bat-test-fontify "echo %%a\ ert-fail(((should (equal (bat-test-fontify "echo %%a\necho %%~dp1\ne (if (unwind-protect (setq value-17 (apply fn-15 args-16)) (setq form (let (form-description-19) (if (unwind-protect (setq value-17 (apply (let ((value-17 'ert-form-evaluation-aborted-18)) (let (form-descrip (let* ((fn-15 (function equal)) (args-16 (condition-case err (let (( (closure (t) nil (let* ((fn-15 (function equal)) (args-16 (condition ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name bat-test-fontification-iter-var-1 :do ert-run-or-rerun-test(#s(ert--stats :selector t :tests [#s(ert-test ert-run-tests(t #f(compiled-function (event-type &rest event-args) # ert-run-tests-batch(nil) ert-run-tests-batch-and-exit(nil) eval((ert-run-tests-batch-and-exit nil)) command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/bat-mode-t command-line() normal-top-level() Test bat-test-fontification-iter-var-1 condition: (ert-test-failed ((should (equal (bat-test-fontify "echo %%a echo %%~dp1 echo %%~$PATH:I") "echo %%a echo %%~dp1 echo %%~$PATH:I")) :form (equal #("echo %%a echo %%~dp1 echo %%~$PATH:I" 22 26 (face font-lock-builtin-face) 64 65 (face font-lock-variable-name-face) 95 99 (face font-lock-builtin-face) 137 141 (face font-lock-variable-name-face) 171 175 (face font-lock-builtin-face) 213 221 (face font-lock-variable-name-face)) "echo %%a echo %%~dp1 echo %%~$PATH:I") :value nil :explanation (arrays-of-different-length 228 263 #("echo %%a echo %%~dp1 echo %%~$PATH:I" 22 26 (face font-lock-builtin-face) 64 65 (face font-lock-variable-name-face) 95 99 (face font-lock-builtin-face) 137 141 (face font-lock-variable-name-face) 171 175 (face font-lock-builtin-face) 213 221 (face font-lock-variable-name-face)) "echo %%a echo %%~dp1 echo %%~$PATH:I" first-mismatch-at 109))) FAILED 2/5 bat-test-fontification-iter-var-1 hfy batch mode ( *temp*-454955:bat-mode) passed 3/5 bat-test-fontification-var-decl hfy batch mode ( *temp*-493544:bat-mode) passed 4/5 bat-test-fontification-var-delayed-exp hfy batch mode ( *temp*-832943:bat-mode) passed 5/5 bat-test-fontification-var-exp Ran 5 tests, 4 results as expected, 1 unexpected (2017-09-22 09:57:54-0700) 1 unexpected results: FAILED bat-test-fontification-iter-var-1