From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Neumerkel Newsgroups: gmane.emacs.bugs Subject: bug#338: Compilation mode: file positions incorrectly identified Date: Sat, 31 May 2008 01:38:14 +0200 Message-ID: Reply-To: Ulrich Neumerkel , 338@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1212191521 12201 80.91.229.12 (30 May 2008 23:52:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 May 2008 23:52:01 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 31 01:52:43 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 1K2EOo-00087I-Rc for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 May 2008 01:52:43 +0200 Original-Received: from localhost ([127.0.0.1]:51487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2EO2-0000Kw-Vn for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 May 2008 19:51:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2ENx-0000Kd-Ty for bug-gnu-emacs@gnu.org; Fri, 30 May 2008 19:51:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2ENv-0000KR-85 for bug-gnu-emacs@gnu.org; Fri, 30 May 2008 19:51:48 -0400 Original-Received: from [199.232.76.173] (port=45280 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2ENv-0000KO-4Y for bug-gnu-emacs@gnu.org; Fri, 30 May 2008 19:51:47 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51552) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K2ENu-000688-I8 for bug-gnu-emacs@gnu.org; Fri, 30 May 2008 19:51:46 -0400 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 m4UNpiNb020221; Fri, 30 May 2008 16:51:45 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m4UNj42V018032; Fri, 30 May 2008 16:45:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Ulrich Neumerkel Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 30 May 2008 23:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 338 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121219070616731 (code B ref -1); Fri, 30 May 2008 23:45:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 30 May 2008 23:38:26 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4UNcJJG016725 for ; Fri, 30 May 2008 16:38:20 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2EAs-0005A2-SB for bug-gnu-emacs@gnu.org; Fri, 30 May 2008 19:38:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2EAs-00059q-Et for bug-gnu-emacs@gnu.org; Fri, 30 May 2008 19:38:18 -0400 Original-Received: from [199.232.76.173] (port=39310 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2EAs-00059n-8r for bug-gnu-emacs@gnu.org; Fri, 30 May 2008 19:38:18 -0400 Original-Received: from a4.complang.tuwien.ac.at ([128.130.173.65]:37034) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K2EAr-0004Fo-Np for bug-gnu-emacs@gnu.org; Fri, 30 May 2008 19:38:18 -0400 Original-Received: from ulrich by a4.complang.tuwien.ac.at with local (Exim 4.63) (envelope-from ) id 1K2EAo-0005vI-VG for bug-gnu-emacs@gnu.org; Sat, 31 May 2008 01:38:15 +0200 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 30 May 2008 19:51:48 -0400 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:18193 Archived-At: --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. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /opt/gupu/share/emacs/22.2/etc/DEBUG for instructions. In GNU Emacs 22.2.1 (i686-pc-linux-gnu, X toolkit) of 2008-05-28 on gupu.complang.tuwien.ac.at Windowing system distributor `The XFree86 Project, Inc', version 11.0.4003 configured using `configure '--without-toolkit-scroll-bars' '--prefix' '/opt/gupu' '--with-git=no'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US locale-coding-system: iso-8859-1 default-enable-multibyte-characters: t Major mode: Compilation Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: M-x c o m p i l e e c h o SPC % SPC / e t c / i s s u e : 1 : 1 C-x o C-c C-c C-g Recent messages: ("emacs" "-Q") For information about GNU Emacs and the GNU system, type C-h C-a. Loading compile...done (No files need saving) Mark set Quit Loading emacsbug... Loading regexp-opt...done Loading emacsbug...done