all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lassi Kortela <lassi@lassi.io>
To: 66660@debbugs.gnu.org
Subject: bug#66660: [PATCH] Fix dns-mode-syntax-table
Date: Fri, 20 Oct 2023 19:21:11 +0300	[thread overview]
Message-ID: <1b01f320-b951-f77c-9355-38f3deb54a91@lassi.io> (raw)

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

Attached is a simple fix to the syntax highlighting of dns-mode.

The patch highlights double-quoted strings as specified in RFC 1035.	

[-- Attachment #2: dns-mode-syntax-table.patch --]
[-- Type: text/plain, Size: 407 bytes --]

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

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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-20 16:21 Lassi Kortela [this message]
2023-10-21  9:15 ` bug#66660: [PATCH] Fix dns-mode-syntax-table 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
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=1b01f320-b951-f77c-9355-38f3deb54a91@lassi.io \
    --to=lassi@lassi.io \
    --cc=66660@debbugs.gnu.org \
    /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.