unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: "Trent W. Buck" <trentbuck@gmail.com>
Cc: 62214-done@debbugs.gnu.org
Subject: bug#62214: 28.1; dns-mode: "; " is not a comment if it appears inside "quotes"
Date: Tue, 5 Sep 2023 14:09:31 -0700	[thread overview]
Message-ID: <CADwFkm=PwG=nhkht0SS7YKNE=8tnuSty1a0=b2w=6xeXUmZnag@mail.gmail.com> (raw)
In-Reply-To: <87sfe52wvp.fsf@gmail.com> (Trent W. Buck's message of "Thu, 16 Mar 2023 14:33:30 +1100")

Version: 30.1

"Trent W. Buck" <trentbuck@gmail.com> writes:

> dns-mode doesn't know what quote marks are.
> This causes incorrect syntax highlighting in this zonefile (default.txt):
>
>     bash5$ /sbin/opendkim-genkey
>     bash5$ cat default.txt
>     default._domainkey	IN	TXT	( "v=DKIM1; h=sha256; k=rsa; "
>               "p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAo4QdBfWyv76D427ls8apBlBEVgWnU+3Z90ANwMQ8D7KjxuvKccSPTm/zCn9EZx0fr39shjFjpMrhsMY9EjQdCUrAQCnN6blOCpzV4DN9VAMrRjmtUgsWc1jmMuE35dVThkrsQK6QNlEZ0YmE53zCXyxA4R4+3AP/o4VIi9JLMlEBm0+5AwHfyIVsZstgBMVkX5pd2U7eRMa6DZ"
>               "8NWZ0W1FppSzZJFw9L/QhPE4xuatib1yjHAvKovFoVTwzESYp9ousrrwghUfAIznDtdDF00l8mpECXBs+KnYUZ7NQTClnDw15c2BXTK+AYOqcMonS9vW7/4B3cMgXbW1LpRR/p5QIDAQAB" )  ; ----- DKIM key default for localhost
>     bash5$ emacs -Q -nw default.txt -f dns-mode
>
> Does it just need (modify-syntax-entry ?" "\"" table) ???
>
> That seems to work for me.

Thanks, now fixed on master (commit c586d984f27).





      reply	other threads:[~2023-09-05 21:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-16  3:33 bug#62214: 28.1; dns-mode: "; " is not a comment if it appears inside "quotes" Trent W. Buck
2023-09-05 21:09 ` Stefan Kangas [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CADwFkm=PwG=nhkht0SS7YKNE=8tnuSty1a0=b2w=6xeXUmZnag@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=62214-done@debbugs.gnu.org \
    --cc=trentbuck@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).