From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#338: Compilation mode: file positions incorrectly identified Date: Sun, 28 Dec 2008 10:44:12 -0800 (PST) Message-ID: <200812281844.mBSIiC91022756@mothra.ics.uci.edu> References: Reply-To: Dan Nicolaescu , 338@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230491023 19284 80.91.229.12 (28 Dec 2008 19:03:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Dec 2008 19:03:43 +0000 (UTC) Cc: 338@emacsbugs.donarmstrong.com To: Ulrich Neumerkel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 28 20:04:47 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 1LH0wO-0000Ya-VK for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Dec 2008 20:04:45 +0100 Original-Received: from localhost ([127.0.0.1]:48547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LH0vA-0005hh-V0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Dec 2008 14:03:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LH0v7-0005hc-VK for bug-gnu-emacs@gnu.org; Sun, 28 Dec 2008 14:03:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LH0v6-0005hP-Le for bug-gnu-emacs@gnu.org; Sun, 28 Dec 2008 14:03:25 -0500 Original-Received: from [199.232.76.173] (port=56577 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LH0v6-0005hM-D6 for bug-gnu-emacs@gnu.org; Sun, 28 Dec 2008 14:03:24 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36632) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LH0v5-0000me-Q1 for bug-gnu-emacs@gnu.org; Sun, 28 Dec 2008 14:03:24 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBSJ3LH7012298; Sun, 28 Dec 2008 11:03:21 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBSIo3UG008757; Sun, 28 Dec 2008 10:50:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 28 Dec 2008 18:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 338 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 338-submit@emacsbugs.donarmstrong.com id=B338.12304898787348 (code B ref 338); Sun, 28 Dec 2008 18:50:03 +0000 Original-Received: (at 338) by emacsbugs.donarmstrong.com; 28 Dec 2008 18:44:38 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBSIiV8d007340 for <338@emacsbugs.donarmstrong.com>; Sun, 28 Dec 2008 10:44:33 -0800 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mBSIiDGx018271; Sun, 28 Dec 2008 10:44:13 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mBSIiC91022756; Sun, 28 Dec 2008 10:44:12 -0800 (PST) In-Reply-To: (Ulrich Neumerkel's message of "Sat, 31 May 2008 01:38:14 +0200") Original-Lines: 41 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mBSIiDGx018271 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 28 Dec 2008 14:03:25 -0500 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:23542 Archived-At: Ulrich Neumerkel writes: > --text follows this line-- > > Please write in English if possible, because the Emacs maintainers > usually do not have translators to read other languages for them. > > Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, > and to the gnu.emacs.bug news group. > > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > emacs -Q > > M-x compile echo % /etc/issue:1:1 > > (So in stead of doing a real make with real errors, I have just issued > an echo to simulate actual error messages. See also the recent keys > below that contain all keys typed.) > > The compilation buffer now contains incorrectly highlighted (red) > text. Not only the file name, but also the % is highlighted red. When > typing C-c C-c (compile-goto-error) on that highlighted text I get the > prompt (not shown in *Messages* below): > > Find this error in (default % /etc/issue): > > The file name "% /etc/issue" is considered in stead of /etc/issue. > > This problem occurs when using the plunit-package in SWI-Prolog. For > all intents and purposes there is no way to resolve this on the side > of SWI by changing the actual message format - this is intimately > mingled to the widely used (almost standard) error-reporting mechanism > in Prolog. This sounds like you need to add support to `compilation-error-regexp-alist-alist' for this "widely used (almost standard) error-reporting mechanism in Prolog"