GNU bug report logs - #67460
[PATCH] Add ert-font-lock

Previous Next

Package: emacs;

Reported by: Vladimir Kazanov <vekazanov <at> gmail.com>

Date: Sun, 26 Nov 2023 18:49:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

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: Vladimir Kazanov <vekazanov <at> gmail.com>
Subject: bug#67460: closed (Re: bug#67460: [PATCH] Add ert-font-lock)
Date: Sun, 03 Dec 2023 13:20:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#67460: [PATCH] Add ert-font-lock

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 67460 <at> debbugs.gnu.org.

-- 
67460: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67460
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Vladimir Kazanov <vekazanov <at> gmail.com>
Cc: 67460-done <at> debbugs.gnu.org
Subject: Re: bug#67460: [PATCH] Add ert-font-lock
Date: Sun, 03 Dec 2023 15:19:17 +0200
> From: Vladimir Kazanov <vekazanov <at> gmail.com>
> Date: Sun, 3 Dec 2023 09:51:43 +0000
> Cc: 67460 <at> debbugs.gnu.org
> 
> Thanks for looking into this!
> 
> Note to myself: I need to make byte-compiling into a habit. Anyway,
> warnings fixed, here's the updated patch.

Thanks, installed on the master branch, and closing the bug.

[Message part 3 (message/rfc822, inline)]
From: Vladimir Kazanov <vekazanov <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Add ert-font-lock
Date: Sun, 26 Nov 2023 18:47:30 +0000
[Message part 4 (text/plain, inline)]
As suggested in emacs-devel@ [1], this patch adds ert-lont-lock.el to
Emacs. Ert-font-lock is an extension to ERT providing an easy way to
check font faces either in inline strings or resource files.

The assertion syntax is based on Tree-sitter's syntax highlighter unit
tests [2]. This makes it easy to port existing tree-sitter grammar
tests to support both new-style ts-based major modes and the
traditional ones.

[1] https://lists.gnu.org/archive/html/emacs-devel/2023-11/msg00867.html
[2] https://tree-sitter.github.io/tree-sitter/syntax-highlighting#unit-testing
-- 
Regards,

Vladimir Kazanov
[0001-Add-ert-font-lock.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 169 days ago.

Previous Next


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