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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13939 invoked from network); 8 Nov 2023 22:42:21 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Nov 2023 22:42:21 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1699483341; b=G2aEXtwJRrFtbJ7aiym5oy3POUjIJanguAFEQdGk+y+VkOmvvx+3fZloXzRB/aCK3wokeEvSZp MZM++H08IHN6i3fOIjPCyKZA1y5dW1Q+IdjO7qR3Zxrm440IBjSTdLoSJ6hMQJ+HuzTBkRfQXG PShk8dO+Gnf9GAPnapG6pJSKs4g5LrWUSFk5zCP17pYJIAAGb8F4/9gk32p8dcAq9nG2l7FB6f 0UAZjFtBa7jR8j8QKiilJe8spRpC9wCbUFLqhuz4C0kDt1Xd85YGWit8QaSrkO36XtIBW4uO5N 8/Lw5VbLIvRV/Lf/aBhqXN4YvvoWTZHNulnftzPK08ZRxA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1699483341; bh=m/8Cf8XhqCoE3K/3bhlCgu0+bu8/czklNhI16Zud3QE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Content-Type:DKIM-Signature; b=h6CKn1zqHTJQnrY0qJFIq0+1w+nbBBia8c1ZO6QoSNOmaCWx1kPz/rQRvce/EqyVn1kEDPDKf4 TyN2nW5DCGyg672l+pokXKcj1ivCHHB8rHecX1SaQHeQB71kNg3SFQ7lBjHWRYXJ6wsBxD0jNR 9IPIjgBYymmI/b+ICK1k+07IA6wXCF4rczmho0ngrlZBdm1Mx4kjqjxjckPENcovDtK6q4Y7bm JjJaWWGsKy0l1dibBrTgI7w/C9EPojwui1Uf2K7TOC02PJgmMwKF9CcloFSodwP8iaGHFglIyi nNdYdTqCAE69rp+PvE44YzUyd74QiFIyo+lKQBJfZ1S7WQ==; 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:In-reply-to:From:References:To: Subject:MIME-version:Date:Message-id:Content-type:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=xLGNA3MjStPlzw/xkhbNw9tAgqc9gyvC9oCb/lolGGo=; b=S2FlBv9VYQAzbUOVKOu57wg4px hZyIAKzu4WwXCvbCAec/QBUIKEGfzM/oJ0SLlig97AB9SmBt00a/B5EwynlYuboPpH37ruJWyX7m/ g4vhqYgc1dH+RtBTePyVjJp5DLEZpINC1TerPMpYnFbTGV32vRAE2hj2wIez115ihnlO9OFnOvi63 uEy1k5C3oW/ELZ99+PXmSyRKfRkRAkpQbzm45THYVqIqO3a5l+tJpKBySLe7ybIeipIX5w8Q9lepb dckL0GyJFPykF6lvFu5sQi/aYill1J1hj0MWzboH+odWJSD0kJQQZLPY1pPi/RFvX68FQe1+Z3s3V r7F6qcwQ==; Received: by zero.zsh.org with local id 1r0rFc-000HGY-Vy; Wed, 08 Nov 2023 22:42:21 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:51849) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1r0rEo-000Gbv-S9; Wed, 08 Nov 2023 22:41:31 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta03.eastlink.ca ([24.224.136.9]) with ESMTPS id <0S3T0V6VCTOWFB11@mta03.eastlink.ca> for zsh-users@zsh.org; Wed, 08 Nov 2023 18:41:29 -0400 (AST) Received: from [192.168.0.4] (host-24-207-18-108.public.eastlink.ca [24.207.18.108]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id 0rEmrFZTbUnmA0rEnrfAHZ (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Wed, 08 Nov 2023 18:41:29 -0400 X-Authority-Analysis: v=2.4 cv=SNWEFsjH c=1 sm=1 tr=0 ts=654c0e99 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=QmLgfS-SlWU8YNfFcpQA:9 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=ToNXtCgQZQCPGVSWST0A:9 a=8hmPFBFPbWoUqsoV:21 a=_W_S_7VecoQA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpegtkfffgggfuffvfhfhjgesrgdtreertddvjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhephfettefhveeguedvleeggfdvvedufeeuudffvdfgledvvdfgtdeigeeuueelieefnecukfhppedvgedrvddtjedrudekrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrddukedruddtkedphhgvlhhopegludelvddrudeikedrtddrgegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Content-type: multipart/alternative; boundary="------------d70rpObEBOzt9WMj2TRg2Pgw" Message-id: <7e5bf86f-0c8b-48f7-8f2b-d1012f1bdc20@eastlink.ca> Date: Wed, 8 Nov 2023 14:41:28 -0800 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: completion, sorting of options Content-language: en-US To: zsh-users@zsh.org References: <3focki1mdsq59ji5d0u5nb7qenu6u8brkt@tlc.com> <12faf9bd-a600-4bd8-b90b-4a262158045f@eastlink.ca> From: Ray Andrews In-reply-to: X-Seq: 29330 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: This is a multi-part message in MIME format. --------------d70rpObEBOzt9WMj2TRg2Pgw Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2023-11-08 13:34, Bart Schaefer wrote: > Purely theoretically, is this the sort of thing where a hook might be > used? > Not really. Hooks are typically for things driven from the C code, > where an escape to shell control extends the default behavior, whereas > _arguments is entirely shell code Thanks.  No way of getting one's hands on _arguments then in the way I was speculating. --------------d70rpObEBOzt9WMj2TRg2Pgw Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


On 2023-11-08 13:34, Bart Schaefer wrote:
Purely theoretically, is this the sort of thing where a hook might be used?
Not really.  Hooks are typically for things driven from the C code,
where an escape to shell control extends the default behavior, whereas
_arguments is entirely shell code
Thanks.  No way of getting one's hands on _arguments then in the way I was speculating. 

    
--------------d70rpObEBOzt9WMj2TRg2Pgw--