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=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7685 invoked from network); 7 May 2022 10:42:29 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 May 2022 10:42:29 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1651920149; b=IU9JceVNsj1xDk5zzwZToYpwYT1rEK4OR5hwQwIv53I0kX+bWHhbF+2RIDWmcu1caYCRxnbHhP 20rzt3gD69SdtH2B7w2aThiym+FV/HI2OXVWFEDPbxDvEbtN2hDZUcw7/396s9up0XuDYuNs5C Y8PHfiEfPg4j/UX0JhHhqbZYVZXMUOQpBGfJfg3AgPHn7eVumNAFkSXzBUqWrU7IB4pjauPINS J+GApkOIKIx0w58ELgLVAn2j5VJ3RD2rZbOkf7m7/fgo3nDc0F2uqG30rVdRa5fLlPopIaw+l4 8ORw+I7xP3Wwu8VM8Vmi2AI9BwTqtWHgXsJU+jL3iMQvHQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-il1-f180.google.com) smtp.remote-ip=209.85.166.180; dkim=pass header.d=gmail.com header.s=20210112 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-20210803; t=1651920149; bh=xw5S8x9Z2DGDVSnvPvcNnJZWgv33aF8OC4Py8sgGU04=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: DKIM-Signature:DKIM-Signature; b=KyUu17BG0Ge8cqaG+XuE/XeAIeJrtvxx1p9ocOubBZhrP/4b3e2VROKiMNZyGi8EKdW/t166NK E80GGs3/mkrN72P+MKPxjp71GPuoNVL5iyBeSDeske/uUd02Ppixo+LV5VkalCbjpmdvk9jJNC LZnuNX2lNJt1u81XDMZhsWRhgjYl+XCnSKxzMTThQt/n6OEZoDg6oyW0z33RCcyp3BdPzVIW37 AM6WthZ87NdpYPkRYFoso5WsimTIlv7OrX9LGUny+mKyItp/jRDxTrDQtec/tqpRU4OqIT2OJJ 0wcZy3vM2WyivMUIpG8shKh5aFDvBDx6CtbHrnC842b0PA==; 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-Type:To:Subject:Message-ID: Date:From: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:In-Reply-To:References; bh=xw5S8x9Z2DGDVSnvPvcNnJZWgv33aF8OC4Py8sgGU04=; b=M9mMGN4GIxQkg4sLEhrnsoTg1f ID6w8M5UNPeU/DO05q0yR6X8Bw5FW13nydG+XpHdfppnvR43/LZoCTnmPGk2JstdEiSmVqmoC5ttx RNh2FhVppJt0YZ1AGF3LjQvfNMCHdiD+reSNAmTsGRdEmVm3i6Cy8ZnhLwoctC2IUOFybGQM9Y+KH SdCQ/HpJWQ/rNUF71LJUvcUpgrMTag5KElUVJkxCdGvjGWqqsm23oWZv/O4GeHd1K60UcPeUmFj0L R1tjlXlyAZPxSRrBY6z+5DRAL7s4Q1jw8sMbSO1uqCXqAjVQDgLYs6LqLlKtrDEa/8UnQYoTDbrv+ qKw1cKSg==; Received: from authenticated user by zero.zsh.org with local id 1nnHtL-000Jsa-So; Sat, 07 May 2022 10:42:27 +0000 Authentication-Results: zsh.org; iprev=pass (mail-il1-f180.google.com) smtp.remote-ip=209.85.166.180; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-il1-f180.google.com ([209.85.166.180]:42711) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1nnHsU-000JB8-Pf; Sat, 07 May 2022 10:41:35 +0000 Received: by mail-il1-f180.google.com with SMTP id r17so6301976iln.9 for ; Sat, 07 May 2022 03:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=xw5S8x9Z2DGDVSnvPvcNnJZWgv33aF8OC4Py8sgGU04=; b=M0NB6oo4Ka2Pt4lJk+oRZf1Se35VIdOpSZkRjX/VQXTr+ihnwEe1MYuCbIxmu+voUW AChZB1djNZ/v4cYI+nH0nlJd4WsX/Hw/QZn08lwNrCeB9dNqlJl8/T3joAqpR3O6VKLb 0MjKIobGtxMO3NYcr+Du2cJqwCOz3dyz9nXPcWWyrJvrwe2XRF5/PyBSDBR0O7KBPx5W AdpnfpllaeI71EeBTqpqg6uxZEdnXjz3MDFZTInxVRNu6clnYZhxHU7QT9ZM4/Ct/tfF P+Toe0U0ABVIIWFlZHN8dukyBIFyoVALe6Y3xG3sF6Qj2WRHkt2OdysSGwauo36a11gr WDCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xw5S8x9Z2DGDVSnvPvcNnJZWgv33aF8OC4Py8sgGU04=; b=aHggDh+t8v0fj+GSq7ed2Bojlpet8VJ/LRy7MdugMS7ZKzDXmUoF+m84L6On2COkqQ xOXNm7ODPjBLG0j3aHKEgmKSV9ULvdkWA9I3ILsI+A43l19KsbwGQI4ZAQtDsIomc9nU UdrF5PVWlQGQiz0EiCI7Gj00EoLptIZxJlsOb4ZcUZrbPMxZfucf0BNic304GP6tm7Vp KjbLNVVW3HuzePLUXCGYihTpNCD6yfcIDQK3i7SJs3HpupupJC5fesQc+gdefIj31vZl 4b8xhmmGC6w020rRKpArbOcxKmNXCDKLwOr0Wy+s1EWKzu3mazIS5LWkU2tQg9qu1w87 h1tA== X-Gm-Message-State: AOAM531CuQlY48gun+BugBsM5iFZa7V5YKJvOoDbAMjaLTTY1RAa7f0J l74ti4NYvjX/dytwgH6UwE9iwNM5rVcWms4BfaFQYP+lPRraKQ== X-Google-Smtp-Source: ABdhPJxqBsyuIGnBBipnohpsb3yVI7J9c+4oiFFDyvMfnah6DhAm3g8t+dEx7lRA9ojqWeVDhNanvEMA/l6m0uyNC8Y= X-Received: by 2002:a05:6e02:1a64:b0:2cf:1f40:4aa9 with SMTP id w4-20020a056e021a6400b002cf1f404aa9mr3014435ilv.249.1651920093450; Sat, 07 May 2022 03:41:33 -0700 (PDT) MIME-Version: 1.0 From: Pier Paolo Grassi Date: Sat, 7 May 2022 12:40:56 +0200 Message-ID: Subject: completion with separator To: Zsh-Users List Content-Type: multipart/alternative; boundary="0000000000005e15ba05de699ed5" X-Seq: 27732 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: --0000000000005e15ba05de699ed5 Content-Type: text/plain; charset="UTF-8" Hello, I have a completion function that after calculating the possible completion values uses _values -s , categories $categories_array to show the possible matches. When I complete something I get this behavior: > func a > func acat, I would like that the comma was not added automatically, or at least to be removed automatically when I select a voice in menu selection with enter. is this possible? Pier Paolo Grassi --0000000000005e15ba05de699ed5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, I have a completion function that after calculating= the possible completion values uses

_values -s , catego= ries $categories_array

to show the possible matches.=

When I complete something I get this behavior:

> func a<tab>
<menu completion= where I select a value with enter>
> func acat,<cursor&= gt;

I would like that the comma was not added auto= matically, or at least to be removed automatically when I select a voice in= menu selection with enter.
is this possible?

Pier Paolo Grassi
--0000000000005e15ba05de699ed5--