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=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 9468504c for ; Wed, 12 Feb 2020 16:51:49 +0000 (UTC) Received: (qmail 22455 invoked by alias); 12 Feb 2020 16:51:39 -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: 45420 Received: (qmail 15683 invoked by uid 1010); 12 Feb 2020 16:51:39 -0000 X-Qmail-Scanner-Diagnostics: from mail-yb1-f180.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25718. spamassassin: 3.4.2. Clear:RC:0(209.85.219.180):SA:0(-1.9/5.0):. Processed in 1.847884 secs); 12 Feb 2020 16:51:39 -0000 X-Envelope-From: dana@dana.is 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.219.180 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6pk/Lj6JruACTDN8bHCC9bEATobGImWgC7vK6/ZRKDA=; b=YnhpVtv6Sgg8BQbMrE7cYwHiqNS6MRd8gTMKXZLbgpAoBM+gLBmtJYjaB9Xg0iMyNf 3Vk4CrCWKTZGpOtwQyDnyAWU05uCa/J9KE1n/0RarfR8TgimJqmEFt52SVgG29XjZAhE 40K1NFO1RPerZgsKR6rL6A9eL/lWQ0Do0nPvGzvRSFiPp5O6/FpHuKQis26Rb6X+HNuY o579AKrWjbzJ5hm2RkKGE2y5Ec1R5+vF3Cm8s1GqfFdZ2KnzZ28ryw7VbztX8HM7qtMh gnNqtRifBorqEBHDDm2dTJeyN89U2qXjGarmyHApizBkMiE7jdL2GtWTRI23k665SWpx Swbg== X-Gm-Message-State: APjAAAWtZYMxlnuoSMlHgA/HBdKLbZR1vM0LY0hPqNJFnn5gGZAw7xam dAB/xze/Sw0y8RWCbmvwhT4jbV6/jJ5P1w== X-Google-Smtp-Source: APXvYqxjSqQLecXjGTuGxtNXLI0QgWxBaNnMpg70223epWDMcA5vy7Z5ml1puVy2IT2UfIddLwrHyA== X-Received: by 2002:a25:cf04:: with SMTP id f4mr11006975ybg.508.1581526263540; Wed, 12 Feb 2020 08:51:03 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Setting/Querying cache-policy (was: Re: sudo autocompletion) From: dana In-Reply-To: <20200211102841.58f86c93@tarpaulin.shahaf.local2> Date: Wed, 12 Feb 2020 10:51:01 -0600 Cc: Zsh hackers list Content-Transfer-Encoding: quoted-printable Message-Id: <6E4D866E-A65A-418D-B3CC-F4B2D30DCE28@dana.is> References: <912d22db-8a8f-90f2-6738-f9f395994dcb@gmail.com> <1770be62-54d8-70a6-8b05-cfc98faa9b9f@gmail.com> <20200210030219.527a3ccf@tarpaulin.shahaf.local2> <20200210192033.1bae83dc@tarpaulin.shahaf.local2> <17405-1581415941.062275@CNCV.ghXS.ifR-> <20200211102841.58f86c93@tarpaulin.shahaf.local2> To: Daniel Shahaf X-Mailer: Apple Mail (2.3445.104.11) On 11 Feb 2020, at 04:28, Daniel Shahaf wrote: > Speaking of the cache-policy style, why do the following places use > ":completion:*:*:$service:*" in the =C2=ABzstyle -s=C2=BB call? = Shouldn't that > use ${curcontext}? The former method seems right-ish for *setting* the styles (as right as = you can really be, at least?), but not for retrieving them. Probably just = someone copying and pasting without thinking about the implications? I'm sure = that was the case for the ones on there that i wrote, anyway Will fix later dana