From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.bugs Subject: Re: Emacs-22.1 compilation-error-regexp Date: Tue, 6 May 2008 19:58:34 +1200 Message-ID: <18464.4010.376292.119155@kahikatea.snap.net.nz> References: <4817E3EB.6090601@rogers.com> <18462.63335.493309.993331@kahikatea.snap.net.nz> <481FCCA0.9000404@rogers.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210065618 32296 80.91.229.12 (6 May 2008 09:20:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2008 09:20:18 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: bobmc@bobmc.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 06 11:20:52 2008 Return-path: Envelope-to: geb-bug-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 1JtJLu-0007xN-7X for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 May 2008 11:20:50 +0200 Original-Received: from localhost ([127.0.0.1]:52415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtJLC-0005CB-8L for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 May 2008 05:20:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtJ5o-0004qe-W2 for bug-gnu-emacs@gnu.org; Tue, 06 May 2008 05:04:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtJ5k-0004pp-9h for bug-gnu-emacs@gnu.org; Tue, 06 May 2008 05:04:09 -0400 Original-Received: from [199.232.76.173] (port=32848 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtJ5i-0004p6-2J for bug-gnu-emacs@gnu.org; Tue, 06 May 2008 05:04:06 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JtJ5g-0006n8-Nv for bug-gnu-emacs@gnu.org; Tue, 06 May 2008 05:04:05 -0400 Original-Received: from kahikatea.snap.net.nz (52.30.255.123.static.snap.net.nz [123.255.30.52]) by viper.snap.net.nz (Postfix) with ESMTP id 0CF563D9F3D; Tue, 6 May 2008 19:58:49 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id ABE0F8FC6D; Tue, 6 May 2008 19:58:35 +1200 (NZST) In-Reply-To: <481FCCA0.9000404@rogers.com> X-Mailer: VM 7.19 under Emacs 22.2.50.2 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17927 Archived-At: > Two thumbs up for the quality of help provided by free software people. > I already received a .emacs patch that works. I can also test your > (Nick's) solution but I need some hint as to how; Here is the > .emacs one. > -bob- I didn't realise Yidong had replied. Unsurprisingly our regexps are different but I don't know which is best. My patch was against current CVS. In the progmodes directory of compile.el, after making a backup, you can cut and paste the patch for compile.el into a file called compile.diff, then do: patch < compile.diff As you have Emacs 22.1, it might apply with an offset. If it won't apply at all then you will have to do it manually: look for the sun-ada entry in compile.el and add the lines beginning with +, then remove those pluses and byte compile the file (on the menu-bar). You will probably have to start Emacs again to see any effect. Alternatively you can checkout Emacs from the CVS repository which would mean that you would pick up bug fixes automatically (and could post the latest bug reports!). -- Nick http://www.inet.net.nz/~nickrob