GNU bug report logs -
#66660
[PATCH] Fix dns-mode-syntax-table
Previous Next
Reported by: Lassi Kortela <lassi <at> lassi.io>
Date: Sat, 21 Oct 2023 06:18:01 UTC
Severity: normal
Tags: patch
Fixed in version 30.1
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 66660 <at> debbugs.gnu.org (full text, mbox):
Lassi Kortela <lassi <at> lassi.io> writes:
> Attached is a simple fix to the syntax highlighting of dns-mode.
>
> The patch highlights double-quoted strings as specified in RFC 1035.
Thanks for the patch.
Could you provide an example of something which is incorrectly
highlighted, briefly explain what is wrong before your patch, and what
your patch does? Thanks again.
> --- dns-mode.el.orig 2023-10-20 19:12:43.000000000 +0300
> +++ dns-mode.el 2023-10-20 19:13:01.000000000 +0300
> @@ -137,6 +137,8 @@
> (let ((table (make-syntax-table)))
> (modify-syntax-entry ?\; "< " table)
> (modify-syntax-entry ?\n "> " table)
> + (modify-syntax-entry ?\" "\"" table)
> + (modify-syntax-entry ?\\ "\\" table)
> table)
> "Syntax table in use in DNS master file buffers.")
>
This bug report was last modified 1 year and 214 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.