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

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

bug#64456: Incorrect behavior of check-parens


From: Eli Zaretskii
Subject: bug#64456: Incorrect behavior of check-parens
Date: Sat, 15 Jul 2023 10:48:53 +0300

Ping!  Any progress here?  Should this bug be closed?

> From: Andrey Pudov <mail@andreypudov.com>
> CC: "64456@debbugs.gnu.org" <64456@debbugs.gnu.org>
> Date: Tue, 4 Jul 2023 12:25:24 +0000
> 
> Hey Eli, 
> 
> Thank you for pointing this out to emacs -Q. This problem is definitely 
> related somehow to my own
> setup. I am not able to reproduce the problem on emacs -Q. Will try to figure 
> out which part of my
> configuration is causing it. Thank you again!
> 
> * Andrey
> 
> ------------------------------------------------------------------------------
> From: Eli Zaretskii <eliz@gnu.org>
> Sent: Tuesday, July 4, 2023 1:32 PM
> To: Andrey Pudov <mail@andreypudov.com>
> Cc: 64456@debbugs.gnu.org <64456@debbugs.gnu.org>
> Subject: Re: bug#64456: Incorrect behavior of check-parens 
>  
> > From: Andrey Pudov <mail@andreypudov.com>
> > Date: Mon, 3 Jul 2023 18:41:20 +0000
> > msip_labels: 
> > 
> > The following code snippet causes a problem with check-parens:
> > 
> > (defconst jetbrains-ligature-mode--ligatures 
> >    '("-->" "//" "/**" "/*" "*/" "<!--" ":=" "->>" "<<-" "->" "<-"
> >      "<=>" "==" "!=" "<=" ">=" "=:=" "!==" "&&" "||" "..." ".."
> >      "|||" "///" "&&&" "===" "++" "--" "=>" "|>" "<|" "||>" "<||"
> >      "|||>" "<|||" ">>" "<<" "::=" "|]" "[|" "{|" "|}"
> >      "[<" ">]" ":?>" ":?" "/=" "[||]" "!!" "?:" "?." "::"
> >      "+++" "??" "###" "##" ":::" "####" ".?" "?=" "=!=" "<|>"
> >      "<:" ":<" ":>" ">:" "<>" "***" ";;" "/==" ".=" ".-" "__"
> >      "=/=" "<-<" "<<<" ">>>" "<=<" "<<=" "<==" "<==>" "==>" "=>>"
> >      ">=>" ">>=" ">>-" ">-" "<~>" "-<" "-<<" "=<<" "---" "<-|"
> >      "<=|" "/\\" "\\/" "|=>" "|~>" "<~~" "<~" "~~" "~~>" "~>"
> >      "<$>" "<$" "$>" "<+>" "<+" "+>" "<*>" "<*" "*>" "</>" "</" "/>"
> >      "<->" "..<" "~=" "~-" "-~" "~@" "^=" "-|" "_|_" "|-" "||-"
> >      "|=" "||=" "#{" "#[" "]#" "#(" "#?" "#_" "#_(" "#:" "#!" "#="
> >      "&="))
> > 
> > An error message:
> > Error { name: UnmatchedCloseParen, message: "Unmatched close-paren.", x: 
> > 37, line_no: 75,
> > input_x: 37, input_line_no: 75 }
> 
> I cannot reproduce this, neither with Emacs 28.2 nor with the current
> emacs-29 branch.  Can you post a more detailed recipe, starting from
> "emacs -Q"?
> 
> What I did:
> 
>   . copied the snippet you posted to a foo.el file
>   . visited foo.el from 'emacs -Q"
>   . typed "M-x check-parens RET"
> 
> This completed without any error messages.





reply via email to

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