GNU bug report logs -
#55944
[PATCH] Fix dns-mode-font-lock-keywords
Previous Next
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
Lassi Kortela <lassi <at> lassi.io> writes:
> 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.
Thanks; pushed to Emacs 29.
This change was small enough to apply without assigning copyright to the
FSF, but for future patches you want to submit, it might make sense to
get the paperwork started now, so that subsequent patches can be applied
speedily. Would you be willing to sign such paperwork?
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.