From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28556 invoked from network); 3 Nov 1998 15:32:50 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 3 Nov 1998 15:32:50 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id KAA19771; Tue, 3 Nov 1998 10:29:42 -0500 (EST) Resent-Date: Tue, 3 Nov 1998 10:29:42 -0500 (EST) Sender: B.Stephens@isode.com To: zsh-workers@math.gatech.edu Subject: Re: PATCH: 3.1.5 - (Sven) Case-insensitive globbing References: <199811031501.PAA31047@diamond.tao.co.uk> Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: Bruce Stephens Date: 03 Nov 1998 15:27:36 +0000 In-Reply-To: "Zefram"'s message of "Tue, 3 Nov 1998 15:01:12 +0000 (GMT)" Message-ID: X-Mailer: Gnus v5.6.27/XEmacs 20.4 - "Emerald" Resent-Message-ID: <"WzaVG.0.sq4.b5oFs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4515 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu "Zefram" writes: > >Hmm, maybe this could provide a way to configure the autocorrection > >feature too? > > Maybe. The autocorrection could be implemented as a shell function, > which by default uses fuzzy globbing to generate corrections. Is > this what you have in mind? Yes. And, if autocorrection used completion-type widgets/functions which knew their context, then they could allow different amounts of fuzziness. For example, there are lots of cases where I want to give filenames which don't exist, so (#a1) would be appropriate, but I rarely want to (interactively) expand a variable which doesn't exist, so it might make sense to try harder to find a variable name which exists. (This isn't file globbing, of course.) And such patterns might be useful as a last-resort in completion too.