aboutsummaryrefslogtreecommitdiffstats
path: root/man/building.texi
diff options
context:
space:
mode:
authorEli Zaretskii2001-07-17 10:50:35 +0000
committerEli Zaretskii2001-07-17 10:50:35 +0000
commit58fa012dac718ff7097828ba99aabea688c96ea8 (patch)
tree4c19295641407f32e8a24265dbb781b7a4168030 /man/building.texi
parent12de6e2620330e1d42286a9673b9253369812432 (diff)
downloademacs-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.texi33
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
45Run a compiler asynchronously under Emacs, with error messages going to 45Run a compiler asynchronously under Emacs, with error messages going to
46@samp{*compilation*} buffer. 46the @samp{*compilation*} buffer.
47@item M-x grep 47@item M-x grep
48Run @code{grep} asynchronously under Emacs, with matching lines 48Run @code{grep} asynchronously under Emacs, with matching lines
49listed in the buffer named @samp{*grep*}. 49listed 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
164point in @samp{*compilation*} to that error message and typing @key{RET} 164point in the @samp{*compilation*} buffer to that error message and
165(@code{compile-goto-error}). Or click @kbd{Mouse-2} on the error message; 165typing @key{RET} (@code{compile-goto-error}). Alternatively, you can
166you need not switch to the @samp{*compilation*} buffer first. 166click @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
287Run GDB as a subprocess of Emacs. This command creates a buffer for 288This command runs GDB as a subprocess of Emacs. It creates a buffer
288input and output to GDB, and switches to it. If a GDB buffer already 289for input and output to GDB, and switches to it. If a GDB buffer
289exists, it just switches to that buffer. 290already 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
293Similar, but run DBX instead of GDB. 294Similar, 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
298Similar, but run XDB instead of GDB. Use the variable 299Similar, 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
300files. 301files.
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
304Similar, but run SDB instead of GDB. 305Similar, 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
307messages. When you use them, you need to have a valid tags table 308messages. 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
345this buffer does not move the arrow. 346this 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
348that were made to display them. The arrow is not part of the file's 349that display them. The arrow is not part of the file's
349text; it appears only on the screen. If you do modify a source file, 350text; it appears only on the screen. If you do modify a source file,
350keep in mind that inserting or deleting lines will throw off the arrow's 351keep in mind that inserting or deleting lines will throw off the arrow's
351positioning; GUD has no way of figuring out which line corresponded 352positioning; GUD has no way of figuring out which line corresponded
@@ -368,9 +369,9 @@ selecting stack frames, and for stepping through the program. These
368commands are available both in the GUD buffer and globally, but with 369commands are available both in the GUD buffer and globally, but with
369different key bindings. 370different 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,
372because that is the way to specify where to set or clear the breakpoint. 373because that is the easiest way to specify where to set or clear the
373Here's the global command to set a breakpoint: 374breakpoint. 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
516string @var{docstring}. You can use the command thus defined in any 517string @var{docstring}. You can then use the command thus defined in any
517buffer. If @var{binding} is non-@code{nil}, @code{gud-def} also binds 518buffer. If @var{binding} is non-@code{nil}, @code{gud-def} also binds
518the command to @kbd{C-c @var{binding}} in the GUD buffer's mode and to 519the 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
748region as one or more Lisp expressions, evaluating them one by one. 749region 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
750buffer. This is a reasonable way to install the contents of a file of 751buffer. This is a reasonable way to install the contents of a file of
751Lisp code that you are just ready to test. Later, as you find bugs and 752Lisp code that you are ready to test. Later, as you find bugs and
752change individual functions, use @kbd{C-M-x} on each function that you 753change individual functions, use @kbd{C-M-x} on each function that you
753change. This keeps the Lisp world in step with the source file. 754change. This keeps the Lisp world in step with the source file.
754 755