Closed GoogleCodeExporter closed 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
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
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
Original issue reported on code.google.com by
hnacca...@gmail.com
on 3 Jun 2008 at 7:12