From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: new compile.el Date: Mon, 09 Mar 2009 22:26:51 -0400 Message-ID: References: <49B11B93.6070907@synopsys.com> <49B1A6B0.2080308@synopsys.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236652038 28816 80.91.229.12 (10 Mar 2009 02:27:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Mar 2009 02:27:18 +0000 (UTC) Cc: Emacs Devel To: Reto Zimmermann Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 10 03:28:35 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lgrhi-0002dL-GK for ged-emacs-devel@m.gmane.org; Tue, 10 Mar 2009 03:28:26 +0100 Original-Received: from localhost ([127.0.0.1]:39772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgrgM-0000IU-QW for ged-emacs-devel@m.gmane.org; Mon, 09 Mar 2009 22:27:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgrgH-0000IP-CV for emacs-devel@gnu.org; Mon, 09 Mar 2009 22:26:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgrgE-0000IC-SP for emacs-devel@gnu.org; Mon, 09 Mar 2009 22:26:57 -0400 Original-Received: from [199.232.76.173] (port=56632 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgrgE-0000I9-MP for emacs-devel@gnu.org; Mon, 09 Mar 2009 22:26:54 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:59228 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LgrgE-0003xm-E9 for emacs-devel@gnu.org; Mon, 09 Mar 2009 22:26:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlAFANNstUnO+KDF/2dsb2JhbACBTs8khAUGhCE X-IronPort-AV: E=Sophos;i="4.38,333,1233550800"; d="scan'208";a="34939826" Original-Received: from 206-248-160-197.dsl.teksavvy.com (HELO ceviche.home) ([206.248.160.197]) by ironport2-out.teksavvy.com with ESMTP; 09 Mar 2009 22:26:52 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id CC3FCB403E; Mon, 9 Mar 2009 22:26:51 -0400 (EDT) In-Reply-To: <49B1A6B0.2080308@synopsys.com> (Reto Zimmermann's message of "Fri, 06 Mar 2009 23:41:52 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109534 Archived-At: >>> How do I transition a major mode (vhdl-mode) to use the new >>> compile.el? From reading the compilation-error-regexp-alist >>> description it sounds like it should still work with the old alist >>> but then it doesn't work right. >> It should work. Give us more details of the problems you encountered. > Only error messages with a certain syntax ("::") are > found and highlighted, but not others which should also match regexps > defined in the alist. Just as if only one regexp from (the middle) of the > alist is active. The same alist highlighted all errors with the old > compile.el. How do you set the alist? With the new code, the alist is not used directly, but instead it's "compiled" to a set of font-lock-keywords rules, so if you change it after "compilation" it won't take effect. Stefan