GNU bug report logs - #338
Compilation mode: file positions incorrectly identified

Previous Next

Package: emacs;

Reported by: Ulrich Neumerkel <ulrich <at> complang.tuwien.ac.at>

Date: Fri, 30 May 2008 23:45:04 UTC

Severity: normal

Tags: notabug

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 338 in the body.
You can then email your comments to 338 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#338; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Ulrich Neumerkel <ulrich <at> complang.tuwien.ac.at>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Ulrich Neumerkel <ulrich <at> complang.tuwien.ac.at>
To: bug-gnu-emacs <at> gnu.org
Subject: Compilation mode: file positions incorrectly identified
Date: Sat, 31 May 2008 01:38:14 +0200
--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 <at> 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 <return> <M-backspace> <M-backspace> 
e c h o SPC % SPC / e t c / i s s u e : 1 : 1 <return> 
C-x o <down> <down> <down> <down> C-c C-c C-g <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> 
<send-emacs-bug-report>

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





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#338; Package emacs. (Sun, 28 Dec 2008 18:50:03 GMT) Full text and rfc822 format available.

Message #8 received at 338 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Ulrich Neumerkel <ulrich <at> complang.tuwien.ac.at>
Cc: 338 <at> debbugs.gnu.org
Subject: Re: bug#338: Compilation mode: file positions incorrectly identified
Date: Sun, 28 Dec 2008 10:44:12 -0800 (PST)
Ulrich Neumerkel <ulrich <at> complang.tuwien.ac.at> 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 <at> 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"


Added tag(s) notabug. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 11 Sep 2011 17:15:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 338 <at> debbugs.gnu.org and Ulrich Neumerkel <ulrich <at> complang.tuwien.ac.at> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 11 Sep 2011 17:15:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#338; Package emacs. (Sun, 11 Sep 2011 17:38:04 GMT) Full text and rfc822 format available.

Message #15 received at 338 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 338 <at> debbugs.gnu.org, Ulrich Neumerkel <ulrich <at> complang.tuwien.ac.at>
Subject: Re: bug#338: Compilation mode: file positions incorrectly identified
Date: Sun, 11 Sep 2011 19:07:18 +0200
Dan Nicolaescu <dann <at> ics.uci.edu> writes:

> 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"

Yes, it doesn't sound like a bug in `M-x compile' in Emacs, so I'm
closing this report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Oct 2011 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.