From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 46924@debbugs.gnu.org
Subject: bug#46924: "of" should be in js--keywords-re in js-mode
Date: Thu, 4 Mar 2021 15:20:05 +0000 [thread overview]
Message-ID: <CAOnWdoiBr2U-5Zv9KS0ONiZArDfVS4Jf0JMjkMWNVZ6fAaGf8g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 349 bytes --]
"of" is not lexically a keyword (as far as I can tell). However, in
ECMAScript 2018 and later, it functions as one (in the "for…of"
construction), so it should probably be treated as one by js-mode.
Certainly, this seems to be common practice, looking at samples of
JavaScript online (including in the standard).
--
https://rrt.sc3d.org
[-- Attachment #2: Type: text/html, Size: 682 bytes --]
next reply other threads:[~2021-03-04 15:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-04 15:20 Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-03-04 20:21 ` bug#46924: "of" should be in js--keywords-re in js-mode Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOnWdoiBr2U-5Zv9KS0ONiZArDfVS4Jf0JMjkMWNVZ6fAaGf8g@mail.gmail.com \
--to=bug-gnu-emacs@gnu.org \
--cc=46924@debbugs.gnu.org \
--cc=rrt@sc3d.org \
/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 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).