Article View: gnu.emacs.bug
Article #99348compile1 bug
From: Stephen Anderson
Date: Sun, 30 Sep 1990 21:06
Date: Sun, 30 Sep 1990 21:06
38 lines
1637 bytes
1637 bytes
A small but annoying bug in GNU 18.55 compilation.
Function compile1 in compile.el goes to the trouble of remembering the
local value of compilation-error-regexp from the instigating buffer:
(defun compile1 (command error-message &optional name-of-mode)
.
.
.
(let ((regexp compilation-error-regexp))
(save-excursion
(set-buffer "*compilation*")
(make-local-variable 'compilation-error-regexp)
(setq compilation-error-regexp regexp)))
but then blows it later:
.
.
.
(setq default-directory thisdir)
(fundamental-mode)
(setq mode-name (or name-of-mode "Compilation"))
.
.
.
Our local pacal compiler has output which cannot be parsed by the
default compilation-error-regexp, therefore our local pascal mode sets
up compilation-error-regexp appropriately, but we would like to have
it local to the mode, so we can also parse output from other
compilers.
For now I have commented out the offending (fundamental-mode) in our
local compile.el.
sja.
uunet!mitel!spock!stephena
Technical Details
Message-ID:
<9009302106.AA27020@Software.Mitel.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!spock.mitel.com!stephenaShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,680793f5743f1059,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-10-01 00:58:31 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!spock.mitel.com!stephena From: stephena@spock.mitel.com (Stephen Anderson) Newsgroups: gnu.emacs.bug Subject: compile1 bug Message-ID: <9009302106.AA27020@Software.Mitel.COM> Date: 30 Sep 90 21:06:26 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 38 Posted: Sun Sep 30 22:06:26 1990