From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1855 invoked from network); 28 Apr 2000 13:18:19 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 Apr 2000 13:18:19 -0000 Received: (qmail 7061 invoked by alias); 28 Apr 2000 13:18:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11008 Received: (qmail 7048 invoked from network); 28 Apr 2000 13:18:03 -0000 Date: Fri, 28 Apr 2000 15:17:55 +0200 (MET DST) Message-Id: <200004281317.PAA22902@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk Subject: PATCH: docs This mentions the `zcompile -z' trick for fans of KSH_AUTOLOAD in the compsys manual and moves the compctl section behind, err... after, err... to the err... compsys section. Bye Sven Index: Doc/zsh.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/zsh.yo,v retrieving revision 1.4 diff -u -r1.4 zsh.yo --- Doc/zsh.yo 2000/04/01 20:43:44 1.4 +++ Doc/zsh.yo 2000/04/28 13:15:53 @@ -61,9 +61,9 @@ ifnzman(includefile(Zsh/options.yo)) ifnzman(includefile(Zsh/builtins.yo)) ifnzman(includefile(Zsh/zle.yo)) -ifnzman(includefile(Zsh/compctl.yo)) ifnzman(includefile(Zsh/compwid.yo)) ifnzman(includefile(Zsh/compsys.yo)) +ifnzman(includefile(Zsh/compctl.yo)) ifnzman(includefile(Zsh/modules.yo)) ifnzman(includefile(Zsh/zftpsys.yo)) ifzshall(\ @@ -75,9 +75,9 @@ source(zshoptions) source(zshbuiltins) source(zshzle) -source(zshcompctl) source(zshcompwid) source(zshcompsys) +source(zshcompctl) source(zshmodules) source(zshzftpsys) manpage(ZSHALL)(1)(date())(zsh version()) Index: Doc/Zsh/compctl.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compctl.yo,v retrieving revision 1.2 diff -u -r1.2 compctl.yo --- Doc/Zsh/compctl.yo 2000/04/01 20:43:44 1.2 +++ Doc/Zsh/compctl.yo 2000/04/28 13:15:54 @@ -1,4 +1,4 @@ -texinode(Completion Using compctl)(Completion Widgets)(Zsh Line Editor)(Top) +texinode(Completion Using compctl)(Zsh Modules)(Completion System)(Top) chapter(Completion Using compctl) cindex(completion, programmable) cindex(completion, controlling) Index: Doc/Zsh/compsys.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compsys.yo,v retrieving revision 1.25 diff -u -r1.25 compsys.yo --- Doc/Zsh/compsys.yo 2000/04/27 14:16:15 1.25 +++ Doc/Zsh/compsys.yo 2000/04/28 13:15:55 @@ -1,4 +1,4 @@ -texinode(Completion System)(Zsh Modules)(Completion Widgets)(Top) +texinode(Completion System)(Completion Using compctl)(Completion Widgets)(Top) chapter(Completion System) cindex(completion system) cindex(completion, programmable) @@ -201,6 +201,18 @@ after it. The tt(#compdef) tags use the tt(compdef) function described below; the main difference is that the name of the function is supplied implicitly. + +Note also that the functions for the completion system assume that the +tt(KSH_AUTOLOAD) option is not set, they can't be loaded when it is +set. But when you can't or don't want to unset tt(KSH_AUTOLOAD) and +still want to use the completion system, you can simply use one or +more tt(zwc) file(s) created with the tt(zcompile) builtin command +with the tt(-z) option to load the functions for the completion system +from (see +ifzman(zmanref(zshbuiltins))\ +ifnzman(noderef(Shell Builtin Commands))\ +). This forces the functions to be autoloaded the way zsh normally +loads functions. subsect(Functions) Index: Doc/Zsh/compwid.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compwid.yo,v retrieving revision 1.6 diff -u -r1.6 compwid.yo --- Doc/Zsh/compwid.yo 2000/04/26 06:54:27 1.6 +++ Doc/Zsh/compwid.yo 2000/04/28 13:15:56 @@ -1,4 +1,4 @@ -texinode(Completion Widgets)(Completion System)(Completion Using compctl)(Top) +texinode(Completion Widgets)(Completion System)(Zsh Line Editor)(Top) chapter(Completion Widgets) cindex(completion, widgets) cindex(completion, programmable) Index: Doc/Zsh/modules.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/modules.yo,v retrieving revision 1.2 diff -u -r1.2 modules.yo --- Doc/Zsh/modules.yo 2000/04/01 20:43:44 1.2 +++ Doc/Zsh/modules.yo 2000/04/28 13:15:56 @@ -1,4 +1,4 @@ -texinode(Zsh Modules)(Zftp Function System)(Completion System)(Top) +texinode(Zsh Modules)(Zftp Function System)(Completion Using compctl)(Top) chapter(Zsh Modules) cindex(modules) sect(Description) Index: Doc/Zsh/seealso.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/seealso.yo,v retrieving revision 1.1.1.3 diff -u -r1.1.1.3 seealso.yo --- Doc/Zsh/seealso.yo 1999/04/15 18:25:51 1.1.1.3 +++ Doc/Zsh/seealso.yo 2000/04/28 13:15:56 @@ -9,9 +9,9 @@ ifzshone(\ , zmanref(zshbuiltins), -zmanref(zshcompctl), zmanref(zshcompwid), zmanref(zshcompsys), +zmanref(zshcompctl), zmanref(zshexpn), zmanref(zshmisc), zmanref(zshmodules), Index: Doc/Zsh/zle.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/zle.yo,v retrieving revision 1.4 diff -u -r1.4 zle.yo --- Doc/Zsh/zle.yo 2000/04/12 08:24:16 1.4 +++ Doc/Zsh/zle.yo 2000/04/28 13:15:57 @@ -1,4 +1,4 @@ -texinode(Zsh Line Editor)(Completion Using compctl)(Shell Builtin Commands)(Top) +texinode(Zsh Line Editor)(Completion Widgets)(Shell Builtin Commands)(Top) chapter(Zsh Line Editor) cindex(line editor) cindex(editor, line) -- Sven Wischnowsky wischnow@informatik.hu-berlin.de