Variable: compilation-error-screen-columns
compilation-error-screen-columns is a customizable variable defined in
compile.el.gz.
Value
t
Documentation
If non-nil, column numbers in error messages are screen columns.
Otherwise they are interpreted as character positions, with each character occupying one column. The default is to use screen columns, which requires that the compilation program and Emacs agree about the display width of the characters, especially the TAB character. If this is buffer-local in the destination buffer, Emacs obeys that value, otherwise it uses the value in the *compilation* buffer. This enables a major mode to specify its own value.
This variable was added, or its default value changed, in Emacs 20.4.
Probably introduced at or before Emacs version 24.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(defcustom compilation-error-screen-columns t
"If non-nil, column numbers in error messages are screen columns.
Otherwise they are interpreted as character positions, with
each character occupying one column.
The default is to use screen columns, which requires that the compilation
program and Emacs agree about the display width of the characters,
especially the TAB character.
If this is buffer-local in the destination buffer, Emacs obeys
that value, otherwise it uses the value in the *compilation*
buffer. This enables a major mode to specify its own value."
:type 'boolean
:version "20.4")