From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2964 invoked from network); 13 Mar 1999 20:25:11 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Mar 1999 20:25:11 -0000 Received: (qmail 1816 invoked by alias); 13 Mar 1999 20:24:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5782 Received: (qmail 989 invoked from network); 13 Mar 1999 20:20:14 -0000 From: "Bart Schaefer" Message-Id: <990313095906.ZM756@candle.brasslantern.com> Date: Sat, 13 Mar 1999 09:59:06 -0800 In-Reply-To: <14057.16047.992483.728525@localhost.localdomain> Comments: In reply to Bart Schaefer "Re: completion features" (Mar 12, 8:19am) References: <199903121310.OAA03206@beta.informatik.hu-berlin.de> <14057.16047.992483.728525@localhost.localdomain> X-Mailer: Z-Mail (4.0b.820 20aug96) To: Sven Wischnowsky Subject: Re: completion features Cc: zsh-workers@sunsite.auc.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 12, 8:19am, Bart Schaefer wrote: } Subject: Re: completion features } } Sven Wischnowsky writes: } > } > One more question: we could make this user-configurable. E.g. } > `compconfig[...]=-1' would mean that `line_len - 1' errors would be } > accepted and so on. Should we...? Any suggestions for the `...'? ;-) } } Pardon me if I've missed something, but you aren't really suggesting } that the number of errors be based on the entire length of the input } line, are you? The length of the current _word_, surely? For file } names, it should probably only be the length of the path segment that } actually contains the cursor. That last sentence applies to completeinword only, of course. If you're at the end of a /u/s/l/z/z/s/ path expecting it to expand all the way to /usr/src/local/zsh/zsh-3.1.5-pws-11/Src/, having the length of the word determine the number of errors makes sense. Perhaps the length of the word minus the number of slashes? Argh. I'm thinking about this too hard. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com