From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RDNS_NONE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.4 Received: from authenticated user by zero.zsh.org with local id 1kinRH-00051d-5D; Fri, 27 Nov 2020 23:46:07 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oo1-f47.google.com) smtp.remote-ip=209.85.161.47; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-oo1-f47.google.com ([209.85.161.47]:42403) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kinQx-0004mo-QG; Fri, 27 Nov 2020 23:45:48 +0000 Received: by mail-oo1-f47.google.com with SMTP id i30so1438797ooh.9 for ; Fri, 27 Nov 2020 15:45:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Fzs5Ras9pLIlsEnPi5Dqi7mAhxiMSBf8i/oYMecQMpU=; b=xI/KoL1mmPmL4JBsBacbAgsdQzJjdmpZi/X1for1SmYq3DKEhDXDuIS1fU4Rl2/bIi nfAC8cJObj4g7w/hxvt8ngYJtMsp1fbF/mWh9lbl1IgwYug+iUX+F6tGVKpgJK+DgRvP lly0rOk8HsE5NOmldv4T2Oj5CXQvlWLB1+p8UX9hcQa+iDbEK9Mpq5GcgoUr8HMZ4yj2 q4DJ01rO0OqXggkGxhQZx+8qr2ql1g+jqk16X5K+RyTQpN6LFWRd3IV20ynXrs4yYNE0 /I4SYBfH0qn4/EVDY51mONvtQa/yM1W9CtgQ0cTtDYK8prkuU890TUnhL0coXMleh+PY Xtqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Fzs5Ras9pLIlsEnPi5Dqi7mAhxiMSBf8i/oYMecQMpU=; b=LUf2ee/fUos0YwqI7/xcGs3MDb6wNcN8lwTaTZX/rL2Zif5Sl/TUda5qDS8Zct2ZzV wb/B/JKBGLXXtLHapCpZXdotoCTUu1LHI82G2SGMLCfHElzoL/Px47MIHbSAyAhhVLzE k/O+QSBT6gUv0MvZYIv4mBIQ5+It+uI16x3hIqOMjKC9rgxeaOjSNqerJoEDyiBymbaq OIVkdObQnTt5BeOYhJESKKhVqXd+QYUlVVP7PwO24EDIj+IrTinekkigLWsm8GV+7pWb vSl5JK5x1Jrka87yH3xlgijmNiKzVIiF02/YcuSjXkm0eONZeApSPAcA78g5+eGHcQ2e ljYA== X-Gm-Message-State: AOAM532stv8HecpJvua+0LiSWNGJaCFRM3GLeAteb0H0ycHYOIootJ5+ eRRIygQF3n5Adi+nf/a54eibSEAFk09zbtxUI4pzwQ== X-Google-Smtp-Source: ABdhPJwLg5quU57Pq+aAWRr4UqSJjHtUQ311Ob1ETNQj7Kdt/GpEqzJIk+bnuBa6LbqxCgBZcr5cNWgw9WegVLgDUaU= X-Received: by 2002:a4a:cf08:: with SMTP id l8mr7695522oos.29.1606520746402; Fri, 27 Nov 2020 15:45:46 -0800 (PST) MIME-Version: 1.0 References: <20201127154439.GC26720@tarpaulin.shahaf.local2> <3246311e-c4b2-48f3-8baa-d271591f0029@www.fastmail.com> <564f91d0-fb87-4472-a566-a5e261ef8ae7@www.fastmail.com> In-Reply-To: <564f91d0-fb87-4472-a566-a5e261ef8ae7@www.fastmail.com> From: Bart Schaefer Date: Fri, 27 Nov 2020 15:45:34 -0800 Message-ID: Subject: Re: Bug with unset variables To: Daniel Shahaf Cc: Felipe Contreras , Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 47683 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: On Fri, Nov 27, 2020 at 3:38 PM Daniel Shahaf wrote: > > Bart Schaefer wrote on Fri, 27 Nov 2020 21:33 +00:00: > > On Fri, Nov 27, 2020 at 1:00 PM Daniel Shahaf wrote: > > > > > > What two ways? > > > > 1) makes var a local name > > 2) changes the result of ${var-other} > > See the third hunk of workers/47576 in combination with my last answer. > > The best way to move forward would be to write a patch against the Test/ > directory that specifies the proposed behaviour. Use the "f" flag so > all newly-added tests will run, rather than just the first. > > Daniel