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
> 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.
There are columns and columns. So most likely the problem is that Emacs
doesn't know which columns the Java compiler uses.
Are these columns 0-based or 1-based? Do they count characters, bytes,
or width? (e.g. what does TAB count as? what about non-ASCII chars in
utf-8?)
These can partly be supported via compilation-first-column and
compilation-error-screen-columns (tho Emacs has no support for counting
columns in bytes). Arguably, rather than variables, these settings
should be part of the compilation-error-regexp-alist entries since it
depends on the compiler in use.
Stefan
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.