Subject: Re: bug#66660: [PATCH] Fix dns-mode-syntax-table

From: Lassi Kortela <[email-masked]>
Date: Sat, 21 Oct 2023 13:15:42 +0300

> Could you please send the patch as an attachment formatted by this
> command:
> 
>      git format-patch -1
> 
> That would save me time when installing the patch, and its easier to
> make sure I don't make any mistakes with attributing the change to you.
> 
> Please also add the bug number of this bug in the commit message, like
> so: Bug#66660.

Attached. Thank you.

From b10ec2264ce293b2fde866b712e86be44683c5c9 Mon Sep 17 00:00:00 2001
From: Lassi Kortela <[email-masked]>
Date: Sat, 21 Oct 2023 13:10:50 +0300
Subject: [PATCH] Recognize backslash in `dns-mode` quoted values

* lisp/textmodes/dns-mode.el (dns-mode-syntax-table): Recognize
backslash as an escape character.  (Bug#66660)
---
 lisp/textmodes/dns-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/textmodes/dns-mode.el b/lisp/textmodes/dns-mode.el
index 1b5f0c1..bc3fa8d 100644
--- a/lisp/textmodes/dns-mode.el
+++ b/lisp/textmodes/dns-mode.el
@@ -132,6 +132,7 @@ manually with \\[dns-mode-soa-increment-serial]."
     (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.")
 
-- 
2.36.0