mwarrenus / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

let: Symbol's function definition is void: prog-mode #128

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install js2-mode on Emacs 23 (Debian squeeze)
2. Try to activate js2-mode via M-x

What is the expected output? What do you see instead?

I get an error 'let: Symbol's function definition is void: prog-mode' instead 
of the js2-mode

What version of the product are you using? On what operating system?

version from Nov 28, 2012, Linux Debian Squeeze (6.0.6) running Emacs 23.2.1

Original issue reported on code.google.com by arne.sch...@gmail.com on 3 Jan 2013 at 9:59

GoogleCodeExporter commented 9 years ago
The recent js2-mode requires Emacs 24.

Original comment by raa...@gmail.com on 19 Feb 2013 at 1:40

GoogleCodeExporter commented 9 years ago
How can this require Emacs 24 if last file was uploaded on Nov/2012 and on the 
intro page it says that it supports Emacs 22+, so, where do you get this info 
raa...?

Original comment by persona....@gmail.com on 27 Jun 2013 at 7:27

GoogleCodeExporter commented 9 years ago
> last file was uploaded on Nov/2012

Emacs 24.1 was released on June 10, 2012. And, if it's not obvious, `prog-mode' 
was added in that version (as well and many other conveniences that we use).

> on the intro page it says that it supports Emacs 22+

The intro page hasn't been updated for a while. Sorry, I can't do anything 
about that, personally.

Anyway, you should use the version from https://github.com/mooz/js2-mode/, the 
development moved there. It's also regularly synchronized to GNU ELPA.

Original comment by raa...@gmail.com on 24 Jul 2013 at 9:43

GoogleCodeExporter commented 9 years ago
yep, well, I ended up installing emacs 24... It worked. Thanks

Original comment by persona....@gmail.com on 25 Jul 2013 at 10:16

GoogleCodeExporter commented 9 years ago
How about putting something into the js2-mode.el to indicate this?

Original comment by aede...@gmail.com on 28 Mar 2014 at 4:10