zsh-users
 help / color / mirror / code / Atom feed
From: Thorsten Kampe <thorsten@thorstenkampe.de>
To: zsh-users@zsh.org
Subject: Re: Tab completion error after upgrade
Date: Sat, 27 Jun 2015 12:09:11 +0200	[thread overview]
Message-ID: <mmlsoa$2am$1@ger.gmane.org> (raw)
In-Reply-To: <150626145238.ZM21872@torch.brasslantern.com>

* 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


  reply	other threads:[~2015-06-27 10:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 18:25 Thorsten Kampe
2015-06-26 19:06 ` Peter A. Castro
2015-06-26 20:35   ` Thorsten Kampe
2015-06-26 20:42     ` Peter A. Castro
2015-06-26 20:50       ` Thorsten Kampe
2015-06-26 21:52     ` Bart Schaefer
2015-06-27 10:09       ` Thorsten Kampe [this message]
2015-06-27 10:12         ` Thorsten Kampe
2015-06-27 16:43           ` Peter Stephenson
2015-06-27 18:35             ` Bart Schaefer
2015-06-27 19:34               ` Assorted TRAPxxx / trap xxx observations Bart Schaefer
2015-06-26 19:45 ` Tab completion error after upgrade Frank Terbeck
2015-06-27 12:51 ` zzapper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='mmlsoa$2am$1@ger.gmane.org' \
    --to=thorsten@thorstenkampe.de \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).