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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23880 invoked from network); 10 Nov 2023 14:05:58 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Nov 2023 14:05:58 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1699625158; b=Z9D0dragOPkcUI8eogEM4kZkGNcMNzuizACtmF4nx0Xf8DN75bIEQmbn2T54sipEJ2QzK7bqwN UDqYltwcIv7XtQUxjSbMeU2bUJmXajCLBjmfwV7OXIX9xwtyFJ/wk9/pKm3WKxw1qN+FrkBb+n 2DftBWOLCu7R8QXVKBz2xhPozWoTTGEHYyD32SOr0E0XRWqgKM4tqFFgbuFQTqKagBMXskvkxq FRMh7U0ktLcgaJYxbv42US+zj/pwWOTRUpYusXaHVMT+VucU7a/0URy0WvB7lcsejTykt88PlN T8rY9sIbeGHD7Xig9NvylNjHg+EqrlQKRySm/zrMDwXqcQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (csmtpq2-prd-nl1-vmo.edge.unified.services) smtp.remote-ip=84.116.50.37; dkim=pass header.d=virgin.net header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=virgin.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1699625158; bh=vkPGt5TBCnw9OyB3akNEd3rloiZBTI51Y0E+EHP6TBc=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version: In-Reply-To:References:Message-ID:Date:Subject:Cc:To:From:DKIM-Signature: DKIM-Signature; b=EqhDdvDDCS70zBeVYM8mx8jBr2its3uQ6xAnznAZnh13b5EaE+fWNyNXtxzVky8ndNdNe82As2 MQbKVIX+PGs0kokEiNa8Ed0CNgw4VQ0OhohbMmH4uLLvlr6Ty+qhA5wKbXtjsdO9BcsnEqRTnI 9CwrGX4iwwgC8K1c51/q/cnHO46Y8oYQmZxi0gQdvCJ0X7YDZVzffd0ZmdOwRgPQwRY1Sm/T5M Xju1DW+tuXFMnHGw79gnHtGkJkTaKxNW+KY4q7Xj3/O6Pqft6bFhWBtc5yMOFMcDOQD+5E/YWn Q/Blas46Jh1/BtNl1baus/tdrPTTfiK0P0wcFQnKgMXhOQ==; 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:MIME-Version:In-Reply-To:References:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=ikpBvfX/fYKzd+zhGyRBPiluWf/XaZIdv3UqCvIhSg8=; b=lvlxrYkvCWsmRGf0YjfqPuKR4K mcNFp027tfMxgGMontz21YK/GhV3sMWZ5L2vp7MieALEPG8P/+DD9sQpZ10CXYEWyGTTxP0rda3q3 yvxL++w0udKCl8uC3ZkFIksXKQbshetEfNRI4vE7TzoRSsfHKs+JA1QvgYFZWOiCfw5bE9l/pjf5K BFTRUc1Xtg518/HMLSyFiXM6p065+xcEj0AGnYXqgAgRvMGiCPLZQvwPuGCIt5KKSs7PP7nH99MEr 8vSxyVgKTvHS9Jc7Uz0HhjH+E/tGbcnUTasGcqKICY2PGo8+glUDvvwnzTJxD2hhcBjkAB9cxcjY/ o07/Sw7g==; Received: by zero.zsh.org with local id 1r1S8z-0008hZ-Kg; Fri, 10 Nov 2023 14:05:57 +0000 Authentication-Results: zsh.org; iprev=pass (csmtpq2-prd-nl1-vmo.edge.unified.services) smtp.remote-ip=84.116.50.37; dkim=pass header.d=virgin.net header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=virgin.net; arc=none Received: from csmtpq2-prd-nl1-vmo.edge.unified.services ([84.116.50.37]:14119) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1r1S7L-0007yl-KR; Fri, 10 Nov 2023 14:04:16 +0000 Received: from csmtp3-prd-nl1-vmo.nl1.unified.services ([100.107.82.133] helo=csmtp3-prd-nl1-vmo.edge.unified.services) by csmtpq2-prd-nl1-vmo.edge.unified.services with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1r1S7K-006a4B-I8 for zsh-users@zsh.org; Fri, 10 Nov 2023 15:04:14 +0100 Received: from vCholatse.rt ([2.98.254.3]) by csmtp3-prd-nl1-vmo.edge.unified.services with ESMTPA id 1S7Jril5jUIZr1S7JrcbGW; Fri, 10 Nov 2023 15:04:14 +0100 X-SourceIP: 2.98.254.3 X-Authenticated-Sender: thomas.lauer@virgin.net X-Spam: 0 X-Authority: v=2.4 cv=SYnxdORu c=1 sm=1 tr=0 ts=654e385e cx=a_exe a=Yx7f5gxzBBwBOElB25elhw==:117 a=Yx7f5gxzBBwBOElB25elhw==:17 a=kj9zAlcOel0A:10 a=BNY50KLci1gA:10 a=q2GGsy2AAAAA:8 a=8RloEfZUAAAA:8 a=LVzNEVjJOonP-gi-kjUA:9 a=CjuIK1q_8ugA:10 a=z9dJwno5l634igLiVhy-:22 a=ea-aaFCQWd8KpuIyLtRc:22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virgin.net; s=meg.feb2017; t=1699625054; bh=ikpBvfX/fYKzd+zhGyRBPiluWf/XaZIdv3UqCvIhSg8=; h=From:To:Cc:Subject:Date:References:In-Reply-To; b=EwBm3+yP2bUYYKh7ChLS/k2mJN47Jhc/CG0f9NawA4L1qfP+6sVCE5tS8pO2pOP4I lKg7Y7f0Q5kM/rtmpae0dbvkzm5NfKBi+9LrmO/vE/5G3caJTl5W+vDqL1JlCVP1Th 330JOjih/ayLyKfnpE5FItJflSs3zDCCbWBzMGd1XY1d5NFRmyhnhxph22gbYKMc9a RTIllIsL8/1DwvJx8t0m2iESNGaUo2dKgb5DacVtZhm9yZVFM8C4DjGK6QopIHSS9x oTsdoJivEkk7Xa9pKtDScX/cMbJjksES7nY5g5LmDbGe3uvCpaPZt0tQu1uoMT0+dS 7Ak3f1GjA40qQ== From: Thomas Lauer To: Bart Schaefer Cc: Zsh Users Subject: Re: completion, sorting of options Date: Fri, 10 Nov 2023 14:04:13 +0000 Organization: TL Message-ID: References: <3focki1mdsq59ji5d0u5nb7qenu6u8brkt@tlc.com> In-Reply-To: User-Agent: ForteAgent/7.00.32.1200 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4xfKGrE4tqf9MnCPADqqVtYb8snDfUs4eHbcCJ9wwRfcrTF3mQqMJRA0SmljKG7Io3/vwkElLagmkhJhWOSDiZr+KeV/eMkJ21SP9kfpcBe/uV0pcMtxNK 2RLAr87ACJ9gPCylOENeRV/ZYmR5PqLA+bJrQ9XAfXCOAyKzHWLMObOPhS5Tn8UirDYW9yRkGo7ScZgzuOCB5GkpK29bkTWF31kZ72B5KGuma0qqBB84L7Kn X-Seq: 29336 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: =46rom: Bart Schaefer Date: Thu, 9 Nov 2023 10:07:16 -0800 > On Thu, Nov 9, 2023 at 5:32?AM Thomas Lauer = wrote: >=20 > > It's just a bit frustrating that what I'd call an > > implementation detail within _arguments makes this call perform in a = way > > a (probably naive) user doesn't expect and can't easily grok or = rectify. >=20 > Combination of an unanticipated use case and the order in which > features like unsorted groups were added to "compadd" relative to the > implementation of _arguments. Weeeellllll, unanticipated use case... that's debatable IMO. Obviously somebody thought that a no-sort option would be a good idea, in fact such a good idea that there are two ways to do it. But what they then proceeded to do was to have the nosort option sort just a tiny little bit anyway, for good measure. In my book that's not an unanticipated use case but questionable design. I am an old-fashioned git and think that an option should do what it says on the tin. I'd readily accept that "sort false" does the tiny little bit anyway, but then nosort should definitely switch sorting off completely (or vice versa). Anyway, horse dead, flogging ends here. T