Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh (live version): setting globassign crashes completion
- X-seq: zsh-users 20244
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: zsh (live version): setting globassign crashes completion
- Date: Tue, 2 Jun 2015 15:45:09 +0200
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=D25MxIc6AKawI0KwugAomU/53l3g4rATJodJwh2TSZk=; b=nyqp7Ys7fodnY9jqJtf4uX4v1ufeoV48+/k1K3eLoDHdGT0bS9bkNkPAXdv/EbgK6j 2c8teGRnCKbHclXvdG66AAdK9Co8PVIinkjAfyH4rSzGo7enLW3eTSQAaVJw2sSEBkYL ExcdvUOHZPVrucq0CM7F9+r6nelpA+VMp9+WIyLSQxnVFgq/QKIAL/EbeByY0hU1O3ak E1R2mnLYSX1MVR1fV0qRZoghp3sngLwegrb3xqyJ+FQk3E/8RX/zw2JBo1Dn6jZ/orkv APYxsWw+3LCc/B+4bhyZ4ZE9Vck3cTnrKMqh0Tg9Oh+VaA7PT60Ewja+5+GFd/KLf7Od EVKg==
- In-reply-to: <20150602143606.346a5abc@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <556D9EBE.4050702@gmail.com> <20150602143606.346a5abc@pwslap01u.europe.root.pri>
On Tue, Jun 2, 2015 at 3:36 PM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
> On Tue, 2 Jun 2015 22:17:02 +1000
> Aleksandrina Nikolova <infinite.craziness@xxxxxxxxx> wrote:
>> Today I installed the latest git commit and was greeted by:
>> _main_complete:388: _lastcomp: assignment to invalid subscript range
>> after any completion I tried to do. Removing all configs (global and
>> local) fixed the problem so I started enabling things one by one to see
>> what is causing this. Bottom line:
>> a default setup with only:
>> autoload -Uz compinit
>> compinit
>> setopt globassign
>> gives the above stated error. Sorry, I don't have time to further
>> investigate, maybe someone else can look it up.
>
> We certainly shouldn't ever depend on the setting of the glob_assign
> option within the completion scripts, so this fix is a sensible thing to
> do anyway and ought to deal with it.
>
> What is actually triggering the error is a bit obscure,
> though... nothing obviously relevant has changed. I guess some new and
> otherwise unproblematic assignment just picked up this alternative
> meaning.
My money is on
"33816, 33819: GLOB_ASSIGN changes integer and floating type variables
to string scalars"
I checked that my patch still passes the test added by those patches,
and it does.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author