inserted by the compilation filter function, when calling
compilation-filter-hook.
+---
*** `compilation-error-screen-columns' and `compilation-first-column'
are obeyed in the editing buffer. So programming language modes can
set them, whereas previously only the value in the *compilation* buffer
2012-02-09 Glenn Morris <rgm@gnu.org>
+ * progmodes/compile.el (compilation-first-column)
+ (compilation-error-screen-columns): Doc fixes.
+
* vc/log-view.el (log-view-toggle-entry-display):
* vc/vc.el (vc-merge, vc-pull): Doc fixes.
This is bound to a buffer position before running `compilation-filter-hook'.")
(defvar compilation-first-column 1
- "*This is how compilers number the first column, usually 1 or 0.")
+ "*This is how compilers number the first column, usually 1 or 0.
+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.")
(defvar compilation-parse-errors-filename-function nil
"Function to call to post-process filenames while parsing error messages.
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."
+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
:group 'compilation
:version "20.4")