From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24963 invoked by alias); 2 Mar 2011 01:12:18 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28838 Received: (qmail 20830 invoked from network); 2 Mar 2011 01:12:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at yahoo.co.uk does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1299027909; bh=iOofz3a7sH/TjOtQOobOjEP8B0Xq13H+c5zxwJAnQ/w=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:cc:In-reply-to:From:References:To:Subject:Date:Message-ID; b=RjDtLwzHB0XUT9js7C1fJtleVq8EBxayNUUmJnemaLMCU/667Qjdeohf4pKRlgj021s7CQls1fF/ArQHe6xg46eyDktH1ZnlVJjEKQnf5U+n/2ZbO/ka1l5KfV/eNbxW3mvd+yLaBWHL+clKFXn3/YCp25xo8v3nkVGytZDaZmw= X-Yahoo-Newman-Id: 747508.17694.bm@smtp132.mail.ukl.yahoo.com X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- X-YMail-OSG: 9a.ckkYVM1n.zTMsWSiZ8du1daWACzBn.6W4d2lcTrxnssv uJjAsXdKSPNrTk7qPeHlDfFujRNgJeuAXIGJv2AMAU9NvXX0UvT4vpDi0Dkd Xr6oRYVoybbI.YkLywpanLrBJ7L4qo77O.dq8lZmAGVHG0_wn06V1kXWv0U7 RU7zHWolcgIu2KwKCOiSDcbRwh0cWSsI1qG6LiKC7evedmac4nc2ohSwRzmx 6S3kf2u8V.hcUfLuIg2UFbWUJXrxYhPA_pD3Bsn7GXtAUgp4i7zi3UQI0HgP WAW_4FF54z832dFE- X-Yahoo-Newman-Property: ymail-3 cc: Zsh list In-reply-to: From: Oliver Kiddle References: <1238890030-4683-1-git-send-email-ft@bewatermyfriend.org> <090404193718.ZM19801@torch.brasslantern.com> <20090405191304.1908fca8@pws-pc> <090405151115.ZM13159@torch.brasslantern.com> <20090406100929.505617e2@news01> <2d460de70905270930j681da6a5kf7848d67d89f0c69@mail.gmail.com> <20090527175941.3bbe2eba@news01> <2d460de70905280148iebfcegcb4143c33e510efd@mail.gmail.com> To: gak@klanderman.net Subject: Re: PATCH: zstyle to control completion of functions/parameters beginning with underscore Date: Wed, 02 Mar 2011 02:05:08 +0100 Message-ID: <7658.1299027908@thecus> Greg Klanderman wrote: > > >>>>> On May 28, 2009 Richard Hartmann wrote: > > On Wed, May 27, 2009 at 21:12, Greg Klanderman wrote: > >> But in the same vein, what I really want is a way to configure the > >> behavior for functions, variables, etc. beginning with "_" to be like > >> filenames beginning with ".": completion should work if I have > >> explicitly typed the leading "_", but even substring matching should > >> not *generate* a leading "_". Does the ignored completer not do this for you? I have: zstyle ':completion::(^approximate*):*:functions' ignored-patterns '_*' Your hide-internal style is very similar to prefix-needed. The intention with zstyle in the past was to overload styles where reasonably possible and rely on the contexts for disambiguation. Oliver