Variable: flymake-proc-allowed-file-name-masks

flymake-proc-allowed-file-name-masks is a customizable variable defined in flymake-proc.el.gz.

Value

(("\\.\\(?:c\\(?:pp\\|xx\\|\\+\\+\\)?\\|CC\\)\\'"
  flymake-proc-simple-make-init nil
  flymake-proc-real-file-name-considering-includes)
 ("\\.xml\\'" flymake-proc-xml-init)
 ("\\.html?\\'" flymake-proc-xml-init)
 ("\\.cs\\'" flymake-proc-simple-make-init)
 ("\\.php[345]?\\'" flymake-proc-php-init)
 ("\\.h\\'" flymake-proc-master-make-header-init
  flymake-proc-master-cleanup)
 ("\\.java\\'" flymake-proc-simple-make-java-init
  flymake-proc-simple-java-cleanup)
 ("[0-9]+\\.tex\\'" flymake-proc-master-tex-init
  flymake-proc-master-cleanup)
 ("\\.tex\\'" flymake-proc-simple-tex-init)
 ("\\.idl\\'" flymake-proc-simple-make-init))

Documentation

Files syntax checking is allowed for.

Variable flymake-proc-ignored-file-name-regexps overrides this variable. This is an alist with elements of the form:
  REGEXP INIT [CLEANUP [NAME]]
REGEXP is a regular expression that matches a file name. INIT is the init function to use. CLEANUP is the cleanup function to use, default
  flymake-proc-simple-cleanup.
NAME is the file name function to use, default
  flymake-proc-get-real-file-name.

Aliases

flymake-allowed-file-name-masks (obsolete since 26.1)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/flymake-proc.el.gz
(defcustom flymake-proc-allowed-file-name-masks
  '(("\\.\\(?:c\\(?:pp\\|xx\\|\\+\\+\\)?\\|CC\\)\\'"
     flymake-proc-simple-make-init
     nil
     flymake-proc-real-file-name-considering-includes)
    ("\\.xml\\'" flymake-proc-xml-init)
    ("\\.html?\\'" flymake-proc-xml-init)
    ("\\.cs\\'" flymake-proc-simple-make-init)
    ;; ("\\.p[ml]\\'" flymake-proc-perl-init)
    ("\\.php[345]?\\'" flymake-proc-php-init)
    ("\\.h\\'" flymake-proc-master-make-header-init flymake-proc-master-cleanup)
    ("\\.java\\'" flymake-proc-simple-make-java-init flymake-proc-simple-java-cleanup)
    ("[0-9]+\\.tex\\'" flymake-proc-master-tex-init flymake-proc-master-cleanup)
    ("\\.tex\\'" flymake-proc-simple-tex-init)
    ("\\.idl\\'" flymake-proc-simple-make-init)
    ;; ("\\.cpp\\'" 1)
    ;; ("\\.java\\'" 3)
    ;; ("\\.h\\'" 2 ("\\.cpp\\'" "\\.c\\'")
    ;; ("[ \t]*#[ \t]*include[ \t]*\"\\([\w0-9/\\_\.]*[/\\]*\\)\\(%s\\)\"" 1 2))
    ;; ("\\.idl\\'" 1)
    ;; ("\\.odl\\'" 1)
    ;; ("[0-9]+\\.tex\\'" 2 ("\\.tex\\'")
    ;; ("[ \t]*\\input[ \t]*{\\(.*\\)\\(%s\\)}" 1 2 ))
    ;; ("\\.tex\\'" 1)
    )
  "Files syntax checking is allowed for.
Variable `flymake-proc-ignored-file-name-regexps' overrides this variable.
This is an alist with elements of the form:
  REGEXP INIT [CLEANUP [NAME]]
REGEXP is a regular expression that matches a file name.
INIT is the init function to use.
CLEANUP is the cleanup function to use, default
  `flymake-proc-simple-cleanup'.
NAME is the file name function to use, default
  `flymake-proc-get-real-file-name'."
  :group 'flymake
  :type '(alist :key-type (regexp :tag "File regexp")
                :value-type
                (list :tag "Handler functions"
                      (function :tag "Init function")
                      (choice :tag "Cleanup function"
                              (const :tag "flymake-proc-simple-cleanup" nil)
                              function)
                      (choice :tag "Name function"
                              (const :tag "flymake-proc-get-real-file-name" nil)
                              function))))