help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: christopherbalz
Subject: Re: Any wisdom on 'compilation-error-regexp-alist-alist is void' ?
Date: Wed, 23 Jan 2008 11:30:28 -0800 (PST)
User-agent: G2/1.0

On Jan 23, 1:46 am, Thien-Thi Nguyen <t...@gnuvola.org> wrote:
> () christopherbalz <ChristopherMB...@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

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]