From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7047 invoked by alias); 7 Jun 2014 20:47:09 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18881 Received: (qmail 29861 invoked from network); 7 Jun 2014 20:47:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: Case-insensitive completion with partial substring matching From: "nicolas.canceill" In-Reply-To: <140607123006.ZM25086@torch.brasslantern.com> Date: Sat, 7 Jun 2014 22:39:01 +0200 Cc: zsh-users@zsh.org Content-Transfer-Encoding: quoted-printable Message-Id: <35EC1DF1-5D60-42CA-93FB-A6400E4308CF@laposte.net> References: <33086926-C7D7-4D33-AF86-4B0D48977555@laposte.net> <140607105445.ZM24783@torch.brasslantern.com> <140607123006.ZM25086@torch.brasslantern.com> To: Bart Schaefer X-Mailer: Apple Mail (2.1878.2) Oh yes, I had not seen the notice about the sourceforge tickets. In order to look into the code, I want to log a bunch of stuff (my = favorite way). The debug flags I see mentioned in the INSTALL file do = not seem relevant. Do you know what the best way to log stuff from = within the functions would be? Thanks a bunch for your help. Nicolas Canceill Le 7 juin 2014 =E0 21:30, Bart Schaefer a = =E9crit : > On Jun 7, 8:00pm, nicolas.canceill wrote: > } > } Are you saying I should file a bug with Zsh about that? >=20 > You already did, just by sending your first message. >=20 > } If you think I can assist in debugging, maybe you could help me find > } the relevant portions of the Zsh code? >=20 > Well, it's all in Src/Zle/compmatch.c, and it probably has something = to > do with the functions bld_line, pattern_match_equivalence, or = join_sub, > but there'll be a pretty steep learning curve. Dive in, if brave ... >=20 > I also recommend testing with the ":" command or anything for which = there > is no complicated completion function defined; using "less" for = example > generates a lot of extra irrelevant passes through the completion = code.