* bug#62214: 28.1; dns-mode: "; " is not a comment if it appears inside "quotes"
@ 2023-03-16 3:33 Trent W. Buck
2023-09-05 21:09 ` Stefan Kangas
0 siblings, 1 reply; 2+ messages in thread
From: Trent W. Buck @ 2023-03-16 3:33 UTC (permalink / raw)
To: 62214
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#62214: 28.1; dns-mode: "; " is not a comment if it appears inside "quotes"
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
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2023-09-05 21:09 UTC (permalink / raw)
To: Trent W. Buck; +Cc: 62214-done
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).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-05 21:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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).