pombreda / js2-mode

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

Byte-compile fails on latest emacs #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. build emacs from CVS-head
2. byte-compile js2-20080521.el

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

Compiling file /home/henri/emacs/js2-20080521.el at Tue Jun  3 12:10:52 2008
js2-20080521.el:6805:24:Error: Variable binding depth exceeds max-specpdl-size

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

GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2008-05-29 on pokey)

CVS-head as of 2008-05-29

Original issue reported on code.google.com by hnacca...@gmail.com on 3 Jun 2008 at 7:12

GoogleCodeExporter commented 9 years ago
I have similar problems with latest emacs. It now compiles but complains about
library not compiled when I try to load it.

Original comment by jca...@gmail.com on 29 Sep 2008 at 10:42

GoogleCodeExporter commented 9 years ago
I noticed that this did not work for me with an open emacs, it kept
asking that both max-lisp-eval-depth and another about variable depth
was too small.  I kept increasing them, until compiling crashed emacs
(probably ran out of stack space).

However, and this might be useful for someone:
cd to/dir/with/js2.el/
emacs --batch --eval '(byte-compile-file "js2.el")'

This worked perfectly, gave me a compiled file and everything.
Starting up emacs and loading a .js file does the expected thing.

The only compile message I received, and this is for Steve Yegge's
info, was a warning. It still completes, but maybe it should be
corrected for future versions of emacs.

In js2-mode-magic-close-paren: js2.el:11120:17:Warning: `last-input-char' is
    an obsolete variable (as of Emacs at least 19.34); use `last-input-event'
    instead.

btw. Thanks for the wonderful mode, javascript support was very basic
before this.

This was on this version of emacs: 
GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+ Version 2.16.0) of
2009-04-05 on palmer, modified by Debian 

which is emacs-snapshot on ubuntu jaunty.

Original comment by rohan.ni...@gmail.com on 7 May 2009 at 7:26

GoogleCodeExporter commented 9 years ago
Fixed in 20090723.  (specifically fixed the obsolete-variable warning -- I can't
reproduce the compilation failure.)

Original comment by steve.ye...@gmail.com on 23 Jul 2009 at 10:37