all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Any wisdom on 'compilation-error-regexp-alist-alist is void' ?
@ 2008-01-23  2:03 christopherbalz
  2008-01-23  9:46 ` Thien-Thi Nguyen
       [not found] ` <mailman.6436.1201083362.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: christopherbalz @ 2008-01-23  2:03 UTC (permalink / raw)
  To: help-gnu-emacs

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Any wisdom on 'compilation-error-regexp-alist-alist is void' ?
  2008-01-23  2:03 Any wisdom on 'compilation-error-regexp-alist-alist is void' ? christopherbalz
@ 2008-01-23  9:46 ` Thien-Thi Nguyen
       [not found] ` <mailman.6436.1201083362.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Thien-Thi Nguyen @ 2008-01-23  9:46 UTC (permalink / raw)
  To: gnu-emacs-help

() christopherbalz <ChristopherMBalz@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Any wisdom on 'compilation-error-regexp-alist-alist is void' ?
       [not found] ` <mailman.6436.1201083362.18990.help-gnu-emacs@gnu.org>
@ 2008-01-23 19:30   ` christopherbalz
  2008-01-23 21:31     ` christopherbalz
  0 siblings, 1 reply; 4+ messages in thread
From: christopherbalz @ 2008-01-23 19:30 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Any wisdom on 'compilation-error-regexp-alist-alist is void' ?
  2008-01-23 19:30   ` christopherbalz
@ 2008-01-23 21:31     ` christopherbalz
  0 siblings, 0 replies; 4+ messages in thread
From: christopherbalz @ 2008-01-23 21:31 UTC (permalink / raw)
  To: help-gnu-emacs

The source of flymake-js.el is here:

     http://20y.hu/20070824/on-the-fly-javascript-syntax-checking-in-emacs.html#more-1735

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-23 21:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23  2:03 Any wisdom on 'compilation-error-regexp-alist-alist is void' ? christopherbalz
2008-01-23  9:46 ` Thien-Thi Nguyen
     [not found] ` <mailman.6436.1201083362.18990.help-gnu-emacs@gnu.org>
2008-01-23 19:30   ` christopherbalz
2008-01-23 21:31     ` christopherbalz

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.