From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28309 invoked by alias); 27 Jun 2015 10:09:26 -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: 20278 Received: (qmail 17856 invoked from network); 27 Jun 2015 10:09:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.0 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Thorsten Kampe Subject: Re: Tab completion error after upgrade Date: Sat, 27 Jun 2015 12:09:11 +0200 Message-ID: References: <150626145238.ZM21872@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p579b378b.dip0.t-ipconnect.de User-Agent: MicroPlanet-Gravity/3.0.4 * Bart Schaefer (Fri, 26 Jun 2015 14:52:38 -0700) > > On Jun 26, 10:35pm, Thorsten Kampe wrote: > } > } > Just to be sure, have you re-run compinit ? > } > } `autoload -U compinit; compinit -C ` is run from my .zshrc. I also > } deleted .zcompdump and .zcompdump.zwc. > > If you have .zwc files, you may need to delete and rebuild those as > well. There was some effort made to improve the algorithm that > compares the .zwc file version to the zsh version, but it still > may sometimes load a compiled function from an older shell. > > In particular there are no parens on line 143 of _main_complete, > which makes the error suspicious. The error comes from "setopt no_multifuncdef" in my .zshrc. Setting multifuncdef interactively makes the error disappear and unsetting the option again manually does not reintroduce the error. These two statements (in an otherwise empty .zshrc) will show the error on my system: ``` setopt no_multifuncdef autoload -U compinit; compinit -C # completion system ``` Thorsten