mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-08 03:02:40 +02:00
new readline command `export-completions'; update documentation; update translations with new strings; Makefile updates
This commit is contained in:
+71
-45
@@ -9867,6 +9867,30 @@ File: bashref.info, Node: Commands For Completion, Next: Keyboard Macros, Pre
|
||||
of possible completions, as if ‘menu-complete’ had been given a
|
||||
negative argument. This command is unbound by default.
|
||||
|
||||
‘export-completions ()’
|
||||
Perform completion on the word before point as described above and
|
||||
write the list of possible completions to Readline's output stream
|
||||
using the following format, writing information on separate lines:
|
||||
|
||||
The number of matches;
|
||||
The word being completed;
|
||||
S:E, where S and E are the start and end offsets of the word
|
||||
in the readline line buffer; then
|
||||
Each match, one per line
|
||||
|
||||
If there are no matches, the first line will be 0, and this command
|
||||
will not print any output after the S:E. If there is only a single
|
||||
match, this prints a single line containing it. If there is more
|
||||
than one match, this prints the common prefix of the matches, which
|
||||
may be empty, on the first line after the S:E, then the matches on
|
||||
subsequent lines. In this case, N will include the first line with
|
||||
the common prefix.
|
||||
|
||||
The user or application should be able to accommodate the
|
||||
possibility of a blank line. The intent is that the user or
|
||||
application reads N lines after the line containing S:E to obtain
|
||||
the match list. This command is unbound by default.
|
||||
|
||||
‘delete-char-or-list ()’
|
||||
Deletes the character under the cursor if not at the beginning or
|
||||
end of the line (like ‘delete-char’). At the end of the line, it
|
||||
@@ -13105,17 +13129,17 @@ D.4 Function Index
|
||||
* complete (<TAB>): Commands For Completion.
|
||||
(line 6)
|
||||
* complete-command (M-!): Commands For Completion.
|
||||
(line 81)
|
||||
(line 105)
|
||||
* complete-filename (M-/): Commands For Completion.
|
||||
(line 50)
|
||||
(line 74)
|
||||
* complete-hostname (M-@): Commands For Completion.
|
||||
(line 73)
|
||||
(line 97)
|
||||
* complete-into-braces (M-{): Commands For Completion.
|
||||
(line 100)
|
||||
(line 124)
|
||||
* complete-username (M-~): Commands For Completion.
|
||||
(line 57)
|
||||
(line 81)
|
||||
* complete-variable (M-$): Commands For Completion.
|
||||
(line 65)
|
||||
(line 89)
|
||||
* copy-backward-word (): Commands For Killing.
|
||||
(line 62)
|
||||
* copy-forward-word (): Commands For Killing.
|
||||
@@ -13123,10 +13147,10 @@ D.4 Function Index
|
||||
* copy-region-as-kill (): Commands For Killing.
|
||||
(line 58)
|
||||
* dabbrev-expand (): Commands For Completion.
|
||||
(line 95)
|
||||
(line 119)
|
||||
* delete-char (C-d): Commands For Text. (line 12)
|
||||
* delete-char-or-list (): Commands For Completion.
|
||||
(line 44)
|
||||
(line 68)
|
||||
* delete-horizontal-space (): Commands For Killing.
|
||||
(line 50)
|
||||
* digit-argument (M-0, M-1, ... M--): Numeric Arguments. (line 6)
|
||||
@@ -13142,7 +13166,7 @@ D.4 Function Index
|
||||
* dump-variables (): Miscellaneous Commands.
|
||||
(line 77)
|
||||
* dynamic-complete-history (M-<TAB>): Commands For Completion.
|
||||
(line 91)
|
||||
(line 115)
|
||||
* edit-and-execute-command (C-x C-e): Miscellaneous Commands.
|
||||
(line 142)
|
||||
* end-kbd-macro (C-x )): Keyboard Macros. (line 9)
|
||||
@@ -13154,6 +13178,8 @@ D.4 Function Index
|
||||
(line 37)
|
||||
* execute-named-command (M-x): Miscellaneous Commands.
|
||||
(line 90)
|
||||
* export-completions (): Commands For Completion.
|
||||
(line 44)
|
||||
* fetch-history (): Commands For History.
|
||||
(line 106)
|
||||
* forward-backward-delete-char (): Commands For Text. (line 23)
|
||||
@@ -13210,17 +13236,17 @@ D.4 Function Index
|
||||
(line 99)
|
||||
* overwrite-mode (): Commands For Text. (line 77)
|
||||
* possible-command-completions (C-x !): Commands For Completion.
|
||||
(line 87)
|
||||
(line 111)
|
||||
* possible-completions (M-?): Commands For Completion.
|
||||
(line 17)
|
||||
* possible-filename-completions (C-x /): Commands For Completion.
|
||||
(line 53)
|
||||
* possible-hostname-completions (C-x @): Commands For Completion.
|
||||
(line 77)
|
||||
* possible-hostname-completions (C-x @): Commands For Completion.
|
||||
(line 101)
|
||||
* possible-username-completions (C-x ~): Commands For Completion.
|
||||
(line 61)
|
||||
(line 85)
|
||||
* possible-variable-completions (C-x $): Commands For Completion.
|
||||
(line 69)
|
||||
(line 93)
|
||||
* prefix-meta (<ESC>): Miscellaneous Commands.
|
||||
(line 19)
|
||||
* previous-history (C-p): Commands For History.
|
||||
@@ -13554,37 +13580,37 @@ Node: Commands For Text434477
|
||||
Node: Commands For Killing438605
|
||||
Node: Numeric Arguments441396
|
||||
Node: Commands For Completion442551
|
||||
Node: Keyboard Macros447054
|
||||
Node: Miscellaneous Commands447758
|
||||
Node: Readline vi Mode454314
|
||||
Node: Programmable Completion455294
|
||||
Node: Programmable Completion Builtins463343
|
||||
Node: A Programmable Completion Example475011
|
||||
Node: Using History Interactively480359
|
||||
Node: Bash History Facilities481043
|
||||
Node: Bash History Builtins484781
|
||||
Node: History Interaction491255
|
||||
Node: Event Designators496212
|
||||
Node: Word Designators497793
|
||||
Node: Modifiers500104
|
||||
Node: Installing Bash502048
|
||||
Node: Basic Installation503167
|
||||
Node: Compilers and Options507046
|
||||
Node: Compiling For Multiple Architectures507799
|
||||
Node: Installation Names509555
|
||||
Node: Specifying the System Type511792
|
||||
Node: Sharing Defaults512541
|
||||
Node: Operation Controls513258
|
||||
Node: Optional Features514280
|
||||
Node: Reporting Bugs526663
|
||||
Node: Major Differences From The Bourne Shell528024
|
||||
Node: GNU Free Documentation License549447
|
||||
Node: Indexes574627
|
||||
Node: Builtin Index575081
|
||||
Node: Reserved Word Index582182
|
||||
Node: Variable Index584630
|
||||
Node: Function Index602046
|
||||
Node: Concept Index615905
|
||||
Node: Keyboard Macros448237
|
||||
Node: Miscellaneous Commands448941
|
||||
Node: Readline vi Mode455497
|
||||
Node: Programmable Completion456477
|
||||
Node: Programmable Completion Builtins464526
|
||||
Node: A Programmable Completion Example476194
|
||||
Node: Using History Interactively481542
|
||||
Node: Bash History Facilities482226
|
||||
Node: Bash History Builtins485964
|
||||
Node: History Interaction492438
|
||||
Node: Event Designators497395
|
||||
Node: Word Designators498976
|
||||
Node: Modifiers501287
|
||||
Node: Installing Bash503231
|
||||
Node: Basic Installation504350
|
||||
Node: Compilers and Options508229
|
||||
Node: Compiling For Multiple Architectures508982
|
||||
Node: Installation Names510738
|
||||
Node: Specifying the System Type512975
|
||||
Node: Sharing Defaults513724
|
||||
Node: Operation Controls514441
|
||||
Node: Optional Features515463
|
||||
Node: Reporting Bugs527846
|
||||
Node: Major Differences From The Bourne Shell529207
|
||||
Node: GNU Free Documentation License550630
|
||||
Node: Indexes575810
|
||||
Node: Builtin Index576264
|
||||
Node: Reserved Word Index583365
|
||||
Node: Variable Index585813
|
||||
Node: Function Index603229
|
||||
Node: Concept Index617227
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user