GNU bug report logs - #18342
24.3.93; jumping to compilation error location gives the wrong column

Previous Next

Package: emacs;

Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>

Date: Thu, 28 Aug 2014 10:33:02 UTC

Severity: minor

Found in version 24.3.93

Done: Filipp Gunbin <fgunbin <at> fastmail.fm>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Filipp Gunbin <fgunbin <at> fastmail.fm>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#18342: closed (24.3.93; jumping to compilation error location
 gives the wrong column)
Date: Wed, 11 Mar 2015 00:20:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 11 Mar 2015 03:19:42 +0300
with message-id <m2r3swz8pt.fsf <at> fastmail.fm>
and subject line Re: bug#18342: 24.3.93; jumping to compilation error location gives the wrong column
has caused the debbugs.gnu.org bug report #18342,
regarding 24.3.93; jumping to compilation error location gives the wrong column
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
18342: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18342
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.93; jumping to compilation error location gives the wrong column
Date: Thu, 28 Aug 2014 14:31:37 +0400
In GNU Emacs 24.3.93.1 (x86_64-apple-darwin13.3.0)
Repository revision: 117453 eliz <at> gnu.org-20140819185629-52e2mzy5tucd0tic

When stepping through compilation errors `C-x `' jumps to a code
location with correct line, but incorrect column: it actually jumps to a
column previous to the right one.  Checked with emacs -Q and Java files
compilation.

Emacs is built from current emacs-24 bzr branch.

-- 

    Filipp


[Message part 3 (message/rfc822, inline)]
From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 18342-done <at> debbugs.gnu.org
Subject: Re: bug#18342: 24.3.93;
 jumping to compilation error location gives the wrong column
Date: Wed, 11 Mar 2015 03:19:42 +0300
On 06/03/2015 12:54 -0500, Stefan Monnier wrote:

>> Regarding `compilation-error-regexp-alist', the
>> `compilation-first-column' probably could be there, but then it should
>> be something like `compilation-compiler-var-alist' instead :)
>
> I tend to agree that the "first-column" info should probably be placed
> alongside the regexp (same for compilation-error-screen-columns, BTW).
>
>> There are unclear cases e.g. with maven: what if we use Oracle JDK which
>> outputs columns beginning with 0 and then change to another JDK which
>> outputs beginning with 1?  Would maven correct it's output?  I doubt so.
>> Then we should have two items in the alist: maven-oracle and maven-smth.
>
> Indeed, there are "hard" cases.  Luckily, column positions usually
> aren't so terribly important, so being off by a few chars is annoying
> but bearable.

It's even worse, as I've just discovered: we have a "checkstyle" plugin
for Maven which, yes, checks style.  And maven outputs its errors with
differently based column numbers (starting with one).  This and javac
invocation happens within one compilation, so it seems currently we have
no way of distinguishing between them and applying different settings.

Anyway, I'm closing this bug for now.

Filipp


This bug report was last modified 10 years and 74 days ago.

Previous Next


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