Article View: gnu.emacs.bug
Article #99973Bug in compile.el
From: cire|eric
Date: Mon, 16 Apr 1990 05:06
Date: Mon, 16 Apr 1990 05:06
16 lines
1262 bytes
1262 bytes
We are running 18.55 and I've found a bug in compile.el. Normally the variable compile-command is not buffer local. However if one wants to have a mechanism that binds a key to a procedure that recompiles based on the local file it is convenientant to have compile-command be buffer-local. However in compile1 fundamental-mode is called which wipes out all buffer locals. This also wipes out any value that compilation-error-regexp might have had too (it's also a buffer local). The easiest fix is to nuke the call to fundamental-mode. This buffer doesn't generally get edited and defaulting to what ever is prevelant (usually fundamental mode anyway) seems like a reasonable thing to do. -c
Technical Details
Message-ID:
<9004160506.AA27363@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CISCO.COM!cireShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,44fd9798a920abbe,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-04-15 22:06:03 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CISCO.COM!cire From: cire@CISCO.COM (cire|eric) Newsgroups: gnu.emacs.bug Subject: Bug in compile.el Message-ID: <9004160506.AA27363@life.ai.mit.edu> Date: 16 Apr 90 05:06:03 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 16 Posted: Mon Apr 16 06:06:03 1990