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=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5507 invoked from network); 25 Oct 2021 21:06:56 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 25 Oct 2021 21:06:56 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1635196016; b=YbcW4MulCosnfVNCdWBkqdwvHQlT8/AG/tR60FnkqTVTdyUMIq/JkdHFhmDWHJ4DM0wrI6OSzy Y9SCg3RWKs6Eq3mNDNgDA/0SHAd+umZfbEoN3C4/tRQDgE4GAbHwiTcXxplylQcyOOiN/JO8ZB 1c2qUp9ifKtsbed9TyZnKCXrWHV+7nn3vaDK9sMmB1Z/MLHw6GkFVRtxQ9AzFcCFX0wVzVyyL6 fvLqJYnSWWGVdC67FrmLSo6EKva0hSZn3xye+8DfOZwo6i2+SQFWKUYGI4h2pE9atLeTMQTVDl Hx21HIFQY5zxCE9Go62BXNB0WrJoyzBEB+RiuN2HhmaUdA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f170.google.com) smtp.remote-ip=209.85.219.170; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1635196016; bh=gd61sIpNB7wrX0JTw+tgdzRCf3DXFZu+cAXnQNIwPuU=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=JeMpE7JmIJ2xenPWzL112n0H76iceMjxcy6JzDQHTw+vJwpojdXN3kOQt9Q2jbJAeJhoGqYPqJ pAEM8umk3aU5D8LK9s0/je/mHEDmZkufSa8Rjgixf3cyifahFdSjo7c2N64lS2DZpnXMyRnUqS E6VIvnu5RYJWlZjgo+wNSnWAnauXkKqHSXCcn7Z1ZzL7x0sHi2MdRTXPFkjLChh2wwC2t9guGO jC6Ezhp09G4RMX/9pZqqbnszigvpRnjJaYeUnkzlvtUxuuSvTnK/xgttTNiQdvJfiJRjA5+RNZ BmCMnPbrM+M9R0NQorgSzD6gm1F85JSp8KZ+cj0InoarUg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=q4c2Ged8Hn0niUw2vDSPvC4YDlvKPV7U4wtvIsyPHaY=; b=Q1elv+03td61bhIhlJGuHF+PK3 L5BsYEEEwkOSlike79Up07ijyglj61LJqKin/PvmSR7OYlX1pyq5etSKvZN48HAecOQ+eUSVWlfmz 1WUW5ceGC89paOvoAP7hddnLCf9wr06aFm4YfSrzkVg/R7mbwCdmAgQus22PLjDQRMdxhWlYKo4Bq Ivhx8HmsDNXgGRSf8zsE1ilWnJoVQAcdXgeloxmF9lpNnDLsriuek2c7dojiE3HNAOXoeaDvNdlFF pvNTvDWqD5ktqAxSCNoApztCgJ8r+vQyiYpTuMbxPJJfRvacJIlb6nj4wxgqHWYSbd+IL9qMzb34E Uf9mxFww==; Received: from authenticated user by zero.zsh.org with local id 1mf7BI-000Py3-E5; Mon, 25 Oct 2021 21:06:56 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f170.google.com) smtp.remote-ip=209.85.219.170; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-yb1-f170.google.com ([209.85.219.170]:33720) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mf7AU-000PEx-KF; Mon, 25 Oct 2021 21:06:08 +0000 Received: by mail-yb1-f170.google.com with SMTP id v7so29536841ybq.0 for ; Mon, 25 Oct 2021 14:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=q4c2Ged8Hn0niUw2vDSPvC4YDlvKPV7U4wtvIsyPHaY=; b=UGmHtP+XScB14GZ+oWIuBEW9H5Z0hyzNAm+JeDl9CGfShOxb10TlRn4Jl8QcSOS9db DphUVlUihjFU4o3taWtC0dTXLcmW7Vxgm3JNNVbJTvZNEApONi9NDrqAwmypvzGw9i94 xzXoDnNUe3gDcRaR+4FCA0bRDQgAQX7WjiDDiz9ejWcGRxgYRqb4lo9UVZlmR644zTZ/ 1/MppOSwhJTMRqmVl3LW2gxtEc6yl49Lk3Ak5jK1uMDst1Ewmox1Lt6BKSJhPjiP/mdj N9kirBQTDdfX1ij03mDnafj7tXGCUIErKnLCYBDXivO56b/noLSN9+gFlNKLHULGezMs bKSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=q4c2Ged8Hn0niUw2vDSPvC4YDlvKPV7U4wtvIsyPHaY=; b=t5BFGD1leNBAZ4D4GkBxwpJKHJc5YshODduRzvo3URj3rucOY2Ntc6kK0a8of62PLA GZipIee8SSRiymC/yM7Fdk40s5RDtDr22mn0zpvDKJk/sQ1ENSZaUjxCfbrmUcYDmPhA Qr5kTrQYzhXBFl4WeJ5XZUuKKB4M9fKKfBykQalIUek3kBs7XbzXN3LxnZ26abSGVds3 rMUOV4734qfkY1rDaIDBHxZNOPUfUMABsGUjxjyboLMLrzy4399brKZaQzw9a55p2di7 jK3LnZdsWsH7G73c8Om5cGlKGyzy5h9chQmtHZoAaW7ZJqIDNcm1i7oeZ3R4FGECefRv dGHg== X-Gm-Message-State: AOAM530ndWtUDfMZToG6Ei4nyRvrSOBllj3H+zEj2orN7dMFDq5T44+j 4R44Hwhz8YHkNa3KE2k3PldkHq4Fi4NHDlZ/+Y9Rqgj20nc= X-Google-Smtp-Source: ABdhPJwghuwXwPT9Q8JXrErBo6GGbx0oPE6hYGXbNc8LQm205ocKV/1MPu39tUfTcUvBBVKAJZTtpMKzLs4PGsLHWD4= X-Received: by 2002:a25:bd93:: with SMTP id f19mr18403812ybh.23.1635195965583; Mon, 25 Oct 2021 14:06:05 -0700 (PDT) MIME-Version: 1.0 References: <20211025194508.GB8612@tarpaulin.shahaf.local2> <048e0b3d-6da9-4905-b1ad-253647cea0d3@www.fastmail.com> In-Reply-To: <048e0b3d-6da9-4905-b1ad-253647cea0d3@www.fastmail.com> From: Bart Schaefer Date: Mon, 25 Oct 2021 14:05:54 -0700 Message-ID: Subject: Re: Disabling null elision (was: Re: Most Recent File) To: Daniel Shahaf Cc: Zsh Users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 27293 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Mon, Oct 25, 2021 at 1:41 PM Daniel Shahaf wrot= e: > > I don't see why a function's caller should decide whether the callee > should or shouldn't elide nulls. I think the function's author should > make that decision. [...] Having some > way to provide packaged code to others in a way that the code will > run under predictable syntax would be nice=E2=80=A6 Isn't that what emulate zsh [options] -c 'autoload -U packagebootstrapper' is for? Yeah, some syntactic sugar would be nice (e.g., it's a pain to have to quote the argument of the -c option, rather than [say] using a code block in braces). Anyway, we haven't yet explored all the ramifications of changing null elision. What effect does it have on $(...) in an array context, for example? Any?