all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John J Foerch <jjfoerch@earthlink.net>
To: emacs-devel@gnu.org
Subject: Re: js-mode, keyword "transient"
Date: Fri, 18 Feb 2011 00:35:25 -0500	[thread overview]
Message-ID: <87k4gx9a76.fsf@hecubus.retroj.net> (raw)
In-Reply-To: 4D5E02EB.6070906@gmail.com

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




      reply	other threads:[~2011-02-18  5:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k4gx9a76.fsf@hecubus.retroj.net \
    --to=jjfoerch@earthlink.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.