Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Commands-For-Completion.html
blob86f236718ec5135206ec9d7747a8a735c4fe474f
1 <html lang="en">
2 <head>
3 <title>Debugging with GDB</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="Debugging with GDB">
6 <meta name="generator" content="makeinfo 4.3">
7 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
8 </head>
9 <body>
10 <div class="node">
11 <p>
12 Node:<a name="Commands%20For%20Completion">Commands For Completion</a>,
13 Next:<a rel="next" accesskey="n" href="Keyboard-Macros.html#Keyboard%20Macros">Keyboard Macros</a>,
14 Previous:<a rel="previous" accesskey="p" href="Numeric-Arguments.html#Numeric%20Arguments">Numeric Arguments</a>,
15 Up:<a rel="up" accesskey="u" href="Bindable-Readline-Commands.html#Bindable%20Readline%20Commands">Bindable Readline Commands</a>
16 <hr><br>
17 </div>
19 <h4 class="subsection">Letting Readline Type For You</h4>
21 <dl>
22 <dt><code>complete (&lt;TAB&gt;)</code>
23 <dd>Attempt to perform completion on the text before point.
24 The actual completion performed is application-specific.
25 The default is filename completion.
27 <br><dt><code>possible-completions (M-?)</code>
28 <dd>List the possible completions of the text before point.
30 <br><dt><code>insert-completions (M-*)</code>
31 <dd>Insert all completions of the text before point that would have
32 been generated by <code>possible-completions</code>.
34 <br><dt><code>menu-complete ()</code>
35 <dd>Similar to <code>complete</code>, but replaces the word to be completed
36 with a single match from the list of possible completions.
37 Repeated execution of <code>menu-complete</code> steps through the list
38 of possible completions, inserting each match in turn.
39 At the end of the list of completions, the bell is rung
40 (subject to the setting of <code>bell-style</code>)
41 and the original text is restored.
42 An argument of <var>n</var> moves <var>n</var> positions forward in the list
43 of matches; a negative argument may be used to move backward
44 through the list.
45 This command is intended to be bound to &lt;TAB&gt;, but is unbound
46 by default.
48 <br><dt><code>delete-char-or-list ()</code>
49 <dd>Deletes the character under the cursor if not at the beginning or
50 end of the line (like <code>delete-char</code>).
51 If at the end of the line, behaves identically to
52 <code>possible-completions</code>.
53 This command is unbound by default.
55 </dl>
57 </body></html>