* js-mode, keyword "transient"
@ 2011-02-18 5:03 John J Foerch
2011-02-18 5:26 ` Daniel Colascione
0 siblings, 1 reply; 3+ messages in thread
From: John J Foerch @ 2011-02-18 5:03 UTC (permalink / raw)
To: emacs-devel
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.
Thanks.
--
John Foerch
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: js-mode, keyword "transient"
2011-02-18 5:03 js-mode, keyword "transient" John J Foerch
@ 2011-02-18 5:26 ` Daniel Colascione
2011-02-18 5:35 ` John J Foerch
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Colascione @ 2011-02-18 5:26 UTC (permalink / raw)
To: John J Foerch; +Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]
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.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: js-mode, keyword "transient"
2011-02-18 5:26 ` Daniel Colascione
@ 2011-02-18 5:35 ` John J Foerch
0 siblings, 0 replies; 3+ messages in thread
From: John J Foerch @ 2011-02-18 5:35 UTC (permalink / raw)
To: emacs-devel
Daniel Colascione <dan.colascione@gmail.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-18 5:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-18 5:03 js-mode, keyword "transient" John J Foerch
2011-02-18 5:26 ` Daniel Colascione
2011-02-18 5:35 ` John J Foerch
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.