GNU bug report logs - #69714
30.0.50; ert-font-lock doesn't handle list of faces

Previous Next

Package: emacs;

Reported by: Troy Brown <brownts <at> troybrown.dev>

Date: Sun, 10 Mar 2024 20:33:02 UTC

Severity: normal

Found in version 30.0.50

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: Vladimir Kazanov <vekazanov <at> gmail.com>
To: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 69714 <at> debbugs.gnu.org
Subject: bug#69714: [PATCH] Improve ert-font-lock assertion parser
Date: Mon, 1 Apr 2024 09:34:50 +0100
[Message part 1 (text/plain, inline)]
>   (rx "("
>       (* whitespace)
>       (? (regexp ert-font-lock--face-symbol-re)
>          (* (+ whitespace)
>             (regexp ert-font-lock--face-symbol-re))
>          (* whitespace))
>       ")")
>
> instead. Not as pretty but should actually work.
>

Yeah, somewhat cleaner. Added to the patch.

Not sure using rx-define et al makes sense for 3 regular expressions I
need to test directly.

Here's patch v2.

--
Regards,

Vladimir Kazanov
[v2-0001-Fix-symbol-list-matching-regexps.patch (application/x-patch, attachment)]

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

Previous Next


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