From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Kangas <stefan@marxist.se>,
Jakobsson Mattias <mattias.jakobsson@smhi.se>,
Jackson Hamilton <jackson@jacksonrayhamilton.com>
Cc: 45717@debbugs.gnu.org
Subject: bug#45717: 27.1; Error with apostrophe in JSX comment
Date: Wed, 3 Nov 2021 04:34:16 +0300 [thread overview]
Message-ID: <92d3cf8f-22e9-0f82-3d6f-36cc6dfbfb56@yandex.ru> (raw)
In-Reply-To: <CADwFkmncTSbofwG4eda=j0MPyWWbneDJV66PJAvf5dk3AdgTaA@mail.gmail.com>
On 31.10.2021 05:41, Stefan Kangas wrote:
> tags 45717 + confirmed
> thanks
>
> Jakobsson Mattias<mattias.jakobsson@smhi.se> 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.
I do see errors in this scenario, especially after trying to edit or
move around. Like:
js-jsx--syntax-propertize-extend-region: Lisp nesting exceeds
‘max-lisp-eval-depth’Error during redisplay: (jit-lock-function 1)
signaled (error "Lisp nesting exceeds ‘max-lisp-eval-depth’")
Adding Jackson to Cc, perhaps he'll have time and inclination to
investigate this.
next prev parent reply other threads:[~2021-11-03 1:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-07 16:26 bug#45717: 27.1; Error with apostrophe in JSX comment Jakobsson Mattias
2021-10-31 2:41 ` Stefan Kangas
2021-11-03 1:34 ` Dmitry Gutov [this message]
2021-11-20 2:32 ` Jackson Ray Hamilton
2024-06-02 20:54 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-04 1:07 ` Dmitry Gutov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=92d3cf8f-22e9-0f82-3d6f-36cc6dfbfb56@yandex.ru \
--to=dgutov@yandex.ru \
--cc=45717@debbugs.gnu.org \
--cc=jackson@jacksonrayhamilton.com \
--cc=mattias.jakobsson@smhi.se \
--cc=stefan@marxist.se \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.