From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John J Foerch Newsgroups: gmane.emacs.devel Subject: Re: js-mode, keyword "transient" Date: Fri, 18 Feb 2011 00:35:25 -0500 Message-ID: <87k4gx9a76.fsf@hecubus.retroj.net> References: <87tyg27x3t.fsf@hecubus.retroj.net> <4D5E02EB.6070906@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1298007351 13274 80.91.229.12 (18 Feb 2011 05:35:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Feb 2011 05:35:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 18 06:35:47 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PqJ0N-000593-3r for ged-emacs-devel@m.gmane.org; Fri, 18 Feb 2011 06:35:47 +0100 Original-Received: from localhost ([127.0.0.1]:56461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqJ0M-0000iv-Il for ged-emacs-devel@m.gmane.org; Fri, 18 Feb 2011 00:35:46 -0500 Original-Received: from [140.186.70.92] (port=47834 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqJ0F-0000ij-Df for emacs-devel@gnu.org; Fri, 18 Feb 2011 00:35:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqJ0D-0004lm-UQ for emacs-devel@gnu.org; Fri, 18 Feb 2011 00:35:39 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:50345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqJ0D-0004lJ-Lu for emacs-devel@gnu.org; Fri, 18 Feb 2011 00:35:37 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PqJ0C-00052j-0l for emacs-devel@gnu.org; Fri, 18 Feb 2011 06:35:36 +0100 Original-Received: from 189.sub-75-219-52.myvzw.com ([75.219.52.189]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Feb 2011 06:35:36 +0100 Original-Received: from jjfoerch by 189.sub-75-219-52.myvzw.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Feb 2011 06:35:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 189.sub-75-219-52.myvzw.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:FGHx4s7jHFVu1Z52ZVIUBxYB/J8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136165 Archived-At: Daniel Colascione writes: > On 2/17/11 9:03 PM, John J Foerch wrote: >> Hello, >> >> I noticed that js-mode includes the keyword "transient" in its list of >> javascript keywords. I can't find a reference anywhere that confirms >> this is a real javascript keyword. Is it there in error? >> >> Running js-mode version 9, dated 2009-07-25 in emacs 23.2.1. > > It appears the language has changed. According to > http://bclary.com/2004/11/07/#a-7.5.3, "transient" is a future reserved > keyword. However, the official specification at > http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf reserves > a smaller set of keywords. If these keywords do actually work correctly > in modern Javascript implementations, we should remove them from js-mode. I found that Mozilla warns if you try to use "transient" as a variable name. So nevermind, it does belong. -- John Foerch