From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.comp.gcc.fortran,gmane.emacs.devel Subject: Re: Emacs and GFortran Date: Wed, 1 Nov 2006 00:24:41 +0100 (MET) Message-ID: References: <41463.128.165.123.18.1162310774.squirrel@webmail.lanl.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1162337110 32692 80.91.229.2 (31 Oct 2006 23:25:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Oct 2006 23:25:10 +0000 (UTC) Cc: Tobias Burnus , fortran@gcc.gnu.org, emacs-devel@gnu.org Original-X-From: fortran-return-15370-gcgf-fortran=m.gmane.org@gcc.gnu.org Wed Nov 01 00:25:03 2006 Return-path: Envelope-to: gcgf-fortran@gmane.org Original-Received: from sourceware.org ([209.132.176.174]) by ciao.gmane.org with smtp (Exim 4.43) id 1Gf2yV-0006ie-78 for gcgf-fortran@gmane.org; Wed, 01 Nov 2006 00:24:55 +0100 Original-Received: (qmail 1315 invoked by alias); 31 Oct 2006 23:24:53 -0000 Original-Received: (qmail 1268 invoked by uid 22791); 31 Oct 2006 23:24:52 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Original-Received: from postino2.roma1.infn.it (HELO postino2.roma1.infn.it) (141.108.26.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 31 Oct 2006 23:24:49 +0000 Original-Received: from ax0rm1.roma1.infn.it (ax0rm1.roma1.infn.it [141.108.26.19]) by postino2.roma1.infn.it (8.12.11/8.12.11) with ESMTP id k9VNOkI5011063; Wed, 1 Nov 2006 00:24:46 +0100 Original-Received: from localhost (graziosi@localhost) by ax0rm1.roma1.infn.it (8.9.3/8.9.3) with ESMTP id AAA21495; Wed, 1 Nov 2006 00:24:41 +0100 (MET) Original-To: "Stuart D. Herring" In-Reply-To: <41463.128.165.123.18.1162310774.squirrel@webmail.lanl.gov> X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.0.3.2, Antispam-Data: 2006.10.31.143436 X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Post: List-Help: , Original-Sender: fortran-owner@gcc.gnu.org Xref: news.gmane.org gmane.comp.gcc.fortran:15339 gmane.emacs.devel:61499 Archived-At: On Tue, 31 Oct 2006, Stuart D. Herring wrote: > > (eval-after-load "compile" > > '(setq compilation-error-regexp-alist > > (cons '("^\\(?:In\\| In\\) file \\(.+\\):\\([0-9]+\\)" 1 2) > > compilation-error-regexp-alist))) > > No reason for a regexp group here: just begin it with "^ ?In file", or > perhaps even "^ *In file", "^[\t\n ]*In file", or "^\s-*In file", > depending on the generality desired (and, in the last case, on the syntax > table for Compilation mode). > I am not an expert of Elisp code and found that workaround "by tries" after looking at 'compile.el'. Your suggestions are more elegant and concise. Many thanks, Angelo.