From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuen Ho Wong Newsgroups: gmane.emacs.bugs Subject: bug#26750: 25.2; js-mode missing keywords Date: Tue, 02 May 2017 20:23:44 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1493754432 18389 195.159.176.226 (2 May 2017 19:47:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 2 May 2017 19:47:12 +0000 (UTC) To: 26750@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 02 21:47:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5dlK-0004dt-9v for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 May 2017 21:47:06 +0200 Original-Received: from localhost ([::1]:33441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5dlQ-0004SW-2M for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 May 2017 15:47:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5dlH-0004QO-MZ for bug-gnu-emacs@gnu.org; Tue, 02 May 2017 15:47:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5dlG-0001gU-F5 for bug-gnu-emacs@gnu.org; Tue, 02 May 2017 15:47:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5dlG-0001gI-BD for bug-gnu-emacs@gnu.org; Tue, 02 May 2017 15:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d5dlF-0000wl-Vk for bug-gnu-emacs@gnu.org; Tue, 02 May 2017 15:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuen Ho Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 May 2017 19:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26750 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14937543743585 (code B ref -1); Tue, 02 May 2017 19:47:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 May 2017 19:46:14 +0000 Original-Received: from localhost ([127.0.0.1]:51552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5dkT-0000vl-KE for submit@debbugs.gnu.org; Tue, 02 May 2017 15:46:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5dPc-0000P6-Ag for submit@debbugs.gnu.org; Tue, 02 May 2017 15:24:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5dPW-0002fr-0n for submit@debbugs.gnu.org; Tue, 02 May 2017 15:24:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34497) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d5dPV-0002ff-TI for submit@debbugs.gnu.org; Tue, 02 May 2017 15:24:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5dPU-00033S-CX for bug-gnu-emacs@gnu.org; Tue, 02 May 2017 15:24:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5dPT-0002dM-0V for bug-gnu-emacs@gnu.org; Tue, 02 May 2017 15:24:32 -0400 Original-Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:38900) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5dPS-0002ce-PM for bug-gnu-emacs@gnu.org; Tue, 02 May 2017 15:24:30 -0400 Original-Received: by mail-wm0-x230.google.com with SMTP id r190so32510314wme.1 for ; Tue, 02 May 2017 12:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=dvmVOIYTdFgToX2zm2os4+3r1ojIwiZaetFKaXanGL0=; b=Vvnf4fo0QJnFZdpyu1nkDgZmIeAnFxGRIdNDrFyHAVDuMgdTh5A86KWFnUZ1rnDgKp HqN+oyzBAueDVOIQ+pevRHjPWdVHmnKiiJYX2TFGpc6gUrnOzRsDZhFsy83b4atTMkIN qlI38o411TVMObqWVXfb9+2xX1tebortv1z3kg0qYaiddSRXTdeGQ5MWLmP0WOgfPLs0 IexJB3jsvyR59eiuE8PDM/qmaLLPSDVeGHGXkxkvrIQWPPTWoZ7nLrBW05l6P99219QF PBt9UFH7Ko1/l7flmG0I1geHPn+epPWLKvtqIW7+AWix4S7PVyWzmy+UPv/FNNyVjfkc mAgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=dvmVOIYTdFgToX2zm2os4+3r1ojIwiZaetFKaXanGL0=; b=X7uBQAms6JqHhIHi85eLR5qe088hBD9/N199LgcZt2m63RueMF+yHmxz0l51PZ0JqM zIQbuK3O7xQlE1mJBMJmZqnjlA5baJObcLiJqFGVXlMKFmOBBgT61ufRXSqnP/fWqBA8 2lAjgnqUlUtgx4sEDKQTvFHYvrYXkVx/n3O239XC6roJCnmhTVLOZlpcRS/pze4tkt96 dSak7Nnnb+Ql2MxhGFheqekPmAO2q89A3/wVtnmj3XK5qyJO2Lh3+N+wU56wyvvtPRoV TsmfksJMHO4Iiz+hQMkprGvOP6h174MMWkzsDSE6Ke8Do3iqQOwUhwUm8r+56+GZ//t+ QUaQ== X-Gm-Message-State: AN3rC/4udgSXXSciFrUbHVtNqG67iYAqwacb4YMKrfXCxvYvtK8qRcW5 2HCvrjMHbqts3mc8ax0= X-Received: by 10.28.20.84 with SMTP id 81mr3604503wmu.51.1493753069210; Tue, 02 May 2017 12:24:29 -0700 (PDT) Original-Received: from ceremony-paternal-broken.local ([2a06:98c0:1000:8200:8086:4681:d37e:20f9]) by smtp.gmail.com with ESMTPSA id y6sm22989254wrc.51.2017.05.02.12.24.28 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 May 2017 12:24:28 -0700 (PDT) X-Google-Original-From: Yuen Ho Wong X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 02 May 2017 15:46:11 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132200 Archived-At: When in js-mode, some latest Javascript keywords are not highlighted. After looking at js.el, js--keyword-re seems to be missing the following: "as", "await, "async", and "of". "await" is treated as a "future reserved word" in ES6 and promoted to a keyword in the latest ES8 spec draft. "async" is treated as a keyword in the AsyncFunctionExpression rule in ES8 draft. "of" is treated as a keyword in the for-of iteration production rule in ES6. "as" is treated as a keyword in import * as statements in ES6. References: ES6: https://www.ecma-international.org/ecma-262/6.0/ ES8: https://tc39.github.io/ecma262/ In GNU Emacs 25.2.1 (x86_64-apple-darwin16.4.0) of 2017-04-24 built on sierra.internal.macports.net Configured using: 'configure --prefix=/opt/local --without-ns --without-x --without-dbus --without-gconf --without-libotf --without-m17n-flt --without-gpm --without-gnutls --with-xml2 --with-modules --infodir /opt/local/share/info/emacs 'CFLAGS=-pipe -Os -arch x86_64' CPPFLAGS=-I/opt/local/include 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-no_pie -arch x86_64'' Configured features: NOTIFY ACL LIBXML2 ZLIB MODULES Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils term/xterm xterm time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax facemenu font-core frame 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 kqueue multi-tty make-network-process emacs) Memory information: ((conses 16 84806 4043) (symbols 48 18787 0) (miscs 40 41 113) (strings 32 14158 5341) (string-bytes 1 408779) (vectors 16 9651) (vector-slots 8 378732 18240) (floats 8 149 126) (intervals 56 197 0) (buffers 976 19))