From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: christopherbalz Newsgroups: gmane.emacs.help Subject: Re: Any wisdom on 'compilation-error-regexp-alist-alist is void' ? Date: Wed, 23 Jan 2008 11:30:28 -0800 (PST) Organization: http://groups.google.com Message-ID: <1b0122aa-e691-4af7-8cc1-f28968e44ecd@n20g2000hsh.googlegroups.com> References: <5e76bebb-6859-4019-991e-f7500a3d4af0@i72g2000hsd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201117248 23598 80.91.229.12 (23 Jan 2008 19:40:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jan 2008 19:40:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 23 20:41:06 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JHlT7-0001gI-Su for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Jan 2008 20:41:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHlSi-0000JA-1H for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Jan 2008 14:40:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!n20g2000hsh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 62 Original-NNTP-Posting-Host: 198.93.33.254 Original-X-Trace: posting.google.com 1201116629 29362 127.0.0.1 (23 Jan 2008 19:30:29 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 23 Jan 2008 19:30:29 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n20g2000hsh.googlegroups.com; posting-host=198.93.33.254; posting-account=Sor_gwkAAAB-boGIbRy6UkqylFGZamHP User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:155489 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50892 Archived-At: On Jan 23, 1:46 am, Thien-Thi Nguyen wrote: > () christopherbalz > () 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