diff options
| author | Eli Zaretskii | 2001-07-17 10:50:35 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-07-17 10:50:35 +0000 |
| commit | 58fa012dac718ff7097828ba99aabea688c96ea8 (patch) | |
| tree | 4c19295641407f32e8a24265dbb781b7a4168030 /man/building.texi | |
| parent | 12de6e2620330e1d42286a9673b9253369812432 (diff) | |
| download | emacs-58fa012dac718ff7097828ba99aabea688c96ea8.tar.gz emacs-58fa012dac718ff7097828ba99aabea688c96ea8.zip | |
Proofreading fixes from Chris Green <chris_e_green@yahoo.com>.
Diffstat (limited to 'man/building.texi')
| -rw-r--r-- | man/building.texi | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/man/building.texi b/man/building.texi index c4ab97e4dd4..ec8d4e2ac8d 100644 --- a/man/building.texi +++ b/man/building.texi | |||
| @@ -43,7 +43,7 @@ compilation errors occurred. | |||
| 43 | @table @kbd | 43 | @table @kbd |
| 44 | @item M-x compile | 44 | @item M-x compile |
| 45 | Run a compiler asynchronously under Emacs, with error messages going to | 45 | Run a compiler asynchronously under Emacs, with error messages going to |
| 46 | @samp{*compilation*} buffer. | 46 | the @samp{*compilation*} buffer. |
| 47 | @item M-x grep | 47 | @item M-x grep |
| 48 | Run @code{grep} asynchronously under Emacs, with matching lines | 48 | Run @code{grep} asynchronously under Emacs, with matching lines |
| 49 | listed in the buffer named @samp{*grep*}. | 49 | listed in the buffer named @samp{*grep*}. |
| @@ -161,9 +161,10 @@ Visit the locus of the error message that you click on. | |||
| 161 | @kindex C-x ` | 161 | @kindex C-x ` |
| 162 | @findex next-error | 162 | @findex next-error |
| 163 | You can visit the source for any particular error message by moving | 163 | You can visit the source for any particular error message by moving |
| 164 | point in @samp{*compilation*} to that error message and typing @key{RET} | 164 | point in the @samp{*compilation*} buffer to that error message and |
| 165 | (@code{compile-goto-error}). Or click @kbd{Mouse-2} on the error message; | 165 | typing @key{RET} (@code{compile-goto-error}). Alternatively, you can |
| 166 | you need not switch to the @samp{*compilation*} buffer first. | 166 | click @kbd{Mouse-2} on the error message; you need not switch to the |
| 167 | @samp{*compilation*} buffer first. | ||
| 167 | 168 | ||
| 168 | To parse the compiler error messages sequentially, type @kbd{C-x `} | 169 | To parse the compiler error messages sequentially, type @kbd{C-x `} |
| 169 | (@code{next-error}). The character following the @kbd{C-x} is the | 170 | (@code{next-error}). The character following the @kbd{C-x} is the |
| @@ -284,24 +285,24 @@ to a particular debugger program. | |||
| 284 | @table @kbd | 285 | @table @kbd |
| 285 | @item M-x gdb @key{RET} @var{file} @key{RET} | 286 | @item M-x gdb @key{RET} @var{file} @key{RET} |
| 286 | @findex gdb | 287 | @findex gdb |
| 287 | Run GDB as a subprocess of Emacs. This command creates a buffer for | 288 | This command runs GDB as a subprocess of Emacs. It creates a buffer |
| 288 | input and output to GDB, and switches to it. If a GDB buffer already | 289 | for input and output to GDB, and switches to it. If a GDB buffer |
| 289 | exists, it just switches to that buffer. | 290 | already exists, it just switches to that buffer. |
| 290 | 291 | ||
| 291 | @item M-x dbx @key{RET} @var{file} @key{RET} | 292 | @item M-x dbx @key{RET} @var{file} @key{RET} |
| 292 | @findex dbx | 293 | @findex dbx |
| 293 | Similar, but run DBX instead of GDB. | 294 | Similar, but runs DBX instead of GDB. |
| 294 | 295 | ||
| 295 | @item M-x xdb @key{RET} @var{file} @key{RET} | 296 | @item M-x xdb @key{RET} @var{file} @key{RET} |
| 296 | @findex xdb | 297 | @findex xdb |
| 297 | @vindex gud-xdb-directories | 298 | @vindex gud-xdb-directories |
| 298 | Similar, but run XDB instead of GDB. Use the variable | 299 | Similar, but runs XDB instead of GDB. Use the variable |
| 299 | @code{gud-xdb-directories} to specify directories to search for source | 300 | @code{gud-xdb-directories} to specify directories to search for source |
| 300 | files. | 301 | files. |
| 301 | 302 | ||
| 302 | @item M-x sdb @key{RET} @var{file} @key{RET} | 303 | @item M-x sdb @key{RET} @var{file} @key{RET} |
| 303 | @findex sdb | 304 | @findex sdb |
| 304 | Similar, but run SDB instead of GDB. | 305 | Similar, but runs SDB instead of GDB. |
| 305 | 306 | ||
| 306 | Some versions of SDB do not mention source file names in their | 307 | Some versions of SDB do not mention source file names in their |
| 307 | messages. When you use them, you need to have a valid tags table | 308 | messages. When you use them, you need to have a valid tags table |
| @@ -345,7 +346,7 @@ displayed in the marginal area of the Emacs window.} Moving point in | |||
| 345 | this buffer does not move the arrow. | 346 | this buffer does not move the arrow. |
| 346 | 347 | ||
| 347 | You can start editing these source files at any time in the buffers | 348 | You can start editing these source files at any time in the buffers |
| 348 | that were made to display them. The arrow is not part of the file's | 349 | that display them. The arrow is not part of the file's |
| 349 | text; it appears only on the screen. If you do modify a source file, | 350 | text; it appears only on the screen. If you do modify a source file, |
| 350 | keep in mind that inserting or deleting lines will throw off the arrow's | 351 | keep in mind that inserting or deleting lines will throw off the arrow's |
| 351 | positioning; GUD has no way of figuring out which line corresponded | 352 | positioning; GUD has no way of figuring out which line corresponded |
| @@ -368,9 +369,9 @@ selecting stack frames, and for stepping through the program. These | |||
| 368 | commands are available both in the GUD buffer and globally, but with | 369 | commands are available both in the GUD buffer and globally, but with |
| 369 | different key bindings. | 370 | different key bindings. |
| 370 | 371 | ||
| 371 | The breakpoint commands are usually used in source file buffers, | 372 | The breakpoint commands are normally used in source file buffers, |
| 372 | because that is the way to specify where to set or clear the breakpoint. | 373 | because that is the easiest way to specify where to set or clear the |
| 373 | Here's the global command to set a breakpoint: | 374 | breakpoint. Here's the global command to set a breakpoint: |
| 374 | 375 | ||
| 375 | @table @kbd | 376 | @table @kbd |
| 376 | @item C-x @key{SPC} | 377 | @item C-x @key{SPC} |
| @@ -513,7 +514,7 @@ debugger interaction buffer: | |||
| 513 | 514 | ||
| 514 | This defines a command named @var{function} which sends | 515 | This defines a command named @var{function} which sends |
| 515 | @var{cmdstring} to the debugger process, and gives it the documentation | 516 | @var{cmdstring} to the debugger process, and gives it the documentation |
| 516 | string @var{docstring}. You can use the command thus defined in any | 517 | string @var{docstring}. You can then use the command thus defined in any |
| 517 | buffer. If @var{binding} is non-@code{nil}, @code{gud-def} also binds | 518 | buffer. If @var{binding} is non-@code{nil}, @code{gud-def} also binds |
| 518 | the command to @kbd{C-c @var{binding}} in the GUD buffer's mode and to | 519 | the command to @kbd{C-c @var{binding}} in the GUD buffer's mode and to |
| 519 | @kbd{C-x C-a @var{binding}} generally. | 520 | @kbd{C-x C-a @var{binding}} generally. |
| @@ -748,7 +749,7 @@ is @code{eval-region}. @kbd{M-x eval-region} parses the text of the | |||
| 748 | region as one or more Lisp expressions, evaluating them one by one. | 749 | region as one or more Lisp expressions, evaluating them one by one. |
| 749 | @kbd{M-x eval-current-buffer} is similar but evaluates the entire | 750 | @kbd{M-x eval-current-buffer} is similar but evaluates the entire |
| 750 | buffer. This is a reasonable way to install the contents of a file of | 751 | buffer. This is a reasonable way to install the contents of a file of |
| 751 | Lisp code that you are just ready to test. Later, as you find bugs and | 752 | Lisp code that you are ready to test. Later, as you find bugs and |
| 752 | change individual functions, use @kbd{C-M-x} on each function that you | 753 | change individual functions, use @kbd{C-M-x} on each function that you |
| 753 | change. This keeps the Lisp world in step with the source file. | 754 | change. This keeps the Lisp world in step with the source file. |
| 754 | 755 | ||