GNU bug report logs - #55944
[PATCH] Fix dns-mode-font-lock-keywords

Previous Next

Package: emacs;

Reported by: Lassi Kortela <lassi <at> lassi.io>

Date: Mon, 13 Jun 2022 14:21:02 UTC

Severity: normal

Tags: patch

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lassi Kortela <lassi <at> lassi.io>
To: 55944 <at> debbugs.gnu.org
Subject: bug#55944: [PATCH] Fix dns-mode-font-lock-keywords
Date: Mon, 13 Jun 2022 13:58:08 +0300
[Message part 1 (text/plain, inline)]
Attached is a simple fix to the syntax highlighting of dns-mode.

For example, IN and SOA are reserved words. Instead of highlighting only 
the full words IN and SOA, dns-mode would highlight any word that has IN 
or SOA as a substring. This patch fixes the use of regexp-opt such that 
reserved words are only highlighted when they are full words.
[dns-mode-font-lock-keywords.patch (text/plain, attachment)]

This bug report was last modified 2 years and 343 days ago.

Previous Next


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