From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13283 invoked from network); 24 Jan 2003 19:38:06 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 24 Jan 2003 19:38:06 -0000 Received: (qmail 23346 invoked by alias); 24 Jan 2003 19:37:46 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5822 Received: (qmail 23338 invoked from network); 24 Jan 2003 19:37:45 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 24 Jan 2003 19:37:45 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [194.25.134.83] by sunsite.dk (MessageWall 1.0.8) with SMTP; 24 Jan 2003 19:37:43 -0000 Received: from fwd00.sul.t-online.de by mailout07.sul.t-online.com with smtp id 18c9e1-0000w9-07; Fri, 24 Jan 2003 20:37:41 +0100 Received: from spotteswoode.dnsalias.org (520082050842-0001@[217.5.89.208]) by fmrl00.sul.t-online.com with esmtp id 18c9ds-0z4VSCC; Fri, 24 Jan 2003 20:37:32 +0100 Received: (qmail 36215 invoked by uid 0); 24 Jan 2003 19:37:31 -0000 Date: 24 Jan 2003 20:37:31 +0100 Message-ID: From: "clemens fischer" To: "Borzenkov Andrey" Cc: "'Oliver Kiddle'" , zsh-users@sunsite.dk Subject: Re: bash convert: new completion system skeleton? References: <6134254DE87BD411908B00A0C99B044F03A0B5FF@mowd019a.mow.siemens.ru> In-Reply-To: <6134254DE87BD411908B00A0C99B044F03A0B5FF@mowd019a.mow.siemens.ru> (Borzenkov Andrey's message of "Fri, 24 Jan 2003 14:19:04 +0300") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i386-unknown-freebsd4.6.2) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Sender: 520082050842-0001@t-dialin.net Borzenkov Andrey : >> I could easily write a function to allow zsh to use completions written >> for bash: this would get you into a hell of troubles you were leaving with the invention of the new zsh-completion-system. think about special cases popping up every place and all the work of keeping it! > Or scan bash_profile/bashrc for complete -F and compdef all commands to use > wrapper unless already defined. It would allow almost transparent change > between bash and zsh. It could be added to compinstall then or even to > compinit with style to turn it off/on. > > Would it be useful? i don't think so. bash completers resemble the old completion style with compctl much more. >> Of course it is better to rewrite the functions properly to make >> full use of zsh's greater power. exactly. this is more a problem of documentation then programming, because the facilities are already there. i just got lost in all the stuff. the freebsd port maintainers put all the `_*' functions containing zsh features at various levels into one single, flat directory, so for me, who couldn't differentiate between widgets, low- and high-level functions the interface layers were not clear. but Borzenkov was nice enough to send me some pointers, so i think i can take it from here. thanks, Borzenkov! zsh needs more documentation with elaborate examples, that's all. i know, it's the hardest part of it all ... clemens