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, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8293 invoked from network); 17 Mar 2022 00:50:52 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 17 Mar 2022 00:50:52 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1647478252; b=Vh2kHTCxMILtt3iRWAk+PwBvqTIw7uhp8PSnMLwikwy5nFbJO7xI7pDIVveuHy404camsM7GnM d/HH+j6sndGudLSmt+zI8v2/IiaMDuyTlUtwZ8rywD8g7q2DvRw1S/bfjX6U7Ki2FUJ9LOWYht HhbKcc5srjDk9b3MMIKXo+nmOzmLY4rh593iYk8/WDOEVtiH1hg4N9wEJ8EU9I9ReMd4IdHOFH prqLlVQFLDrJt7ZXl1jnISwkO/uXJIZoXZv3Ok2FmJWsRJCzHjXyWBnMkWdXsA6+MaAutq2mqk WIGM1lLU+j5XRjzNieU1/0vDB50tqBAybKK8bezpQq5sdQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (wout2-smtp.messagingengine.com) smtp.remote-ip=64.147.123.25; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm3 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1647478252; bh=VtF+cvGzNBzjL3qLSoo91a45f/SJWtDRjbJjcxj286o=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:DKIM-Signature:DKIM-Signature:DKIM-Signature; b=qLaKgcnybdGEJv5SZPajonNWiYZ0T3Rnkc5b2orgIVAjajLaIHtfET390NJP8JgnZ8qDCGzUqs nRRs9/DawP4EpRTR73BVw5EUIMRqrZH+uDS7QmxwWjk9b0XkTQahHF3K/JuInAO5N5utCGVpQ2 muYW9eSUGJI+Z5tff+7Bs9ETGPl3oNmfTrWOSfneX/yT8CNrX5fM1hDKNZhnDuhDToSfAywQXT aCEzw7qBoqMSPzxRzjnFiESZzZkGn57ofDHZeHnW4OZE33n05ZZUvY8QZq3YxfzFjPXAeNi7Bs argsXEledcpO6zspqXoffUnEsvQjzbTlh5+Rz1AvAjgipA==; 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:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=WXh2CPBXE13Pj1HPI4Lu6piH2IlDlrtDjVfRIN27Li8=; b=dELbr7mqthIe62FLZPB07KPkEB PlnOgovODmViDBv7q0KVPYcJxjV36aCOH+ryfDvvIRrzIjR0Q5Jx2J6Pi8uQAiSsYJdxx6L5p+fuW nOFLsuKeHLu9a/I8KBNmvqxbFzk+TefmVO7RUJu8QVQk2t5dKVCkN9Dl/3pkQKAAN4VOLCS4ECqih 14I+GnmytypotSDSEM3WfjTB0njLEuzaPd2v9md2lxzrTy1cQWjDJ9idWz8Za4GxE4ZQr/QcPADvi bSZBW/p5xVjTlPwT5WQpHVFBssqdhcYZIAKyqJwdDK8vN4dh6wjCgrYHfdWAAzQdIYv8NUtcYblyF IgNHqMkg==; Received: from authenticated user by zero.zsh.org with local id 1nUeLr-000JFc-O3; Thu, 17 Mar 2022 00:50:51 +0000 Authentication-Results: zsh.org; iprev=pass (wout2-smtp.messagingengine.com) smtp.remote-ip=64.147.123.25; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm3 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:53187) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1nUeL9-000IWV-EJ; Thu, 17 Mar 2022 00:50:09 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 29B443201E5F; Wed, 16 Mar 2022 20:50:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 16 Mar 2022 20:50:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; bh=WXh2CPBXE13Pj1 HPI4Lu6piH2IlDlrtDjVfRIN27Li8=; b=Vehre0erAQAU+a+vDI4f8o1TyoKKQm oOXo+VjX4YAG0FRkg0XTebBil66SuH6dBOqkmMO77m8tjLEvWJ6bYUPESOZZA8CH CgAiLjec/k8zOqCIz5E0qkrNmmorRf4iV6oBoMycdUe7Ktgq2P8xMwsEYDum/7bC SIA44u2F9QBujQgIjdmXhJlteBe5smd8PDiX0mjG+kH9cxwcvc/f3KWGZLW9XgRk TOj1E3DK1ZdW0x3z2qLE9OIn9WnaZ9CxHIdfCasrMqS6JjIvaqNnrE7eTiSA6ZZs qTP7kaRjhwucr4ef1FLzrnz5nmPW7golSjbC2vdRKbuqnABfzw3fOIBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=WXh2CPBXE13Pj1HPI 4Lu6piH2IlDlrtDjVfRIN27Li8=; b=SUCksFjQ2lr7hT9VjWSTfFsDKgvl/ju5c S/0fJfTeXtRINi7/Qo1cP6ij9/jy5acbLYsj8Lgsjf5j38OzHoMG6tQKBvaaVVUT z3KBs9K/QL8X1TEREv6LB1COIxhd99vvbbQIoaNVrzT2x6Uo855JusSJTDtrHSW6 jLGaHOa/Rz1QZel0olr1TUaYZYDMipJC2xnajBDw7btUBLP8R1VL1T1cNsue5aLQ w6SBa8PRXBf36rfEPJQP5ClK00yJ4mrFm2mr173o8WIzTO6zNrnjGrOkQngPk/2C SSGAo9q/EK1YT6v0h06DQa+Hrd9wfudqtFdAVk1HXX2I5xcnrDu0A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeffedgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjfgesthdttddttdervdenucfhrhhomhepffgrnhhi vghlucfuhhgrhhgrfhcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgeqne cuggftrfgrthhtvghrnhepueevkeefffeufeehfefhgefffedviedthedtgeeljeelvdei hfevjeefteegvdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepugdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Mar 2022 20:50:04 -0400 (EDT) Received: by tarpaulin.shahaf.local2 (Postfix, from userid 1000) id 4KJpT61dYQz10k; Thu, 17 Mar 2022 00:50:02 +0000 (UTC) Date: Thu, 17 Mar 2022 00:50:02 +0000 From: Daniel Shahaf To: Phil Pennock Cc: zsh-users@zsh.org Subject: Re: More-verbose tab-completion idiom? Message-ID: <20220317005002.GS7687@tarpaulin.shahaf.local2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Seq: 27570 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: Phil Pennock wrote on Wed, Mar 16, 2022 at 20:26:52 -0400: > Is there a standard idiom and keybinding for "go ahead and get the > expensive data, to provide me with more details to choose between the > options", or would I be creating this from scratch? There's the verbose and extra-verbose styles (the former is default on, the latter is default off). To set that style only for one keybinding, see _generic in the manual. I don't have a recommendation for what key to bind. Cheers, Daniel > My completion for this command also gets pointed at by the installer, > so I really want to make sure that what I end up with is not a baroque > Phil Special but instead something which fits better with whatever the > plugin ecosystems are doing, etc. > > I know about use-cache etc and have that in other completions of mine, > so if there's no existing idiom for "trigger expensive completion" then > I will use a zstyle to let people request "descriptions" for this > completion, and use-cache if that's set. I'm asking in case there's a > better way I'm not familiar with. > > Thanks, > -Phil >