Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Any wisdom on 'compilation-error-regexp-alist-alist is void' ?

174 views
Skip to first unread message

christopherbalz

unread,
Jan 22, 2008, 9:03:04 PM1/22/08
to
Whenever I add:

(require 'flymake-js)
(add-hook 'javascript-mode-hook 'flymake-js-load)

to my '.emacs' file and then 'eval-buffer', I get this error:

append: Symbol's value as variable is void: compilation-error-
regexp-alist-alist


More detail here:

http://www.dzone.com/links/onthefly_javascript_syntax_checking_in_emacs.html

Thank you in advance.


Thien-Thi Nguyen

unread,
Jan 23, 2008, 4:46:25 AM1/23/08
to gnu-ema...@gnu.org
() christopherbalz <Christop...@stanfordalumni.org>
() Tue, 22 Jan 2008 18:03:04 -0800 (PST)

Whenever I add:

(require 'flymake-js)
(add-hook 'javascript-mode-hook 'flymake-js-load)

to my '.emacs' file and then 'eval-buffer', I get this error:

append: Symbol's value as variable is void: compilation-error-
regexp-alist-alist

i don't see flymake-js.el anywhere in the emacs source, so the
following is a guess, from studying (briefly) flymake.el:

the variable compilation-error-regexp-alist-alist is defined in
compile.el. try adding (before the forms above):

(require 'compile)

long term it would probably be a good idea to see what
flymake-js.el offers that flymake.el doesn't and merge those
features into flymake.el.

thi


christopherbalz

unread,
Jan 23, 2008, 2:30:28 PM1/23/08
to
On Jan 23, 1:46 am, Thien-Thi Nguyen <t...@gnuvola.org> wrote:
> () christopherbalz <ChristopherMB...@stanfordalumni.org>

Looks like there was an error in 'flymake.el' -- looks like they had
typed an extra '-alist'? See code and comment I put in my local copy:

;; compilation-error-regexp-alist)
;; Was compilation-error-regexp-alist-alist below. That seems to
be an error. -- cbalz 2008-01-23
(flymake-reformat-err-line-patterns-from-compile-el compilation-
error-regexp-alist)) ;; -- cbalz 2008-01-23

Using 'M-x describe-variable', I get the correct definition for
'compilation-error-regexp-alist'.

Yet now that 'flymake-js.el' runs without error and starts up (showing
on the modeline), I get this problem, which totally removes Emacs'
ability to save files! Any idea here?

File mode specification error: (error "IO error writing z:/work/det-us/
web/javascript/serena/Ajx/src/core/Ajx_flymake.js: Bad file
descriptor")
vc-insert-file: IO error reading z:/work/det-us/web/javascript/serena/
Ajx/src/core/CVS/Entries: Bad file descriptor

Proc Status Buffer Tty Command
---- ------ ------ --- -------
flymake-proc<31> run Ajx.js (none) java -jar c:/Progra~1/
rhino1_6R7/js.jar c:/Progra~1/emacs/site/rhino-web-browser-js-
environment/rhino.js Ajx_flymake.js
flymake-proc<30> run Ajx.js (none) java -jar c:/Progra~1/
rhino1_6R7/js.jar c:/Progra~1/emacs/site/rhino-web-browser-js-
environment/rhino.js Ajx_flymake.js

From the frying pan to the fire!

- cb

christopherbalz

unread,
Jan 23, 2008, 4:31:14 PM1/23/08
to
Message has been deleted
0 new messages