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,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25514 invoked from network); 9 May 2021 20:51:52 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 9 May 2021 20:51:52 -0000 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:Subject:To:From:Date: References:In-Reply-To:Message-Id: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=Ug1YYjmRBytiiisAXxjsADTsUZUnX3GS6F5clxgsruA=; b=tb3oNxuNd8e29XV4nkZQ/p1H0T /oUijllH2hOFja3LZ3eOGZdwz3foWX8fy1nDqLy4kwz2ZmooXiNvXMrDxSV38ZpL7u079UX5+LFRf 8BlYwByEbGkK1tjapvlLu7uDX19Ue3Rcpps/kbFyDuZPv91B4+6m/f7Ff39jcvFS15v66DmsR2FwO noW1EOwlaXHqFKaG2IT+sd9sXOsqI+b+qVLIAC/60n5truOxK38TcR1B92yF3R5joduMwLaBbJ81F ZushKeYPceHAQP5qIC8nmhqY+mq+vkqHAJUrC8NejWdhbV2ofoF0BhyCBQeY7aO8c2heBqks62J/1 G1E04NAg==; Received: from authenticated user by zero.zsh.org with local id 1lfqP2-000DwX-9E; Sun, 09 May 2021 20:51:52 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lfqOm-000DcQ-No; Sun, 09 May 2021 20:51:37 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 7E7E327C005A for ; Sun, 9 May 2021 16:51:35 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute1.internal (MEProxy); Sun, 09 May 2021 16:51:35 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdegiedgudehiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesth dtredtreerjeenucfhrhhomhepnfgrfihrvghntggvpgggvghljoiiqhhuvgiiuceolhgr rhhrhihvseiishhhrdhorhhgqeenucggtffrrghtthgvrhhnpeeikeejveeludegfeeigf eulefggfdttdegheevvdehvdeigfehvdffuedvvdeuheenucevlhhushhtvghrufhiiigv pedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihvhdomhgvshhmthhprghuth hhphgvrhhsohhnrghlihhthidqudduhedukeejjedtgedqudduledvjeefkeehqdhlrghr rhihvheppeiishhhrdhorhhgsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5E5C9A00079; Sun, 9 May 2021 16:51:35 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-448-gae190416c7-fm-20210505.004-gae190416 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <80787-1617995485.617359@q0GB.FFaP.JPH4> Date: Sun, 09 May 2021 16:51:15 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: zsh-workers@zsh.org Subject: =?UTF-8?Q?Re:_Proposal:_Let_compinit_make_standard_widgets_with_=5Fgener?= =?UTF-8?Q?ic_instead_of_=5Fmain=5Fcomplete?= Content-Type: text/plain X-Seq: 48802 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: On Fri, Apr 9, 2021, at 3:35 PM, Bart Schaefer wrote: > On Fri, Apr 9, 2021 at 12:11 PM Oliver Kiddle wrote: > > > > The intended way to do this is to use zle -C to define a custom widget > > based on an existing one and _generic. And if you really want the > > existing widget, zstyle -e allows you to check $WIDGET. Or is the aim > > here actually something else like making it easier for a plugin to base > > changes on underlying user settings. > > I think use of "zstyle -e" was either overlooked or was itself > considered too roundabout. > > In another thread (zsh-newuser-install) the aim is to change the > behavior of the existing widget (to invoke menu selection) without > having to rebind the keys that reference it. Anything else on this? vq