From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2751 invoked from network); 5 Apr 2009 02:38:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Apr 2009 02:38:02 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 42652 invoked from network); 5 Apr 2009 02:37:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Apr 2009 02:37:55 -0000 Received: (qmail 28334 invoked by alias); 5 Apr 2009 02:37:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26804 Received: (qmail 28317 invoked from network); 5 Apr 2009 02:37:49 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 5 Apr 2009 02:37:49 -0000 Received: from vms173017pub.verizon.net (vms173017pub.verizon.net [206.46.173.17]) by bifrost.dotsrc.org (Postfix) with ESMTP id 94A798026E28 for ; Sun, 5 Apr 2009 04:37:36 +0200 (CEST) Received: from torch.brasslantern.com ([96.249.201.13]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KHL00EJAWM8CZL8@vms173017.mailsrvcs.net> for zsh-workers@sunsite.dk; Sat, 04 Apr 2009 21:37:25 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id n352bJYF019803 for ; Sat, 04 Apr 2009 19:37:20 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id n352bII6019802 for zsh-workers@sunsite.dk; Sat, 04 Apr 2009 19:37:18 -0700 From: Bart Schaefer Message-id: <090404193718.ZM19801@torch.brasslantern.com> Date: Sat, 04 Apr 2009 19:37:17 -0700 In-reply-to: <1238890030-4683-1-git-send-email-ft@bewatermyfriend.org> Comments: In reply to Frank Terbeck "PATCH: Add CORRECT_NOCOMPSYS option" (Apr 5, 2:07am) References: <1238890030-4683-1-git-send-email-ft@bewatermyfriend.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@sunsite.dk Subject: Re: PATCH: Add CORRECT_NOCOMPSYS option MIME-version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV 0.92.1/9204/Sat Apr 4 03:22:15 2009 on bifrost X-Virus-Status: Clean On Apr 5, 2:07am, Frank Terbeck wrote: } } This certainly is not perfect. A better solution would be to disallow } _commandname type function names from being the result of a correction } without completely disabling correction. My reservation about this is that the leading-underscore naming convention is (1) just that, a convention, and (2) specific to this implementation of the completion system -- the whole idea of putting the completion system into shell code was to remove this kind of dependency from the base shell and make it possible for anyone to implement their own system (admittedly increasingly unlikely at this point, but still). A more general solution would be an fignore-type variable, which compinit could set to the value "_*" or some such thing. --