[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: js-mode, keyword "transient"
From: |
Daniel Colascione |
Subject: |
Re: js-mode, keyword "transient" |
Date: |
Thu, 17 Feb 2011 21:26:03 -0800 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
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.
signature.asc
Description: OpenPGP digital signature