From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3132 invoked by alias); 28 Feb 2017 16:39:14 -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: 40669 Received: (qmail 1547 invoked from network); 28 Feb 2017 16:39:14 -0000 X-Qmail-Scanner-Diagnostics: from park01.gkg.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(205.235.26.22):SA:0(0.5/5.0):. Processed in 1.358793 secs); 28 Feb 2017 16:39:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.1 X-Envelope-From: SRS0=4aaf=2J=brasslantern.com=schaefer@bounces.park01.gkg.net X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at bounces.park01.gkg.net does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new at gkg.net Authentication-Results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=brasslantern-com.20150623.gappssmtp.com X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=pNu0Pgvz6wYfph3STP7h1cdzUnA+owHtZAXYgnfzYN0=; b=ITbrtQHDWeQdkihzzyspi8TqDMg5g58HChmu9aa7HkrlkQ8VNk0Wkp6HHBRTOs1COo 0aOlJkU+o6KxIkSTZrrPQeunvc12tshf4necxhKlfUX0uxUl2+8E+iGeb/jnXBjASqwu 4F7ffMtLytuEI3WYa6bc0qtWEtRR1xtS0cER84UULjaR0If9NXourNAIqFyfTCE7FuNO ZTL3hiq0ccJuIR9jB8FrKCMyF6ZJHfgLyOIbHTQyu59vA7Cs4CpNOLsBWZOVdHk2HmHT NJVjWm66q3wMxeIfKCS37vicWPt2ibtJf5wKyc7iT2Rdz+U9bXDdomT8MuCG59KPL401 5pzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=pNu0Pgvz6wYfph3STP7h1cdzUnA+owHtZAXYgnfzYN0=; b=h8pUc1yqCzyuTB41Ze0PRlE1PkdAGapjo/F5KKUq540tO5O0X2JHiU4NbOmrsvFXDA dsx5xeFIRuRDH2MQ9f4wG3oRTXLtu4qaX138c2aiLhMYJGcmg1ZY847qRlnvHZmBUwAG 0Y+3yNYrKez64Bk+eMr/WsAojYPJfxE0u3RXYi5/neSMJfppFg3EJEBDq4zzqywlpzeI xo2OB8rmxIKipdqJuNiTvWFpnI9/a2rYDGtJ8rqvuMw61VbdbYG0L3wT7OQUgXmntrip RwNwWrjMp8Arc4B0fyFyV7y7u8WAl7ck+8Er4QwLwBLkMMxaNjyjY7DlM3wFttmsgZMS mvdA== X-Gm-Message-State: AMke39m8VRlGy9pWHcjtuwpo8DWtJir9Y3vmweDpNcsQ853DozKA09J7j5/Y58EcgwWxUg== X-Received: by 10.31.169.16 with SMTP id s16mr1169803vke.21.1488299922046; Tue, 28 Feb 2017 08:38:42 -0800 (PST) From: Bart Schaefer Message-Id: <170228083855.ZM7434@torch.brasslantern.com> Date: Tue, 28 Feb 2017 08:38:55 -0800 In-Reply-To: <20170228074549.GA8753@fujitsu.shahaf.local2> Comments: In reply to Daniel Shahaf "Re: workers/40626 (commit 6c476c22) causes multiple test failures" (Feb 28, 7:45am) References: <170225160455.ZM15040@torch.brasslantern.com> <20170226061620.GA3729@fujitsu.shahaf.local2> <170226114216.ZM4201@torch.brasslantern.com> <20170228074549.GA8753@fujitsu.shahaf.local2> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: workers/40626 (commit 6c476c22) causes multiple test failures MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Feb 28, 7:45am, Daniel Shahaf wrote: } Subject: Re: workers/40626 (commit 6c476c22) causes multiple test failures } } Bart Schaefer wrote on Sun, Feb 26, 2017 at 11:42:16 -0800: } > I suspect this is what comes of some attempt to optimize assignments. It occurs to me that $options et al. predate the += syntax, so this may just have been overlooked when adding array-append. } For future reference, James (who reported the original bug offlist) has } since reported another symptom: } } % autoload -Uz compinit; compinit; setopt listambiguous; options+=() So here's my question ... why would you ever attempt to append to the options parameter, empty append or otherwise? The options hash always contains all possible valid keys; you can't add/delete a key; you can't duplicate a key; so it absolutely never makes sense to append options. I was half of a mind to flat out make it an error, as these are ... torch% options[bogus]=on zsh: no such option: bogus torch% options[shwordsplit]= zsh: invalid value: ... until I realized that all the other zsh/parameter hashes had the same problem and some of them *could* sensibly be appended.