Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	autolearn_force=no version=3.4.1
X-Originating-IP: [82.20.18.64]
X-Spam: 0
X-Authority: v=2.1 cv=aIwN0uJm c=1 sm=1 tr=0 a=tQ56d2wE10i0ATcm3CvKvA==:117
 a=tQ56d2wE10i0ATcm3CvKvA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10
 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=pGLkceISAAAA:8 a=DDKMP9hY18Mc86-bZzcA:9
 a=CjuIK1q_8ugA:10
Date: Sun, 7 Feb 2016 19:06:01 +0000
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: Unexpected foo==bar errors
Message-ID: <20160207190601.16d43267@ntlworld.com>
In-Reply-To: <CAHYJk3QRVQ893fMP+4CmdapK10vx5gP581pY358KSQdR1-sZuQ@mail.gmail.com>
References: <CAHYJk3QRVQ893fMP+4CmdapK10vx5gP581pY358KSQdR1-sZuQ@mail.gmail.com>
X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Seq: zsh-workers 37905

On Sun, 7 Feb 2016 16:57:06 +0100
Mikael Magnusson <mikachu@gmail.com> wrote:
> % foo==bar
> zsh: bar not found
> 
> This happens even with globassign and magicequalsubst turned off.

The option is called "equals".  "magicequalsubst" is now redundant; it
allowed

typeset foo=<whatever>

to exapnd <whatever>, which would include =bar if "equals" was also set.
It's redundant because the reserved word interface does that anyway, and
in other shells the equivalent of the non-reserved-word interface
doesn't do it either.

pws

