emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62214: closed (28.1; dns-mode: ";" is not a comment if it appears in


From: GNU bug Tracking System
Subject: bug#62214: closed (28.1; dns-mode: ";" is not a comment if it appears inside "quotes")
Date: Tue, 05 Sep 2023 21:10:01 +0000

Your message dated Tue, 5 Sep 2023 14:09:31 -0700
with message-id 
<CADwFkm=PwG=nhkht0SS7YKNE=8tnuSty1a0=b2w=6xeXUmZnag@mail.gmail.com>
and subject line Re: bug#62214: 28.1; dns-mode: ";" is not a comment if it 
appears inside "quotes"
has caused the debbugs.gnu.org bug report #62214,
regarding 28.1; dns-mode: ";" is not a comment if it appears inside "quotes"
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62214: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62214
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.1; dns-mode: ";" is not a comment if it appears inside "quotes" Date: Thu, 16 Mar 2023 14:33:30 +1100
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.



--- End Message ---
--- Begin Message --- Subject: Re: bug#62214: 28.1; dns-mode: ";" is not a comment if it appears inside "quotes" Date: Tue, 5 Sep 2023 14:09:31 -0700
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).


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]