From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jiri Senkyr" Newsgroups: gmane.emacs.help Subject: compilation errors Date: Fri, 19 Sep 2008 08:46:15 +0200 Message-ID: <200809190846.25907@centrum.cz> References: <200809190838.14649@centrum.cz> <200809190839.22779@centrum.cz> <200809190840.26189@centrum.cz> <200809190841.26510@centrum.cz> <200809190842.16034@centrum.cz> <200809190843.18776@centrum.cz> <200809190844.22984@centrum.cz> <200809190845.20285@centrum.cz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1221830684 23662 80.91.229.12 (19 Sep 2008 13:24:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Sep 2008 13:24:44 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 19 15:25:41 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 1KgfzP-00046b-Ht for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Sep 2008 15:25:39 +0200 Original-Received: from localhost ([127.0.0.1]:50554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgfyN-0005gE-O1 for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Sep 2008 09:24:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgZl5-0005CK-J8 for help-gnu-emacs@gnu.org; Fri, 19 Sep 2008 02:46:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgZl4-0005AR-7o for help-gnu-emacs@gnu.org; Fri, 19 Sep 2008 02:46:27 -0400 Original-Received: from [199.232.76.173] (port=53796 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgZl4-0005A2-1c for help-gnu-emacs@gnu.org; Fri, 19 Sep 2008 02:46:26 -0400 Original-Received: from mail1007.centrum.cz ([90.183.38.137]:44717) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KgZl3-0007Gb-AK for help-gnu-emacs@gnu.org; Fri, 19 Sep 2008 02:46:25 -0400 Original-Received: by mail1007.centrum.cz id S738212364AbYISGqP (ORCPT ); Fri, 19 Sep 2008 08:46:15 +0200 Original-Received: from 199.64.72.252 (X-Forwarded-For: 199.64.72.252) by mail1007.centrum.cz (Centrum Mail) with HTTP X-Mailer: Centrum Mail 5.0 X-Priority: 3 In-Reply-To: <200809190845.20285@centrum.cz> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 19 Sep 2008 09:24:01 -0400 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:57791 Archived-At: Hello, I wanted my emacs to parse messages from IAR Embedded workbench compiler so I added following lines into my .emacs file: ;; To parse "IAR Embedded workbench 4.21A for Atmel AVR" messages ;; Load compile.el library (require 'compile) ;;Store new item "iar-avr" into compilation-error-regexp-alist variable (setq compilation-error-regexp-alist (cons 'iar-avr compilation-error-regexp-alist)) ;; Store iar-avr regexp into compilation-error-regexp-alist-alist variable (setq compilation-error-regexp-alist-alist (cons '(iar-avr "^\\(?:.*\\\\\\)\\(.*\\)(\\([0-9]+\\)) : \\(?:Error\\|Warnin\\(g\\)\\)\\[Pe[0-9]+\\]:" 1 2 nil (3)) compilation-error-regexp-alist-alist)) It works all right, but when I start customize and try to customize compilation-error-regexp-alist, it shows "mismatch". At first before i modified .emacs as shown above, I put there just "compilation-error-regexp-alist-alist" but this didn't work, emacs reported "compilation-error-regexp-alist-alist is void" after start-up. To solve this I added "(require 'compile)" line. Error message disappeared but parsing of compiler messages didn't work, so I added setting of "compilation-error-regexp-alist" to contain name of my compiler (iar-avr). This solved the problem, but issue with "customize" appeared. Parsing works, that's fine but "mismatch" message from customize bothers me. I don't want to modify compile.el (where compilation-error-regexp-alist is defined) directly, which probably would solve the problem. Could anyone help, please? Regards, Jiri