From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46924: "of" should be in js--keywords-re in js-mode Date: Thu, 4 Mar 2021 15:20:05 +0000 Message-ID: Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000323ac905bcb78148" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21376"; mail-complaints-to="usenet@ciao.gmane.io" To: 46924@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 04 16:21:44 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lHpnK-0005Rh-Ro for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 16:21:43 +0100 Original-Received: from localhost ([::1]:38336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHpnJ-0007rf-Pp for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 10:21:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHpmg-0006lX-9H for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 10:21:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48401) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHpmg-0005HS-0O for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 10:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHpmf-0007nw-Q9 for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 10:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Mar 2021 15:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46924 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.161487122529934 (code B ref -1); Thu, 04 Mar 2021 15:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Mar 2021 15:20:25 +0000 Original-Received: from localhost ([127.0.0.1]:59947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHpm5-0007mj-0L for submit@debbugs.gnu.org; Thu, 04 Mar 2021 10:20:25 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:35468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHpm2-0007mb-Sa for submit@debbugs.gnu.org; Thu, 04 Mar 2021 10:20:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHpm2-0005tD-LI for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 10:20:22 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33918) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHpm2-0004wn-C5 for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 10:20:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48078) by fencepost.gnu.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lHpm0-0005DU-Dd for bug-emacs@gnu.org; Thu, 04 Mar 2021 10:20:21 -0500 Original-Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]:39349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHply-0004uz-Ba for bug-emacs@gnu.org; Thu, 04 Mar 2021 10:20:20 -0500 Original-Received: by mail-oi1-x230.google.com with SMTP id z126so30465020oiz.6 for ; Thu, 04 Mar 2021 07:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:from:date:message-id:subject:to; bh=BaD3kLv3FO0RYZne+8l7apIDR45ffIpYE2WAxrZvyN0=; b=Z1YnO4YUNM5AFI8beYfkoaF9NiobdWeANbfpDB36gMwi/lJkd+sAcXznXejv7iK+r7 xiQv1sfvsBvpB7HKrDIib2CC2UknCu+FjaIIqNzJfLC5+3yEr+MvtmiBIDrJtrL2UeJN mmzVxWrWNSsAJanoFNusaqqRPTSpmtip2lEXE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BaD3kLv3FO0RYZne+8l7apIDR45ffIpYE2WAxrZvyN0=; b=QsFS2vV84UabCDf0Sb7bJ/VM+CsqLilrKBEVUb1UWdlLYfHOdcJIzGtDGFuAthOVrk B41dGXat0sn2P7Q1CAmpslDfFqhdG0xizreoQ/0TCk6mEcPVgnDGGj7Im4tBzQMHx/EN qCqSt3/r8DWVU5pfxnjh7uYUv/8J2dxSNUEotikHttZt/88AORf2oS9T0Va8MBI4nVMm Vl+kUIYDwISH+Y5ky3RKy34X/hZxTjZ5BGaaMXjyUkx4h/d2Z81FyfBpXK7n1gcjOaFU ElrR2Aeeo9ByzGxPZzAHxJi1ApcXpuQgZhH9mymbsTNnOzlHTm9K5zKod7WXT1GyXMY0 lCZA== X-Gm-Message-State: AOAM5321XHV5MnU+SESbbCayGW/ELxIbmByOAZa3Z9tvqGyUYBfQMdcl GzwNmsfVaD4Q43Vp2sr2wggoog9uGfuDALoudG5TXOb6vO0= X-Google-Smtp-Source: ABdhPJzO488uVAWJxj30Nvnn9CbeZlfOmIrB85K8ftSQu+TTcbYR+Ig3SOuAiUb+wxg9G40kVBD6a35NYxn+RcOl1+A= X-Received: by 2002:aca:c08b:: with SMTP id q133mr3271704oif.160.1614871216136; Thu, 04 Mar 2021 07:20:16 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::230; envelope-from=rrt@sc3d.org; helo=mail-oi1-x230.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:201403 Archived-At: --000000000000323ac905bcb78148 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable "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=E2=80=A6of" 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). --=20 https://rrt.sc3d.org --000000000000323ac905bcb78148 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
"of" is not lexically a keywo= rd (as far as I can tell). However, in ECMAScript 2018 and later, it functi= ons as one (in the "for=E2=80=A6of" construction), so it should p= robably be treated as one by js-mode. Certainly, this seems to be common pr= actice, looking at samples of JavaScript online (including in the standard)= .

--
--000000000000323ac905bcb78148--