Show
Ignore:
Timestamp:
2008年04月04日 22時04分40秒 (8 months ago)
Author:
miyoshi
Message:

Sync up with Emacs22.2.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/man/flymake.texi

    r4204 r4220  
    1212which is a universal on-the-fly syntax checker for GNU Emacs. 
    1313 
    14 Copyright @copyright{} 2004, 2005, 2006, 2007 Free Software Foundation, Inc. 
     14Copyright @copyright{} 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 
    1515 
    1616@quotation 
     
    314314@item flymake-err-line-patterns 
    315315Patterns for error/warning messages in the form @code{(regexp file-idx 
    316 line-idx err-text-idx)}. @xref{Parsing the output}. 
     316line-idx col-idx err-text-idx)}. @xref{Parsing the output}. 
    317317 
    318318@item flymake-compilation-prevents-syntax-check 
     
    334334newline character is added to the buffer. 
    335335 
    336 @item flymake-errline-face 
     336@item flymake-errline 
    337337A custom face for highlighting lines for which at least one error has 
    338338been reported. 
    339339 
    340 @item flymake-warnline-face 
     340@item flymake-warnline 
    341341A custom face for highlighting lines for which at least one warning 
    342342and no errors have been reported. 
     
    411411 
    412412@lisp 
    413 (defun flymake-perl-init (buffer
     413(defun flymake-perl-init (
    414414  (let* ((temp-file (flymake-init-create-temp-buffer-copy 
    415                      buffer 'flymake-create-temp-inplace)) 
    416          (local-file  (concat (flymake-build-relative-filename 
    417                                (file-name-directory 
    418                                 (buffer-file-name 
    419                                  (current-buffer))) 
    420                                (file-name-directory temp-file)) 
    421                               (file-name-nondirectory temp-file)))) 
     415                     'flymake-create-temp-inplace)) 
     416         (local-file (file-relative-name 
     417                      temp-file 
     418                      (file-name-directory buffer-file-name)))) 
    422419    (list "perl" (list "-wc " local-file)))) 
    423420@end lisp 
     
    714711Highlighting is implemented with overlays and happens in the process 
    715712sentinel, after calling the cleanup function. Two customizable faces 
    716 are used: @code{flymake-errline-face} and 
    717 @code{flymake-warnline-face}.  Errors belonging outside the current 
     713are used: @code{flymake-errline} and 
     714@code{flymake-warnline}.  Errors belonging outside the current 
    718715buffer are considered to belong to line 1 of the current buffer. 
    719716