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, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6034 invoked from network); 1 Aug 2021 14:27:48 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Aug 2021 14:27:48 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1627828068; b=1gQzj2dMheuP/cJre2ZNokUmyLn8AYBo0OGi2Usr1wA8j6lywi8OPf4qmUme95t6hEptSy5qMo 0OkpcTRL06j3tsHTcEqT0JnZjfKdC3/7Bxl7T52B/gRgioNW/gya8Wx1++gysVaJ1PgjPzA3MS 2WceH6fgjFLuy5WHRdSgBbhdym0cAzPNRMOiHLzWGdK85de13CEVxEFF88y4Ssn44SqyO3i+XV KxN0wpb1NeLVvf3awh1tSV5MgceRGiwOMhrHV54wv5T2/rnjCO+P3BSYKk5y/uIVgH825LtBoj dxIURPNYIRtc9d6NT/ujnQSn3c86vWAMCWGpaLS2X01bHg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f54.google.com) smtp.remote-ip=209.85.167.54; dkim=pass header.d=gmail.com header.s=20161025 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-20200801; t=1627828068; bh=T3ssY5NhreRJePHPQ2WOBasE2nAkqMusE8D5+YpBhPA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=YK5yZx3maFuijoVL9AAs2JGJ97QIqZ7DHOyLTjARYdXeqQAHS+4ivqWTC6Hf3Sylnek1FdmK8U QoX1VaKdb7Y8eSx1zVT1CEDXV1VhObroaDYZXG/7VJMmappP4uLQbrhZ6vZTAZ7wjtuJIvQGmR iTXkYDLjF91nikmwLoB9bN7oIGank4LR/K3224lizKdsLYcTVVDrSDiHXhYyFLCPbhdj8K5s8W r9OwMbCNXJmAZ7nhoQQ3JzYsG2e6XiRsfEu5S7ws+d4uCVUC3leDhNK1BPa7gmkMdEqUdpioxr 5eHlI1NWGbnoOx7zrYZHQnknAXXEOglANta3HRewnyhwcg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=T3ssY5NhreRJePHPQ2WOBasE2nAkqMusE8D5+YpBhPA=; b=N2yj8pIcDLY3RSxFkLtG410r3N VmtW7qxWxQDhP0vH4RME6uW0RyCLo8UJsI5tMP99CnjHdwI6A41Lx1ThRCi6VYL2sJimT9B3xOpEo OI5CQIJdrbcGZYZrvhfR8DibbjZm1z1lHBWL3pRN7mjrpb9SlVQw7XZ3cXvxy3bXJXRvUsl/g9Eb9 u32MwEXzobHBeItIe3pVvwHTHuR+drOBWOCWPTYx0LL42m5kVpwxfoGFO/Fu2oqipGFpfuTSet0fp ddlW6dO603AgE/E9efD3kUCLqd1rNg1EWvar9yfOgQU+CvV1dqHGGYo8SvFFULoesAvzdNtBJs0Yo egATDszw==; Received: from authenticated user by zero.zsh.org with local id 1mACRO-000BHY-7t; Sun, 01 Aug 2021 14:27:46 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f54.google.com) smtp.remote-ip=209.85.167.54; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lf1-f54.google.com ([209.85.167.54]:39558) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mACR9-000Azu-HT; Sun, 01 Aug 2021 14:27:31 +0000 Received: by mail-lf1-f54.google.com with SMTP id t9so15811822lfc.6 for ; Sun, 01 Aug 2021 07:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=T3ssY5NhreRJePHPQ2WOBasE2nAkqMusE8D5+YpBhPA=; b=HdwcWDPvYBX7u3jh+9S3t5hABZlc7rFf73eolWSnfvDqu5Uhck+hKqt3226xrEiEQv HyD/3/J8jARSSCzEah1PItlsjE/9fdHx//Bx/GmhjAkN5HdJh8YDyqmIK/6UecVOVESv aIVIiFxtOKTkhGpak6yp68zVw1syB0Jrj2B2F8r1TSLxpgVyGvI76V7mY5xYEtiEDxe0 LkhBbpzngiO2IMYV3GPF50xPK72TmTRkRlvgYbWcOxsaEPCKX249/no/JBj3ojFo1iZD VhHanE4bzlG+ngDZcaVAHxuyrZrw6L6Cr22DEA9RemY1nM70yUYthlRqvXaHNzBQEO2I D8aA== 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; bh=T3ssY5NhreRJePHPQ2WOBasE2nAkqMusE8D5+YpBhPA=; b=ZVs+WzAy4uwudKMASbWz/1RzS11BeytTGCKT1aBbHC09VI/xfkSFcYH3ujzli7tlfo CDIfoq9OTlKQKRHI0Kw4JM2aKHiMVfDMXK+ZBofRteBkbh1NGVkdQnIzgokcaoBEBD9j TLrqtj7Yje1PHqE1AWNYcGA+X8xGwx0tHKYNJHUwiYFPvKQqpsu6DPn4YWmGLcqWTWph s+jqUxvyRVhZp41IYY2eOKr6fa0wgDuLfmY+xvNRKfHt4WVPC9RNy0AH0K5TNFvM1vO8 qrsB3nPOqVWq1PoHaxcPOAPBtyNJz3ruInrzHcW/EruZ7cAlfYKzwOrpvb3xo98FqqZF ooAA== X-Gm-Message-State: AOAM532wzhxOOQ0zUYzewMVZoXBJOUT8g8gHfpDBUGajlz6SZ+1ro3bh XwH9lAv2WCXSsUwzyCK2KB0rb40ztWCqUqy/+SkW/YfW X-Google-Smtp-Source: ABdhPJy5HjBAVNPNYqCskGtS6Z8anc4x75AnbTdVV6kO9Svyp3VKry06O4ZbB/J/RUQMmx5Zm3bVSRkqLHbCBb54IWk= X-Received: by 2002:ac2:4ed3:: with SMTP id p19mr2294635lfr.307.1627828050029; Sun, 01 Aug 2021 07:27:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Marlon Richert Date: Sun, 1 Aug 2021 17:26:53 +0300 Message-ID: Subject: Re: [BUG] _gnu_generic completer produces broken output To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 49225 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: Actually, maybe I'm just using it wrong. This appears to work correctly: compdef _gnu_generic -default- -P "(${(@kj:|:)commands})" On Thu, Jul 22, 2021 at 10:39 PM Marlon Richert wrote: > > Fails with both 5.8 and the current master branch (commit d9e5ef020). > Looks like the same bug as workers 48091. > > % autoload compinit && compinit > % compdef _gnu_generic -command- -P '*' > % pip3 - > --cache-dir > --cert > --client-cert > --disable-pip-version-check > --exists-action > --help > --isolated > --log > --no-cache-dir > --no-color > --proxy > --quiet > --retries > --timeout > --trusted-host > --verbose > --version > > > > > > -h > > > > > > -q > > > > -v > -V > -- Store the cache data in . > -- Path to alternate CA bundle. > -- Path to SSL client certificate, a single file > -- Don't periodically check PyPI to determine > -- Default action when a path already exists- > -- Show help. > -- Run pip in an isolated mode, ignoring > -- Path to a verbose appending log. > -- Disable the cache. > -- Suppress colored output > -- Specify a proxy in the form > -- Give less output. Option is additive, and can be > -- Maximum number of retries each connection should > -- Set the socket timeout (default 15 seconds). > -- Mark this host as trusted, even though it does > -- Give more output. Option is additive, and can be > -- Show version and exit. > --cache-dir > --cert > --client-cert > --disable-pip-version-check > --exists-action > --help > --isolated > --log > --no-cache-dir > --no-color > --proxy > --quiet > --retries > --timeout > --trusted-host > --verbose > --version > > > > > > -h > > > > > > -q > > > > -v > -V > -- Store the cache data in . > -- Path to alternate CA bundle. > -- Path to SSL client certificate, a single file > -- Don't periodically check PyPI to determine > -- Default action when a path already exists- > -- Show help. > -- Run pip in an isolated mode, ignoring > -- Path to a verbose appending log. > -- Disable the cache. > -- Suppress colored output > -- Specify a proxy in the form > -- Give less output. Option is additive, and can be > -- Maximum number of retries each connection should > -- Set the socket timeout (default 15 seconds). > -- Mark this host as trusted, even though it does > -- Give more output. Option is additive, and can be > -- Show version and exit. > --cache-dir > --cert > --client-cert > --disable-pip-version-check > --exists-action > --help > --isolated > --log > --no-cache-dir > --no-color > --proxy > --quiet > --retries > --timeout > --trusted-host > --verbose > --version > > > > > > -h > > > > > > -q > > > > -v > -V > -- Store the cache data in . > -- Path to alternate CA bundle. > -- Path to SSL client certificate, a single file > -- Don't periodically check PyPI to determine > -- Default action when a path already exists- > -- Show help. > -- Run pip in an isolated mode, ignoring > -- Path to a verbose appending log. > -- Disable the cache. > -- Suppress colored output > -- Specify a proxy in the form > -- Give less output. Option is additive, and can be > -- Maximum number of retries each connection should > -- Set the socket timeout (default 15 seconds). > -- Mark this host as trusted, even though it does > -- Give more output. Option is additive, and can be > -- Show version and exit. > % pip3 -