aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-03-28 21:04:39 +0000
committerRichard M. Stallman2005-03-28 21:04:39 +0000
commitff994d963a52d9d2ade4a95c91cda778aed256e4 (patch)
tree23ee7a37bbc25ea2baa52e629f5cd33693842820
parent05ff843ed70c883c6dd4217dabd0f916d2b9fd9f (diff)
downloademacs-ff994d963a52d9d2ade4a95c91cda778aed256e4.tar.gz
emacs-ff994d963a52d9d2ade4a95c91cda778aed256e4.zip
(Flymake): New node.
-rw-r--r--man/building.texi26
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
338the @code{find-grep-dired} command, in @ref{Dired and Find}. 339the @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
346checking for many programming and markup languages, including C, C++,
347Perl, HTML, and @TeX{}/La@TeX{}. It is somewhat analogous to Flyspell
348mode, which performs spell checking for ordinary human languages in a
349similar fashion (@pxref{Spelling}). As you edit a file, Flymake mode
350runs an appropriate syntax checking tool in the background, using a
351temporary copy of the buffer. It then parses the error and warning
352messages, and highlights the erroneous lines in the buffer. The
353syntax checking tool used depends on the language; for example, for
354C/C++ files this is usually the C compiler. Flymake can also use
355build tools such as @code{make} for checking complicated projects.
356
357 To activate Flymake mode, type @kbd{M-x flymake-mode}. You can move
358to the errors spotted by Flymake mode with @kbd{M-x
359flymake-goto-next-error} and @kbd{M-x flymake-goto-prev-error}. To
360display 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,
364Flymake, 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