From 0ddb4fb835d685b5dc71dadc08d5758a28b99439 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 3 Jul 2000 08:05:27 +0000 Subject: change format style with warnings tag, don't add descriptions as matches; make a-a-i-n-h in menu selection work even without matches (12134) --- Doc/Zsh/compsys.yo | 9 +++------ Doc/Zsh/mod_complist.yo | 6 +++++- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 5e36c2e3d..73060c038 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -1143,12 +1143,9 @@ replaced with the message given by the completion function. Finally, when set with the tt(warnings) tag, the format string is printed when no matches could be generated at all. In this case the `tt(%d)' is -replaced with the descriptions for the matches that were expected. If the -value does not contain a `tt(%d)', then those descriptions are added in the -same way as matches are added, i.e. they appear below the value for the -tt(format) style laid out in columns. The descriptions are added as if for -the tag tt(warnings) so that you can use the tt(list-colors) style for that -tag to highlight them. +replaced with the descriptions for the matches that were expected +separated by spaces and the sequence `tt(%D)' is replaced with those +descriptions separated by newlines. The `tt(%)' for the sequences that are replaced by strings provided by the completion functions like the `tt(%d)' may be followed by field diff --git a/Doc/Zsh/mod_complist.yo b/Doc/Zsh/mod_complist.yo index bc62b58ca..3a73b5284 100644 --- a/Doc/Zsh/mod_complist.yo +++ b/Doc/Zsh/mod_complist.yo @@ -267,7 +267,11 @@ select the next match to insert into the line item(tt(accept-and-infer-next-history))( accepts the current match and then tries completion with menu-selection again; in the case of files this allows one to select -a directory and immediately attempt to complete files in it +a directory and immediately attempt to complete files in it; if there +are no matches, a message is shown and one can use tt(undo) to go back +to completion on the previous level, every other key leaves menu +selection (including the other zle functions which are otherwise +special during menu selection) ) item(tt(undo))( removes matches inserted during the menu selection by one of the three -- cgit 1.4.1