about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-09-05 16:34:45 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-09-05 16:34:45 +0000
commit14c13bcbb9f43b4b6e128f3a0857ca3cf24ce554 (patch)
tree0bb4e114fcb558b25069fbf5df1af078482ff041
parent0df4c9d22978c33b91fd4cdfefba1d5feef35945 (diff)
downloadzsh-14c13bcbb9f43b4b6e128f3a0857ca3cf24ce554.tar.gz
zsh-14c13bcbb9f43b4b6e128f3a0857ca3cf24ce554.tar.xz
zsh-14c13bcbb9f43b4b6e128f3a0857ca3cf24ce554.zip
Add a cross reference and some completer hints.
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/contrib.yo13
2 files changed, 17 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5805dc90b..390ba9ac8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-05  Bart Schaefer  <schaefer@zsh.org>
+
+	* 12745: Doc/Zsh/contrib.yo: Add a cross-reference; include some
+	comments about using completers with predict-on.
+
 2000-09-05  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 12744: Doc/Zsh/contrib.yo, Doc/Zsh/mod_complist.yo,
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index c0b95b55d..2c652f672 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -451,6 +451,14 @@ zstyle ':completion:incremental:*' completer \
         _complete _correct
 zstyle ':completion:predict:*' completer \ 
         _complete)
+
+It is a good idea to restrict the completers used in prediction, because
+they may be automatically invoked as you type.  The tt(_list) and
+tt(_menu) completers should never be used with prediction.  The
+tt(_approximate), tt(_correct), tt(_expand), and tt(_match) completers may
+be used, but be aware that they may change characters anywhere in the word
+behind the cursor, so you need to watch carefully that the result is what
+you intended.
 )
 kindex(cursor, completion style)
 item(tt(cursor))(
@@ -640,7 +648,10 @@ is-at-least 2.6-17 || print "You can't use is-at-least here.")
 findex(nslookup)
 item(tt(nslookup) [ var(arg) ... ])(
 This wrapper function for the tt(nslookup) command requires the
-tt(zsh/zpty) module.  It behaves exactly like the standard tt(nslookup)
+tt(zsh/zpty) module (see
+ifzman(zmanref(zshmodules))\
+ifnzman(noderef(The zsh/zpty Module))\
+).  It behaves exactly like the standard tt(nslookup)
 except that it provides customizable prompts (including a right-side
 prompt) and completion of nslookup commands, host names, etc. (if you use
 the function-based completion system).  Completion styles may be set with