GNU bug report logs -
#18342
24.3.93; jumping to compilation error location gives the wrong column
Previous Next
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
[Message part 1 (text/plain, inline)]
Your bug report
#18342: 24.3.93; jumping to compilation error location gives the wrong column
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 18342 <at> debbugs.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)]
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
[Message part 3 (message/rfc822, inline)]
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
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.