From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id EAA01687 for ; Sat, 3 Aug 1996 04:24:44 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id OAA26000; Fri, 2 Aug 1996 14:20:40 -0400 (EDT) Resent-Date: Fri, 2 Aug 1996 14:20:40 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199608021819.UAA05911@bolyai.cs.elte.hu> Subject: Re: problem with multicomp To: hzoli@cs.elte.hu (Zoltan Hidvegi) Date: Fri, 2 Aug 1996 20:19:55 +0200 (MET DST) Cc: carlos@riglos.fisica.ufpr.br, zsh-workers@math.gatech.edu In-Reply-To: <199608021816.UAA05863@bolyai.cs.elte.hu> from Zoltan Hidvegi at "Aug 2, 96 08:16:14 pm" Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368 X-Mailer: ELM [version 2.4ME+ PL16 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"RVsYy2.0.7M6.tRa0o"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1898 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > I'm sure that you set the nounset option. Try the patch below to > multicomp. One may say that it is a bug to that nounset gives an error > message when subscript is out of range bug as I know zsh always did that. > The oldest version I have is zsh-2.6-beta13-hzoli13 does this. I forgot the patch. Here it is. Zoltan --- Functions/multicomp 1996/05/02 22:57:04 2.0 +++ Functions/multicomp 1996/08/02 17:36:08 @@ -16,7 +16,7 @@ local pref head sofar origtop newtop globdir="(-/)" wild setopt localoptions nullglob rcexpandparam globdots -unsetopt markdirs globsubst shwordsplit +unsetopt markdirs globsubst shwordsplit nounset pref="${1}$2" # Hack to allow programmable completion to select multicomp after a :