[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: js-mode, keyword "transient"

From: John J Foerch
Subject: Re: js-mode, keyword "transient"
Date: Fri, 18 Feb 2011 00:35:25 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Daniel Colascione <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]