all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#66660: [PATCH] Fix dns-mode-syntax-table
@ 2023-10-20 16:21 Lassi Kortela
  2023-10-21  9:15 ` Stefan Kangas
  0 siblings, 1 reply; 8+ messages in thread
From: Lassi Kortela @ 2023-10-20 16:21 UTC (permalink / raw)
  To: 66660

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-21 10:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2023-10-21 10:30             ` Stefan Kangas

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.