diff options
| author | Eli Zaretskii | 2018-03-19 21:53:52 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-03-19 21:53:52 +0200 |
| commit | 23072e468f612b2c49a7603e66011cc1664afbde (patch) | |
| tree | 085c349746f6c18bd6dc81a610b13401f6e9618d | |
| parent | ba5a372540673984c64b6b3f3e934bf1fcee229a (diff) | |
| download | emacs-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.texi | 45 |
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 |
| 46 | Run a compiler asynchronously under Emacs, with error messages going to | 46 | Run a compiler asynchronously under Emacs, with error messages going to |
| 47 | the @file{*compilation*} buffer. | 47 | the @file{*compilation*} buffer. |
| 48 | |||
| 48 | @item M-x recompile | 49 | @item M-x recompile |
| 49 | Invoke a compiler with the same command as in the last invocation of | 50 | Invoke 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 |
| 52 | Kill the running compilation subprocess. | 54 | Kill 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 |
| 117 | running in @file{*compilation*}, as the buffer can only handle one | 119 | running in @file{*compilation*}, as the buffer can only handle one |
| 118 | compilation at any time. However, @kbd{M-x compile} asks for | 120 | compilation at any time. However, @kbd{M-x compile} and @kbd{M-x |
| 119 | confirmation before actually killing a compilation that is running; to | 121 | recompile} ask for confirmation before actually killing a compilation |
| 120 | always automatically kill the compilation without asking, change the | 122 | that is running; to always automatically kill the compilation without |
| 121 | variable @code{compilation-always-kill} to @code{t}. You can also | 123 | asking, change the variable @code{compilation-always-kill} to |
| 122 | kill a compilation process with the command @kbd{M-x | 124 | @code{t}. You can also kill a compilation process with the command |
| 123 | kill-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 |
| 126 | the @file{*compilation*} buffer (perhaps using @code{rename-uniquely}; | 128 | the @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 |
| 402 | non-@code{nil} if the buffer is to be saved). Any other | 404 | non-@code{nil} if the buffer is to be saved). Any other |
| 403 | non-@code{nil} value means that all buffers should be saved without | 405 | non-@code{nil} value means that all buffers should be saved without |
| 404 | asking. | 406 | asking. 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 | ||
| 479 | The GUD (Grand Unified Debugger) library provides an Emacs interface | 481 | The GUD (Grand Unified Debugger) library provides an Emacs interface |
| 480 | to a wide variety of symbolic debuggers. It can run the GNU Debugger | 482 | to 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 |
| 482 | debugger PDB, and the Java Debugger JDB. | 484 | debugging 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 |
| 485 | windows to display the state of the debugged program. @xref{GDB | 487 | windows 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 |
| 796 | you are using DBX; @code{sdb-mode-hook}, if you are using SDB; | 799 | you 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} |
| 798 | for Perl debugging mode; @code{pdb-mode-hook}, for PDB; | 801 | for Guile REPL debugging; @code{perldb-mode-hook}, for Perl debugging |
| 799 | @code{jdb-mode-hook}, for JDB@. @xref{Hooks}. | 802 | mode; @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 |
| 802 | Emacs Lisp Reference Manual}) provides a convenient way to define an | 806 | Emacs 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) |
| 955 | Set or clear a breakpoint on that line. | 959 | Set 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) |
| 958 | Enable or disable a breakpoint on that line. | 963 | Enable 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) |
| 961 | Continue execution to that line. | 967 | Continue 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) |
| 964 | Jump to that line. | 970 | Jump 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)} |
| 1021 | Visit the source line for the breakpoint you click on. | 1027 | Visit 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 | |||
| 1039 | it with @kbd{mouse-2}. This also displays the associated source | 1046 | it with @kbd{mouse-2}. This also displays the associated source |
| 1040 | buffer, and updates the contents of the other GDB buffers. | 1047 | buffer, 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 |
| 1043 | fields included in GDB Threads buffer. | 1050 | select 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 |