diff options
| author | Richard M. Stallman | 2005-03-28 21:04:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-03-28 21:04:39 +0000 |
| commit | ff994d963a52d9d2ade4a95c91cda778aed256e4 (patch) | |
| tree | 23ee7a37bbc25ea2baa52e629f5cd33693842820 | |
| parent | 05ff843ed70c883c6dd4217dabd0f916d2b9fd9f (diff) | |
| download | emacs-ff994d963a52d9d2ade4a95c91cda778aed256e4.tar.gz emacs-ff994d963a52d9d2ade4a95c91cda778aed256e4.zip | |
(Flymake): New node.
| -rw-r--r-- | man/building.texi | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/man/building.texi b/man/building.texi index 50490e34dd5..10b7b8053d2 100644 --- a/man/building.texi +++ b/man/building.texi | |||
| @@ -18,6 +18,7 @@ in the larger process of developing and maintaining programs. | |||
| 18 | * Compilation Shell:: Customizing your shell properly | 18 | * Compilation Shell:: Customizing your shell properly |
| 19 | for use in the compilation buffer. | 19 | for use in the compilation buffer. |
| 20 | * Grep Searching:: Searching with grep. | 20 | * Grep Searching:: Searching with grep. |
| 21 | * Flymake:: Finding syntax errors on the fly. | ||
| 21 | * Debuggers:: Running symbolic debuggers for non-Lisp programs. | 22 | * Debuggers:: Running symbolic debuggers for non-Lisp programs. |
| 22 | * Executing Lisp:: Various modes for editing Lisp programs, | 23 | * Executing Lisp:: Various modes for editing Lisp programs, |
| 23 | with different facilities for running | 24 | with different facilities for running |
| @@ -337,6 +338,31 @@ initial default for the command---one that runs both @code{find} and | |||
| 337 | @code{grep}, so as to search every file in a directory tree. See also | 338 | @code{grep}, so as to search every file in a directory tree. See also |
| 338 | the @code{find-grep-dired} command, in @ref{Dired and Find}. | 339 | the @code{find-grep-dired} command, in @ref{Dired and Find}. |
| 339 | 340 | ||
| 341 | @node Flymake | ||
| 342 | @section Finding Syntax Errors On The Fly | ||
| 343 | @cindex checking syntax | ||
| 344 | |||
| 345 | Flymake mode is a minor mode that performs on-the-fly syntax | ||
| 346 | checking for many programming and markup languages, including C, C++, | ||
| 347 | Perl, HTML, and @TeX{}/La@TeX{}. It is somewhat analogous to Flyspell | ||
| 348 | mode, which performs spell checking for ordinary human languages in a | ||
| 349 | similar fashion (@pxref{Spelling}). As you edit a file, Flymake mode | ||
| 350 | runs an appropriate syntax checking tool in the background, using a | ||
| 351 | temporary copy of the buffer. It then parses the error and warning | ||
| 352 | messages, and highlights the erroneous lines in the buffer. The | ||
| 353 | syntax checking tool used depends on the language; for example, for | ||
| 354 | C/C++ files this is usually the C compiler. Flymake can also use | ||
| 355 | build tools such as @code{make} for checking complicated projects. | ||
| 356 | |||
| 357 | To activate Flymake mode, type @kbd{M-x flymake-mode}. You can move | ||
| 358 | to the errors spotted by Flymake mode with @kbd{M-x | ||
| 359 | flymake-goto-next-error} and @kbd{M-x flymake-goto-prev-error}. To | ||
| 360 | display any error messages associated with the current line, use | ||
| 361 | @kbd{M-x flymake-display-err-menu-for-current-line}. | ||
| 362 | |||
| 363 | For more details about using Flymake, see @ref{Top, Flymake, | ||
| 364 | Flymake, flymake, The Flymake Manual}. | ||
| 365 | |||
| 340 | @node Debuggers | 366 | @node Debuggers |
| 341 | @section Running Debuggers Under Emacs | 367 | @section Running Debuggers Under Emacs |
| 342 | @cindex debuggers | 368 | @cindex debuggers |