Next: Adding support for a new syntax check tool, Up: Configuring Flymake [Contents][Index]

### 4.1 Customizable variables

This section summarizes variables used for Flymake configuration.

`flymake-log-level`

  Controls logging output, see Troubleshooting.

`flymake-allowed-file-name-masks`

  A list of `(filename-regexp, init-function, cleanup-function getfname-function)` for configuring syntax check tools. See Adding support for a new syntax check tool.

`flymake-master-file-dirs`

  A list of directories for searching a master file. See Locating a master file.

`flymake-get-project-include-dirs-function`

  A function used for obtaining a list of project include dirs (C/C++ specific). See Getting the include directories.

`flymake-master-file-count-limit`
`flymake-check-file-limit`

  Used when looking for a master file. See Locating a master file.

`flymake-err-line-patterns`

  Patterns for error/warning messages in the form `(regexp file-idx line-idx col-idx err-text-idx)`. See Parsing the output.

`flymake-warning-predicate`

  Predicate to classify error text as warning. See Parsing the output.

`flymake-compilation-prevents-syntax-check`

  A flag indicating whether compilation and syntax check of the same file cannot be run simultaneously.

`flymake-no-changes-timeout`

  If any changes are made to the buffer, syntax check is automatically started after `flymake-no-changes-timeout` seconds.

`flymake-gui-warnings-enabled`

  A boolean flag indicating whether Flymake will show message boxes for non-recoverable errors. If `flymake-gui-warnings-enabled` is `nil`, these errors will only be logged to the `*Messages*` buffer.

`flymake-start-syntax-check-on-newline`

  A boolean flag indicating whether to start syntax check after a newline character is added to the buffer.

`flymake-errline`

  A custom face for highlighting lines for which at least one error has been reported.

`flymake-warnline`

  A custom face for highlighting lines for which at least one warning and no errors have been reported.

`flymake-error-bitmap`

  A bitmap used in the fringe to mark lines for which an error has been reported.

`flymake-warning-bitmap`

  A bitmap used in the fringe to mark lines for which a warning has been reported.

`flymake-fringe-indicator-position`

  Which fringe (if any) should show the warning/error bitmaps.

Next: Adding support for a new syntax check tool, Up: Configuring Flymake [Contents][Index]