Open GoogleCodeExporter opened 9 years ago
I am using GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of
2008-04-28.
Original comment by mixan...@gmail.com
on 2 May 2008 at 4:43
Same here:
js2-mode.el:6805:24:Error: Lisp nesting exceeds `max-lisp-eval-depth'
Using:
js2-20080521.el
I'm on:
GNU Emacs 23.0.60.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.0) of
2008-03-17
I tried to increase max-specpdl-size to 8000, but to no avail.
Original comment by troel...@gmail.com
on 26 May 2008 at 8:24
I have the same problem:
js2.el:7037:24:Error: Variable binding depth exceeds max-specpdl-size
GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
js2-20080616a.el
Original comment by dengp...@gmail.com
on 17 Jun 2008 at 11:10
I'm using "GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)", specifically
http://www.emacswiki.org/cgi-bin/wiki/EmacsW32
and http://js2-mode.googlecode.com/files/js2-20080616a.el
and I get this same error when trying to byte-compile-file
Original comment by shae.eri...@gmail.com
on 30 Jun 2008 at 7:55
GNU Emacs 23.0.60.1, js2-mode 2008 06 16. Successfully byte-compiled it by
increasing
max-specpdl-size (M-x customize-option).
Original comment by donatas....@gmail.com
on 10 Jul 2008 at 7:06
donatas, how high did you raise max-specpdl-size? I'm at 50000, still failing.
Also
had to raise max-lisp-eval-depth, which is also at 50000 and failing.
Original comment by akgo...@gmail.com
on 22 Aug 2008 at 2:33
Folks, I was able to compile successfully from the command line:
shell> emacs --batch --eval '(byte-compile-file "js2-20080616a.el")'
I'm running Emacs 23.0.60.1
Original comment by gopal...@gmail.com
on 19 Sep 2008 at 8:25
Same grief here, GNU Emacs 23.0.60.1 (EmacsW32, "GNU Emacs 23.0.60.1
(i386-mingw-nt5.1.2600) of 2008-09-09 on LENNART-69DE564 (patched)"). Changing
max-specpdl-size up to 5000 does not help at all.
Original comment by cees...@gmail.com
on 29 Sep 2008 at 7:45
Same problem here, on " GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-09-09 on LENNART-69DE564 (patched)"
js2-mode.el:7037:24:Error: Lisp nesting exceeds `max-lisp-eval-depth
Original comment by norl...@gmail.com
on 26 Nov 2008 at 4:43
I was also able to compile successfully from the command line:
emacs --batch --eval '(byte-compile-file "js2-20080616a.el")'
running 23.0.60.1
Original comment by bbwhar...@gmail.com
on 6 Jan 2009 at 3:39
I was unable to compile from the command line, so tried increasing
max-specpdl-size
and max-lisp-eval-depth. At one point, raising one of them to 100,000 caused
Emacs to
crash (the previous value of 50,000 was still not enough). Which was it? Since
it
crashed, I'm not sure -- but I think max-specpdl-size was 100,000 and
max-lisp-eval-depth was 50,000
Then, I relaunched Emacs, and attempted to byte-compile again (from w/in dired).
Worked fine.
values appear to be launch defaults of 1000 and 400.
GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-08-19 on LENNART-69DE564
(patched)
Original comment by xraysmalevich
on 23 Feb 2009 at 9:59
@xraysmalevich thanks, setting max-specpdl-size to 100,000 and
max-lisp-eval-depth to
50,000 worked exactly as advertised -- including Emacs crashing after I set the
values but then being able to byte-compile js2.el once restarted. Fwiw, I'm
using
EmacsW32 on Windows XP.
Original comment by blinkdog@gmail.com
on 15 Apr 2009 at 9:34
I don't know how to fix this. I can't reproduce it using emacs-snapshot-gtk -q
(GNU
Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-03-19 on
yellow,
modified by Debian).
I'm not going to take action, since I'm about to check it into the emacs cvs
sources
to be part of Emacs 23.2.
Original comment by steve.ye...@gmail.com
on 23 Jul 2009 at 11:45
I was able to reproduce this problem in version 23.1.50.1 on OSX.
If you do the byte-compile from a clean emacs (-q), the byte compile should
succeed. The problem seems to
happen if you try byte-compiling after you have loaded js2-mode.
Batch compilation is much faster, and should also succeed. You'll want to pass
-q as well:
`emacs -q --batch --eval '(byte-compile-file "js2-xxxx.el")'`
Leaving the issue open so people can see the fix here.
Original comment by steve.ye...@gmail.com
on 27 Jul 2009 at 7:24
I ran byte-compile after I had included the load path for js2.el in my .emacs. I
commented out that load path. I restarted emacs. Ran the byte compile and got
no error.
Original comment by zhan...@gmail.com
on 19 Nov 2009 at 3:31
I'm on Win XP, GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
Original comment by zhan...@gmail.com
on 19 Nov 2009 at 3:43
I can confirm that leaving the directory that contains js2-mode out of the load
path
will bypass this issue. The dir can be added back after successful
byte-compiling.
Emacs 23.1, Mac OS X 10.5.8
Original comment by marco.ro...@gmail.com
on 30 Jan 2010 at 6:24
I also can confirm issue with load path. Please add it to installation
instructions.
Original comment by vitaly.o...@gmail.com
on 1 Feb 2010 at 11:05
What exactly worked for me when I got the mixup was:
M-x unload-feature RET js2-mode RET
M-x byte-compile-file RET <the file> RET
Emacs 23.1.1, Debian AMD64
Original comment by mitk...@gmail.com
on 17 Feb 2010 at 1:02
Comment 11 by xraysmalevich is right
Original comment by anubisk...@gmail.com
on 6 Mar 2010 at 7:00
Hi i ran `emacs -q --batch --eval '(byte-compile-file "js2-xxxx.el")'`, after i
try
to load js2.el and tell that i need to compile, restart emacs try to compile
and give
the error:
js2.el:7309:24:Error: Variable binding depth exceeds max-specpdl-size
Original comment by ovnicr...@gmail.com
on 23 Mar 2010 at 4:18
Just saying I followed these instructions without fail:
M-x set-variable RET max-specpdl-size RET 100000
M-x set-variable RET max-lisp-eval-depth RET 50000
M-x byte-compile-file js2.el
(emacs32 on windows xp)
Original comment by toml...@gmail.com
on 28 May 2010 at 11:55
It seems that trying to byte-compile it from running Emacs crashes it (or gives
error) but running --batch --eval help.
Emacs 23.1.1 on Gentoo.
How is js2-treeify supposed to work anyway, I wonder, given that's a recursive
macro?..
Original comment by tw33dl3....@gmail.com
on 13 Oct 2010 at 10:07
I got this to work by adding the line:
(byte-compile-file "/path/to/js2.el")
at the top of my .emacs file (emacs init file)
In my case:
(byte-compile-file "c:/emacs-23.3-bin-i386/emacs-23.3/lisp/js2.el")
Original comment by john.fre...@gmail.com
on 30 Nov 2011 at 8:07
I believe this issue has nothing to do with max-specpdl-size ...
In your emacs source tree, run this:
sudo chown -R d:d . ; sudo chmod -R a+rX .
make -j5
sudo make install
emacs
My problem immediately went away. The problem has something to do with file
ownerships or permissions.
Perhaps the build should have a step which verifies ownerships and permissions
before compiling?
Original comment by dortmann...@gmail.com
on 17 Dec 2011 at 11:08
Of course, use your own username instead of mine which is "d" on my machines)!
Original comment by dortmann...@gmail.com
on 17 Dec 2011 at 11:14
Original issue reported on code.google.com by
mixan...@gmail.com
on 2 May 2008 at 4:42