Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 45717) by debbugs.gnu.org; 31 Oct 2021 02:41:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 30 22:41:21 2021 Received: from localhost ([127.0.0.1]:58761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mh0me-0004Uc-Ra for submit <at> debbugs.gnu.org; Sat, 30 Oct 2021 22:41:21 -0400 Received: from mail-pl1-f171.google.com ([209.85.214.171]:41618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1mh0ma-0004U2-UG for 45717 <at> debbugs.gnu.org; Sat, 30 Oct 2021 22:41:17 -0400 Received: by mail-pl1-f171.google.com with SMTP id z11so9375704plg.8 for <45717 <at> debbugs.gnu.org>; Sat, 30 Oct 2021 19:41:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=AANKSMQSIzmeY4BNIsj7q+mkrxr6iTq0YFVolGM5v84=; b=Snku8VHWURWLEv6k5nWQAhV761wdh1QfTXl8V4EinRoB5rNOlT85CT+QGsEDBlU7ae 1ZXZmiM+W9gNQGGd856JiWGdZyYAZ2HIWdLDRkiygxuWNvR+/sriZv2PbfCQ6jNiuMqJ bA2wlgRmiwa82xuwqUySYaLhJFw84tl+TWlIXiTuPPbn3uJeVTDDRCTz8pUdb90fG0aP oCMv6NocEGSgtLPftEHM38wIub6Kk2+I3eJDJtI4Kthfl9yAHiT+1QRSKIVpMp7eFZHe /rzTzgkB0djHT8pX5gt5e2A6tVu8ZYQWUTHJFo26NksCjcPWEvFaWIAuTsR8TMKRO25k Vu1Q== X-Gm-Message-State: AOAM531CtY7IitqxT68z2XgpdF675SRZHdAVLU5fVBx/InyA82Jm7a9o hqqQpAgbbFyWfK1bZh7OuSdEqtEhhuc0JYH8ThA= X-Google-Smtp-Source: ABdhPJwww1O/AzsICiG6qBfxHIhMNnSfuAjlp9GKPWGSl2LvlVTukiim/hlCiggdcOCIt8Vo9wSSoPiye0ZCH1POM5Y= X-Received: by 2002:a17:902:8c93:b0:141:5442:e608 with SMTP id t19-20020a1709028c9300b001415442e608mr17875334plo.32.1635648071264; Sat, 30 Oct 2021 19:41:11 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 30 Oct 2021 19:41:10 -0700 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <feea889cac114319a227ed5f7b0c2f3b@HIDDEN> (Jakobsson Mattias's message of "Thu, 7 Jan 2021 16:26:09 +0000") References: <feea889cac114319a227ed5f7b0c2f3b@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Date: Sat, 30 Oct 2021 19:41:10 -0700 Message-ID: <CADwFkmncTSbofwG4eda=j0MPyWWbneDJV66PJAvf5dk3AdgTaA@HIDDEN> Subject: Re: bug#45717: 27.1; Error with apostrophe in JSX comment To: Jakobsson Mattias <mattias.jakobsson@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 45717 Cc: 45717 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) tags 45717 + confirmed thanks Jakobsson Mattias <mattias.jakobsson@HIDDEN> writes: > I get the errors in the Recent messages further below if I edit (e.g., by inserting a newline) > a JSX file with the content between the ``` below. If I remove the apostrophe from > "don't" in the comment the errors goes away. > > ``` > import React from "react"; > > const MyComponent = ({ someList }) => ( > <div > className={someList.filter( > // don't include an apostrophe in this comment > (cls) => cls !== "someclass" > )} > /> > ); > > export default MyComponent; > ``` I tried reproducing this on current master, but I don't see any message. However, I do see incorrect highlighting after the comment with the apostrophe, so something is clearly still not working as it should.
bug-gnu-emacs@HIDDEN
:bug#45717
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 7 Jan 2021 16:34:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 07 11:34:47 2021 Received: from localhost ([127.0.0.1]:48416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kxYFH-0001KK-Uz for submit <at> debbugs.gnu.org; Thu, 07 Jan 2021 11:34:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:60586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mattias.jakobsson@HIDDEN>) id 1kxY7J-00013s-6R for submit <at> debbugs.gnu.org; Thu, 07 Jan 2021 11:26:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mattias.jakobsson@HIDDEN>) id 1kxY7I-00035V-9q for bug-gnu-emacs@HIDDEN; Thu, 07 Jan 2021 11:26:28 -0500 Received: from smtpout.smhi.se ([91.192.30.29]:14485 helo=smtpout1.smhi.se) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mattias.jakobsson@HIDDEN>) id 1kxY7A-0008G0-PT for bug-gnu-emacs@HIDDEN; Thu, 07 Jan 2021 11:26:27 -0500 Received: from winserv743.ad.smhi.se (winserv743.ad.smhi.se [172.16.6.38]) by smtpout1.smhi.se (Postfix) with ESMTPS id 829D410950B9 for <bug-gnu-emacs@HIDDEN>; Thu, 7 Jan 2021 16:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smhi.se; s=20180112; t=1610036769; bh=Rsh9IuCD/6kpF/DGiZ2U6DgdUXvFY7Ttf/GtkHi/TM8=; h=From:To:Subject:Date:From; b=YSCa3XiZO/st2WmHXApwD2jgkb9Cv2ShZYrN3r7K4Te+gi0+i2lJax6mCmiVzvF1Z nn7hR7rSzW0oWKC1YTfv9CePNvxLGMUR8E4NTsONI4G0BHm8CiefTVVV+vdrzLA0gR 9yPViS/E3+pEl0LmQZT86UmusM0jZDl4K3yVG8ew= Received: from winserv743.ad.smhi.se (172.16.6.38) by winserv743.ad.smhi.se (172.16.6.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 7 Jan 2021 17:26:09 +0100 Received: from winserv743.ad.smhi.se ([fe80::5131:d3be:e529:5c0f]) by winserv743.ad.smhi.se ([fe80::5131:d3be:e529:5c0f%3]) with mapi id 15.01.2106.006; Thu, 7 Jan 2021 17:26:09 +0100 From: Jakobsson Mattias <mattias.jakobsson@HIDDEN> To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN> Subject: 27.1; Error with apostrophe in JSX comment Thread-Topic: 27.1; Error with apostrophe in JSX comment Thread-Index: AQHW5Q/mESPhikHDgUeMoJjvCQ3nXw== Date: Thu, 7 Jan 2021 16:26:09 +0000 Message-ID: <feea889cac114319a227ed5f7b0c2f3b@HIDDEN> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.122.1.132] Content-Type: multipart/alternative; boundary="_000_feea889cac114319a227ed5f7b0c2f3bsmhise_" MIME-Version: 1.0 Received-SPF: pass client-ip=91.192.30.29; envelope-from=mattias.jakobsson@HIDDEN; helo=smtpout1.smhi.se X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 07 Jan 2021 11:34:43 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) --_000_feea889cac114319a227ed5f7b0c2f3bsmhise_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear emacs developers, I get the errors in the Recent messages further below if I edit (e.g., by i= nserting a newline) a JSX file with the content between the ``` below. If I remove the apostrop= he from "don't" in the comment the errors goes away. ``` import React from "react"; const MyComponent =3D ({ someList }) =3D> ( <div className=3D{someList.filter( // don't include an apostrophe in this comment (cls) =3D> cls !=3D=3D "someclass" )} /> ); export default MyComponent; ``` Regards, Mattias In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2020-08-22 built on c21618 Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Red Hat Enterprise Linux 8.3 (Ootpa) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Error during redisplay: (jit-lock-function 1) signaled (error "Variable binding depth exceeds max-specpdl-size") Error in post-command-hook (jit-lock--antiblink-post-command): (error "Variable binding depth exceeds max-specpdl-size") Error during redisplay: (internal--syntax-propertize 29) signaled (error "Variable binding depth exceeds max-specpdl-size") back-to-indentation: internal--syntax-propertize did not move syntax- propertize--doneError during redisplay: (jit-lock-function 28) signaled (error "Variable binding depth exceeds max-specpdl-size") Error during redisplay: (jit-lock-function 28) signaled (error "Variable binding depth exceeds max-specpdl-size") Making completion list... Configured using: 'configure --prefix=3D/home/a001919/.local/emacs/27.1 --with-json' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER GMP Important settings: value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: JavaScript[JSX] Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg- config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc- git diff-mode easy-mmode js json subr-x map seq byte-opt gv bytecomp byte-compile cconv imenu cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp- mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 75570 6537) (symbols 48 9507 1) (strings 32 25092 1661) (string-bytes 1 947253) (vectors 16 14494) (vector-slots 8 181430 11864) (floats 8 25 40) (intervals 56 246 0) (buffers 1000 14)) --_000_feea889cac114319a227ed5f7b0c2f3bsmhise_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi= n-bottom:0;} --></style> </head> <body dir=3D"ltr"> <div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font= -family:Calibri,Helvetica,sans-serif;" dir=3D"ltr"> <p></p> <div>Dear emacs developers,<br> </div> <div><br> </div> <div>I get the errors in the Recent messages further below if I edit <span>= (e.g., by inserting a newline)</span><br> </div> <div>a JSX file with the content between the ``` below. If I remove the apo= strophe from</div> <div>"don't" in the comment the errors goes away.<br> <br> ```<br> import React from "react";<br> <br> const MyComponent =3D ({ someList }) =3D> (<br> <div<br> className=3D{someList.filter(<br> // don't include an apostrophe in this = comment<br> (cls) =3D> cls !=3D=3D "somecla= ss"<br> )}<br> /><br> );<br> <br> export default MyComponent;<br> ```</div> <div><br> </div> <div>Regards, Mattias<br> <br> In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)<= br> of 2020-08-22 built on c21618<br> Windowing system distributor 'The X.Org Foundation', version<br> 11.0.12008000<br> System Description: Red Hat Enterprise Linux 8.3 (Ootpa)<br> <br> <br> Recent messages:<br> For information about GNU Emacs and the GNU system, type C-h C-a.<br> Error during redisplay: (jit-lock-function 1) signaled (error "Variabl= e<br> binding depth exceeds max-specpdl-size")<br> Error in post-command-hook (jit-lock--antiblink-post-command): (error<br> "Variable binding depth exceeds max-specpdl-size")<br> Error during redisplay: (internal--syntax-propertize 29) signaled<br> (error "Variable binding depth exceeds max-specpdl-size")<br> back-to-indentation: internal--syntax-propertize did not move syntax-<br> propertize--doneError during redisplay: (jit-lock-function 28) signaled<br> (error "Variable binding depth exceeds max-specpdl-size")<br> Error during redisplay: (jit-lock-function 28) signaled (error<br> "Variable binding depth exceeds max-specpdl-size")<br> Making completion list...<br> <br> <br> Configured using:<br> 'configure --prefix=3D/home/a001919/.local/emacs/27.1 --with-json'<br= > <br> <br> Configured features:<br> XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY<br> LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB<br> TOOLKIT_SCROLL_BARS<br> GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER GMP<br> <br> <br> Important settings:<br> value of $LANG: en_GB.UTF-8<br> value of $XMODIFIERS: @im=3Dibus<br> locale-coding-system: utf-8-unix<br> <br> <br> Major mode: JavaScript[JSX]<br> <br> <br> Minor modes in effect:<br> tooltip-mode: t<br> global-eldoc-mode: t<br> electric-indent-mode: t<br> mouse-wheel-mode: t<br> tool-bar-mode: t<br> menu-bar-mode: t<br> file-name-shadow-mode: t<br> global-font-lock-mode: t<br> font-lock-mode: t<br> blink-cursor-mode: t<br> auto-composition-mode: t<br> auto-encryption-mode: t<br> auto-compression-mode: t<br> line-number-mode: t<br> transient-mark-mode: t<br> <br> <br> Load-path shadows:<br> None found.<br> <br> <br> Features:<br> (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs<br> format-spec rfc822 mml mml-sec password-cache epa derived epg epg-<br> config<br> gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode<br> mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader<br> sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-<br> git<br> diff-mode easy-mmode js json subr-x map seq byte-opt gv bytecomp<br> byte-compile cconv imenu cc-mode cc-fonts easymenu cc-guess cc-menus<br> cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-loaddefs cl-lib<br> tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type<br> mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset<br> image<br> regexp-opt fringe tabulated-list replace newcomment text-mode elisp-<br> mode<br> lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch<br> timer select scroll-bar mouse jit-lock font-lock syntax facemenu<br> font-core term/tty-colors frame minibuffer cl-generic cham georgian<br> utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean<br> japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european<br> ethiopic indian cyrillic chinese composite charscript charprop<br> case-table epa-hook jka-cmpr-hook help simple abbrev obarray<br> cl-preloaded nadvice loaddefs button faces cus-face macroexp files<br> text-properties overlay sha1 md5 base64 format env code-pages mule<br> custom widget hashtable-print-readable backquote threads dbusbind<br> inotify dynamic-setting system-font-setting font-render-setting<br> move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)<br> <br> <br> Memory information:<br> ((conses 16 75570 6537)<br> (symbols 48 9507 1)<br> (strings 32 25092 1661)<br> (string-bytes 1 947253)<br> (vectors 16 14494)<br> (vector-slots 8 181430 11864)<br> (floats 8 25 40)<br> (intervals 56 246 0)<br> (buffers 1000 14))</div> <br> <p></p> </div> </body> </html> --_000_feea889cac114319a227ed5f7b0c2f3bsmhise_--
Jakobsson Mattias <mattias.jakobsson@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#45717
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.