From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id df86ee5b for ; Mon, 15 Jul 2019 22:09:02 +0000 (UTC) Received: (qmail 6725 invoked by alias); 15 Jul 2019 22:08:57 -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: List-Unsubscribe: X-Seq: 44539 Received: (qmail 18106 invoked by uid 1010); 15 Jul 2019 22:08:57 -0000 X-Qmail-Scanner-Diagnostics: from mail-lj1-f173.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25510. spamassassin: 3.4.2. Clear:RC:0(209.85.208.173):SA:0(-1.9/5.0):. Processed in 0.742867 secs); 15 Jul 2019 22:08:57 -0000 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.208.173 as permitted sender) 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:content-transfer-encoding; bh=4aAsRVTmTvfql04YlvvJzhUn1sP1m5iIYbn//LnBcZs=; b=qy71a9jr1XXIR/Ds/V3/F0ub5me14YME1RIW/6u2wsGUQ3pWix2NZjokdXBIoATPTl y9Zl62jo3pwvhrM+qtqUf4l78iEz7TYCHP/xqhr6mRXIRQghRv2wcVLSIc4UVICeLS9s FZ1J0NEFPFXvwKRy1iBzH5umS5FaVsNCfRI88iVByDYB+CtiXzcj1e23KDX1s1EN7P9F 24rPWb1gm9Ht2RSYt3ZgptNszHNmwOy5dV2o7SaraXqLOYR58YGCp40z5JG4imB56pJ8 0JDQNx7DZI3O1dBBHPKLHmVyaZ/5fnVlJ4pCbrSgj5+viZSWEX2AGcUy8VQH9ihIjLtd 5Myw== 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:content-transfer-encoding; bh=4aAsRVTmTvfql04YlvvJzhUn1sP1m5iIYbn//LnBcZs=; b=eAAi4n3Fwc9k/4/rMFOpbgUNwlmtPilS/pB1pbJk703RDw5pJblyziUkgUyFcshcu1 J8Bk+AGD05NR+JppsvgDwpYVXezNvjkrq6MTbNCYIE9h3YDDmKls/L1su6Nic1vToFnh hbc6KpK7+TQfj/uUOAJUYlix8oD4TyXE66n+QUvVeEU4CcUL8GJ/sPg+snst68TxV9zv Soc+rsKIXC++zINEyqjtBfrQg2NQCA6Shlqp9pifaUx60o2M0uJxo5umspFmsPz8rSWF 259Q/v1IpYn4U2cCN++X1ETP/VQd+c4pLWPywwahnprYWbGtw59ev4s1g9fMmhWWKsKN 49ew== X-Gm-Message-State: APjAAAWPwcchRwkOVnVFDNTRFicF5EV20Tun/CDIrilsOXJazSvNRlg5 +VdRZ+Skx4GdVXx8Ls/u1R8d+HvI6Z8kK4USZASWvA== X-Google-Smtp-Source: APXvYqwsxb4Txm0kGLvDTbjV2xDgjDppQxsGWn+Pffazz8Gi/A2BRHX1DsAwlx/ZaNX+Ub0EXANF1BekyxN0124H0vA= X-Received: by 2002:a2e:b0e6:: with SMTP id h6mr14839570ljl.18.1563228502483; Mon, 15 Jul 2019 15:08:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Mon, 15 Jul 2019 15:08:10 -0700 Message-ID: Subject: Re: PATCH: function copy To: Sebastian Gniazdowski Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jul 15, 2019 at 2:51 PM Sebastian Gniazdowski wrote: > > I have a somewhat related idea which i will now invoke because of the > nice use case it has =E2=80=93 a module to add before and after set/get h= ooks > for parameters. Ksh has a syntax for this: ${varname.hookname} IIRC. The difficulty with adopting this is that zsh's lexer has the definition of an "identifier" fairly deeply embedded, it is nontrivial to add "." as a valid character only when inside curly braces.