aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2018-03-19 21:53:52 +0200
committerEli Zaretskii2018-03-19 21:53:52 +0200
commit23072e468f612b2c49a7603e66011cc1664afbde (patch)
tree085c349746f6c18bd6dc81a610b13401f6e9618d
parentba5a372540673984c64b6b3f3e934bf1fcee229a (diff)
downloademacs-23072e468f612b2c49a7603e66011cc1664afbde.tar.gz
emacs-23072e468f612b2c49a7603e66011cc1664afbde.zip
Yet more proofreading of the Emacs manual
* doc/emacs/building.texi (Compilation, Grep Searching) (Debuggers, GUD Customization, Source Buffers) (Breakpoints Buffer, Threads Buffer): Minor fixes and updates. Suggested by Michael Albinus <michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.
-rw-r--r--doc/emacs/building.texi45
1 files changed, 26 insertions, 19 deletions
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index 7be96fa85c0..de3ffd571bc 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -45,9 +45,11 @@ messages and show you where the errors occurred.
45@item M-x compile 45@item M-x compile
46Run a compiler asynchronously under Emacs, with error messages going to 46Run a compiler asynchronously under Emacs, with error messages going to
47the @file{*compilation*} buffer. 47the @file{*compilation*} buffer.
48
48@item M-x recompile 49@item M-x recompile
49Invoke a compiler with the same command as in the last invocation of 50Invoke a compiler with the same command as in the last invocation of
50@kbd{M-x compile}. 51@kbd{M-x compile}.
52
51@item M-x kill-compilation 53@item M-x kill-compilation
52Kill the running compilation subprocess. 54Kill the running compilation subprocess.
53@end table 55@end table
@@ -115,12 +117,12 @@ was started.
115@vindex compilation-always-kill 117@vindex compilation-always-kill
116 Starting a new compilation also kills any compilation already 118 Starting a new compilation also kills any compilation already
117running in @file{*compilation*}, as the buffer can only handle one 119running in @file{*compilation*}, as the buffer can only handle one
118compilation at any time. However, @kbd{M-x compile} asks for 120compilation at any time. However, @kbd{M-x compile} and @kbd{M-x
119confirmation before actually killing a compilation that is running; to 121recompile} ask for confirmation before actually killing a compilation
120always automatically kill the compilation without asking, change the 122that is running; to always automatically kill the compilation without
121variable @code{compilation-always-kill} to @code{t}. You can also 123asking, change the variable @code{compilation-always-kill} to
122kill a compilation process with the command @kbd{M-x 124@code{t}. You can also kill a compilation process with the command
123kill-compilation}. 125@kbd{M-x kill-compilation}.
124 126
125 To run two compilations at once, start the first one, then rename 127 To run two compilations at once, start the first one, then rename
126the @file{*compilation*} buffer (perhaps using @code{rename-uniquely}; 128the @file{*compilation*} buffer (perhaps using @code{rename-uniquely};
@@ -401,7 +403,7 @@ The possible values are either @code{nil} (don't save), @code{ask}
401(and is called with the file name as the parameter and should return 403(and is called with the file name as the parameter and should return
402non-@code{nil} if the buffer is to be saved). Any other 404non-@code{nil} if the buffer is to be saved). Any other
403non-@code{nil} value means that all buffers should be saved without 405non-@code{nil} value means that all buffers should be saved without
404asking. 406asking. The default is @code{ask}.
405 407
406@findex grep-find 408@findex grep-find
407@findex find-grep 409@findex find-grep
@@ -478,8 +480,8 @@ see the Flymake Info manual, which is distributed with Emacs.
478 480
479The GUD (Grand Unified Debugger) library provides an Emacs interface 481The GUD (Grand Unified Debugger) library provides an Emacs interface
480to a wide variety of symbolic debuggers. It can run the GNU Debugger 482to a wide variety of symbolic debuggers. It can run the GNU Debugger
481(GDB), as well as DBX, SDB, XDB, Perl's debugging mode, the Python 483(GDB), as well as DBX, SDB, XDB, Guile REPL debug commands, Perl's
482debugger PDB, and the Java Debugger JDB. 484debugging mode, the Python debugger PDB, and the Java Debugger JDB.
483 485
484 Emacs provides a special interface to GDB, which uses extra Emacs 486 Emacs provides a special interface to GDB, which uses extra Emacs
485windows to display the state of the debugged program. @xref{GDB 487windows to display the state of the debugged program. @xref{GDB
@@ -791,12 +793,14 @@ Instead, type @kbd{C-q @key{TAB}} to enter a tab.
791@vindex perldb-mode-hook 793@vindex perldb-mode-hook
792@vindex pdb-mode-hook 794@vindex pdb-mode-hook
793@vindex jdb-mode-hook 795@vindex jdb-mode-hook
796@vindex guiler-mode-hook
794 On startup, GUD runs one of the following hooks: 797 On startup, GUD runs one of the following hooks:
795@code{gdb-mode-hook}, if you are using GDB; @code{dbx-mode-hook}, if 798@code{gdb-mode-hook}, if you are using GDB; @code{dbx-mode-hook}, if
796you are using DBX; @code{sdb-mode-hook}, if you are using SDB; 799you are using DBX; @code{sdb-mode-hook}, if you are using SDB;
797@code{xdb-mode-hook}, if you are using XDB; @code{perldb-mode-hook}, 800@code{xdb-mode-hook}, if you are using XDB; @code{guiler-mode-hook}
798for Perl debugging mode; @code{pdb-mode-hook}, for PDB; 801for Guile REPL debugging; @code{perldb-mode-hook}, for Perl debugging
799@code{jdb-mode-hook}, for JDB@. @xref{Hooks}. 802mode; @code{pdb-mode-hook}, for PDB; @code{jdb-mode-hook}, for JDB@.
803@xref{Hooks}.
800 804
801 The @code{gud-def} Lisp macro (@pxref{Defining Macros,,, elisp, the 805 The @code{gud-def} Lisp macro (@pxref{Defining Macros,,, elisp, the
802Emacs Lisp Reference Manual}) provides a convenient way to define an 806Emacs Lisp Reference Manual}) provides a convenient way to define an
@@ -952,16 +956,18 @@ still in the right places.
952 956
953@table @asis 957@table @asis
954@item @kbd{mouse-1} (in fringe) 958@item @kbd{mouse-1} (in fringe)
955Set or clear a breakpoint on that line. 959Set or clear a breakpoint on that line
960(@code{gdb-mouse-set-clear-breakpoint}).
956 961
957@item @kbd{C-mouse-1} (in fringe) 962@item @kbd{C-mouse-1} (in fringe)
958Enable or disable a breakpoint on that line. 963Enable or disable a breakpoint on that line
964(@code{gdb-mouse-toggle-breakpoint-margin}).
959 965
960@item @kbd{mouse-3} (in fringe) 966@item @kbd{mouse-3} (in fringe)
961Continue execution to that line. 967Continue execution to that line (@code{gdb-mouse-until}).
962 968
963@item @kbd{C-mouse-3} (in fringe) 969@item @kbd{C-mouse-3} (in fringe)
964Jump to that line. 970Jump to that line (@code{gdb-mouse-jump}).
965@end table 971@end table
966 972
967 On a graphical display, you can click @kbd{mouse-1} in the fringe of 973 On a graphical display, you can click @kbd{mouse-1} in the fringe of
@@ -1018,7 +1024,8 @@ Visit the source line for the current breakpoint
1018 1024
1019@item mouse-2 1025@item mouse-2
1020@kindex mouse-2 @r{(GDB Breakpoints buffer)} 1026@kindex mouse-2 @r{(GDB Breakpoints buffer)}
1021Visit the source line for the breakpoint you click on. 1027Visit the source line for the breakpoint you click on
1028(@code{gdb-goto-breakpoint}).
1022@end table 1029@end table
1023 1030
1024@vindex gdb-show-threads-by-default 1031@vindex gdb-show-threads-by-default
@@ -1039,8 +1046,8 @@ point there and press @key{RET} (@code{gdb-select-thread}), or click on
1039it with @kbd{mouse-2}. This also displays the associated source 1046it with @kbd{mouse-2}. This also displays the associated source
1040buffer, and updates the contents of the other GDB buffers. 1047buffer, and updates the contents of the other GDB buffers.
1041 1048
1042 You can customize variables under @code{gdb-buffers} group to select 1049 You can customize variables in the @code{gdb-buffers} group to
1043fields included in GDB Threads buffer. 1050select fields included in GDB Threads buffer.
1044 1051
1045@table @code 1052@table @code
1046@item gdb-thread-buffer-verbose-names 1053@item gdb-thread-buffer-verbose-names