From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26153 invoked from network); 15 Mar 1999 10:33:27 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Mar 1999 10:33:27 -0000 Received: (qmail 10280 invoked by alias); 15 Mar 1999 10:33:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5801 Received: (qmail 10273 invoked from network); 15 Mar 1999 10:33:07 -0000 Date: Mon, 15 Mar 1999 11:24:07 +0100 (MET) Message-Id: <199903151024.LAA22969@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Sat, 13 Mar 1999 22:38:03 -0800 Subject: Re: Why doesn't compconfig[correct] apply to command names? Bart Schaefer wrote: > The correction logic is all in the branch of _main_complete that is used > only when the context is not command. But I'd like to have it fix up the > command names, too, so that the rest of the line uses completions for the > correct command. Err... you haven't tried, have you? (At least it works for me.) The auto-correction is done after the `fi' of the test for command- completion. In fact, since `command' is now the context for command-position and arguments, this would have made the auto-correction be used only for special contexts. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de