all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lassi Kortela <lassi@lassi.io>
To: Stefan Kangas <stefankangas@gmail.com>, 66660@debbugs.gnu.org
Subject: bug#66660: [PATCH] Fix dns-mode-syntax-table
Date: Sat, 21 Oct 2023 13:15:42 +0300	[thread overview]
Message-ID: <76bf1e0d-c5a2-d887-8ce4-038fc6d89728@lassi.io> (raw)
In-Reply-To: <CADwFkmmhXqhDsfij5gV5pBdRgXNf__MHSi-ZN--v5yV-tzLsVQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

> 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.

[-- Attachment #2: 0001-Recognize-backslash-in-dns-mode-quoted-values.patch --]
[-- Type: text/plain, Size: 885 bytes --]

From b10ec2264ce293b2fde866b712e86be44683c5c9 Mon Sep 17 00:00:00 2001
From: Lassi Kortela <lassi@lassi.io>
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


  reply	other threads:[~2023-10-21 10:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-20 16:21 bug#66660: [PATCH] Fix dns-mode-syntax-table Lassi Kortela
2023-10-21  9:15 ` Stefan Kangas
2023-10-21  9:31   ` Lassi Kortela
2023-10-21  9:41     ` Stefan Kangas
2023-10-21  9:49       ` Lassi Kortela
2023-10-21  9:58         ` Stefan Kangas
2023-10-21 10:15           ` Lassi Kortela [this message]
2023-10-21 10:30             ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=76bf1e0d-c5a2-d887-8ce4-038fc6d89728@lassi.io \
    --to=lassi@lassi.io \
    --cc=66660@debbugs.gnu.org \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.