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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13207 invoked from network); 23 Jan 2023 18:45:10 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 23 Jan 2023 18:45:10 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1674499510; b=fQiDp2gERXLSbN+WoUzE4ttomG6ispD3UkvI3NVIJzCdQwKRcKeCALNysQVApCuA6aKrXc8sVr ptkIiA3UIpEKtWY0zLnEwRCJacz+jWISb6UBUApGeaR+YtOjpb09p/x5CGaFfcQmLI6o6owOQQ DovpJBp88zhiMByosRBYJiuPViNgn8qY2tnnCT4wjQcMUzL78I0s29McKFzkXQI7ixAyrUFXKO izcWcnTE8Nq6sx8SB7bnsPfabAIE2LEG2x2gGVqZrlwYud85v2g6mEbzZqUsTJeH+HwJBS5zwX 4WDC2mwyxWba6KrTj874zG0o7+fUQQFsK1HsJUt9+9jO4w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f44.google.com) smtp.remote-ip=209.85.218.44; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1674499510; bh=Fv0Qxt9T4h0DvcYBPnCwz0JHuXbrgYQr8dSR7jh9L30=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:References: In-Reply-To:MIME-Version:DKIM-Signature:DKIM-Signature; b=H4M+9qLnUc8xgzPhmxIJAj1Ba3hvA0y/AdvKKTNb9Klc4rYOXXmbXzZc64Hk0MmxYj5Xv5kKHv wZipxeZDhniW+CO8z5Lx0Y1xjYmphNs+1J23rR85JUoxqrNrk3KrorHAj6d4Wzyq1Twfl36hjP TUdGu6en2ZOdwZ/P0Px7Hdqb/mW20Fi2UKEUH6H+SjBQqQJNhB9Lo6/k9YE3aseQyJ0HQaqeWj +SOomZJ1anUGmJbWjA88VamKyK2fFgxvYfBuifd5iMLABECtHssmF0DuhIDFoa3hrBbnKmvzrg iuuDq5/5NkyLKngfChKuDRqxYbeucMfU7tiEopmYxkOhoQ==; 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-Type:Cc:To:Subject:Message-ID :Date:From:References:In-Reply-To:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=cZazghToJp96RONGdMtX7KDofsWICrH1ezO2qhH1d6o=; b=OWNmBaUicqiLLcF3uX3ZhFc0Uv 3gLq/jhBjDgf6Ndr8PgcM8g3SI/zRb5rjUVR29jw/CFRihcQBSzzrsHQ3MMUcC5/QTVEC9FKcsZBP q7hJyvqfF+Oeslx8YZYzwpyWqUx1Q/naLqN6tYFlOEyyyQ0xvpORvzhnegQqQX8S0g/rlnyqRTPi6 awen9H5SAbxDiToO3Gzkdva4AhjZInVjg8bnrUT6/s5V5Ao7QswPM+WuIw/EGooRLio+pIgaIOM+O tyq76Igokbbirk+JfnOBKdbNc36998F7Iun5P4qdbFi6klhDrojo4Lc7EIo3WQ23CgHDNx6Fm89XN 44YOr6Tg==; Received: by zero.zsh.org with local id 1pK1oc-000KLA-Ev; Mon, 23 Jan 2023 18:45:10 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f44.google.com) smtp.remote-ip=209.85.218.44; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ej1-f44.google.com ([209.85.218.44]:41533) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pK1ms-000J9j-7j; Mon, 23 Jan 2023 18:43:23 +0000 Received: by mail-ej1-f44.google.com with SMTP id u19so32990136ejm.8 for ; Mon, 23 Jan 2023 10:43:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cZazghToJp96RONGdMtX7KDofsWICrH1ezO2qhH1d6o=; b=Ey9CW0Z5Nvb0bPJOz0Xu+vH2zatm21rDqGJ6MXoS9JCTiw5/XapREQs0xstAXK7Psk 2vc8cxHyIMzOQflxP9unY0noBFuX5p3JYVY/arsnQLlsscITpbrFrOhPkAkWmQoZBbnz Z29bLntVQ4k7UItb4UnIowDpl+Nne7XnpGbMb0Xj5Z3x9FoitT35cYSKPRfQedqrKlfA 9KlUNCPhMzhO1Dv05qRiEkvGRzwqlQTX95U5pH9TQP09zO54bcg/kyCZj0Q73Qa0Bj0X 5V+B385+SvRFTcuuMS7s7kF+IHDRABShwQC273OdCYM0G+zrxV0CY7s83i7odH7pRrNs agoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cZazghToJp96RONGdMtX7KDofsWICrH1ezO2qhH1d6o=; b=cUnc3tofQVM9kP38fKTnxZRWRCdoVN2YcTZsFcxgqEUYxnyDPd/4zJ4AdiA/s2ZmMe pz4KSWILzVnDEaMwmQilDfqjYwOvc/+2WYCs6ZOcstMYtskO/8232BSUt5Jdq4t8mpGr JYuBCSh+PFWvdz6I4sBogPeGAwN66UqZhtspYxinV+0V9YJaS/xyBYFUP345KiRBVP0Z /JIRKABw5GGbANYEJlGKYj1oeVOhVPng6ni/QIiPlApx+IJg70GokWy7T61FB3f2aUjM KaQcAyl8urD9dkL4fnjUq4hpnxbcPx4ch5tArzSRkZMc/E9xxIGixfjWGulhlsKEgnNc YkNQ== X-Gm-Message-State: AFqh2ko9sO3RB7K/lFW0FaoAXXuQQ7QtCDCSk8d6SlZRXiCLbroyW79f bGumWah2Pc2jKE6SvYHRqi6DpnMPTvQNB0SAxmNRNwRv X-Google-Smtp-Source: AMrXdXudxNc0FtXwWn/o0toKh1TDzE+O/46STaMuEseHEmAVcr+Zq2KvxUs5NEXPf3Dg76/AiqB/rXOj96hvwzYwjL0= X-Received: by 2002:a17:907:1751:b0:7c1:8a0b:f915 with SMTP id lf17-20020a170907175100b007c18a0bf915mr2312147ejc.42.1674499401958; Mon, 23 Jan 2023 10:43:21 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a17:907:c606:b0:7cd:3b2e:124 with HTTP; Mon, 23 Jan 2023 10:43:21 -0800 (PST) In-Reply-To: References: From: Mikael Magnusson Date: Mon, 23 Jan 2023 19:43:21 +0100 Message-ID: Subject: Re: A way to untie -T vars? To: Bart Schaefer Cc: Roman Perepelitsa , Pier Paolo Grassi , Zsh Users Content-Type: text/plain; charset="UTF-8" X-Seq: 28756 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 1/23/23, Mikael Magnusson wrote: > On 1/23/23, Bart Schaefer wrote: >> On Mon, Jan 23, 2023 at 1:47 AM Roman Perepelitsa >> wrote: >>> >>> Here foo is array-local-tag-tied-unique-hide-hideval. I believe it can >>> be untied and become array-local-tag-unique-hide-hideval (only "tied" >>> is gone). >> >> Hm. >> >> Another interesting note, "typeset -x" implies "-g" but "local -x" does >> not. > > There's no way it could imply it, since local -g doesn't accept -g, so > you would have to argue why typeset -x should not imply it (and do it > like 30 years ago) :). > > Checked the manpage and it says export is equivalent to typeset -gx, > which is true, but we could save a byte by removing that g. Noticed just after sending, but technically not true, typeset -gx +gx is allowed, whereas export +x as noted previously is not. -- Mikael Magnusson