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,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6051 invoked from network); 9 Apr 2021 19:36:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 9 Apr 2021 19:36:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1617996987; b=YBFjrCYZshNpfJMDYs7lRuwFyN7/Ep6gh5XCYt3pv5s9yLVzJO0BizR2AA/4JBs1zRUdIbPYn6 V8CR0C2mnSVt1xqts669DVb7JqBRen2d0KrYiWolo+qqT8y38ujgKSiULpjTyM0YZXB+jVHeyA z45B5utZhIkP9Po/QliCO8JBnucEVKwjtq3Df7U8UtDKKu/NLtVek6Kl9MVEDyIUroTFHPr+wS GrvrJ2f1DEFWCXWXY6hs80/qNsQVw4s65n9uxAippi9yrIZ4XrFCzRUzu0C4pSkCEp9vaoJUEi wJPqIPMRz+iF4bTWtnhkKbNpIyZuu1HuI/Zg4zP6DQVRyQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oi1-f169.google.com) smtp.remote-ip=209.85.167.169; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1617996987; bh=LBFs1i7/XLS4pQhS+NnH6uYvOwSJ2rLWGfP74e45w3w=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=EQ2DO+c1FANx2WYGjdDqCPfRSrgGeKjdZWI3/IdbRu3GqcvdHXlhkvrKVaXYe6/NPP+nXQ4oj4 k2JDhe2Y4Nvz5a2/5emqZTeN3/u+dSN/5SY7gM1QBmD3lIJg2CnOcDrpG4fYJg+NiVE2l++4q+ W1zeDQaeNttUGIhEzDrGfAnaMUZvg3a9FiaIgvZP85Isn6uatMCW5xUyHTTJDGoNic2G8IS2Xf u0HLR0uXA33x/gCyuIt3HdqxeL36UzQC82QYTNVIgg2l37XnEheHErXCc2FLUUN+eb7OfC9HAK LXpDD/mkHdK6Ou1VREKi4uoA0+bfIi4bvKFBsULif+mRhw==; 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:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=LBFs1i7/XLS4pQhS+NnH6uYvOwSJ2rLWGfP74e45w3w=; b=hXv8eur40sNpmx5yZGYiWy4LXT SvIXRq2ByXpBxjWoHRN5hgcyPjDKKzYG5vYwn/FwG68XhrZWpHMx80MG9T8pt/vzXjjnM7c8c9jZW I9eP9P1ny3szpOQK7VRrXuSdsIgaaKsqZSV6JIFdfGmYVBsH+/4ZnSG9Sj7pHQtiKJBsfNpZWAMWs RDWcXWBsgHku5IPRRHWb1XLsUthxywXNqiX5qaslH5JwLccWN67EYS9+uCpach9rA2AEJeoMeprzx MSElr76wp0xS7/G1LWeXiL7TMo9RImArhU3EwKJEL0+82ahgiZxkEXB2f7L7wr8vYKW9b1G+T/j7u fE/6cStg==; Received: from authenticated user by zero.zsh.org with local id 1lUwvb-0005ZI-3b; Fri, 09 Apr 2021 19:36:27 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f169.google.com) smtp.remote-ip=209.85.167.169; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-oi1-f169.google.com ([209.85.167.169]:40935) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lUwus-0005IP-Tb; Fri, 09 Apr 2021 19:35:44 +0000 Received: by mail-oi1-f169.google.com with SMTP id i3so6891083oik.7 for ; Fri, 09 Apr 2021 12:35:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LBFs1i7/XLS4pQhS+NnH6uYvOwSJ2rLWGfP74e45w3w=; b=OirxdgGOCzzy3nUOAKXDW1oh5ksT/BGg//zfct0oGcC84pzKdrSaYygVm6UvSOMBeE +/rg8ymYWVrOfT0bB89emCqHXmdarDZoUGgBxgfLurnmiKoYkzQQTODp5SvAjb/8cFNG YmRd94hKPLtdFrRAwAKJsAvuh5tg0BuPjx0VRkHh2dRP3sY2VAr2RJAzwzjxKURCXE87 0lOgndusDXa1bUgpq2rOATR1yPdVJT4x4WII05nudo3+TeLI43OsJ6cILbZlWvNvi8AX c3gsy6JxVvarfNAFXw76dkLbvKLaB6HNrSAY6F89QzfBaoSWIZEnSJZLd8bZP+Vtw0No Hz2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LBFs1i7/XLS4pQhS+NnH6uYvOwSJ2rLWGfP74e45w3w=; b=aImk8LvP+6Bd29JWAtXNsty09fIC6+GAgyc1cA99WlBvfNbBWSQNsvbwK+LkeMNI4E R+bV4tiQqRl41bfyaBRpdDAYBiaGd7BjjhMgtkWxzA0D4sMCh4lcIa5MLNh6guiqmC/I dU4grXzDA6Yri1JyymJAtVhwx1tpW6+hcG6kEI5J+aBjNz8kyX2iTC8KB/x6Y1RUCYPI LLqCXnbck6jXeYruAxQ088tvCTI/r21gHdbjfyVcjXfaLSosfQuykYwJs3bXS3PbtrfU MBmKELVppSXuImG3+wsHYoWUjqdSEFIOeXfjBezg//iXzgOHoizkkK4aHRrv07uYxhoz TUvA== X-Gm-Message-State: AOAM530UuRGxWlPFxC27a1Sm0VJU+5D7WWpDnQt84zQqSTPSh0hNbomn bjxhg2zVODaUbDAG/KgTvSeTFzBXFy8ffl5aNTmJd2vHP14= X-Google-Smtp-Source: ABdhPJx9MYVGvbOxWbzK5C5Aixx9PMp8VlmDpBNpTbghzGGr3thdBUDgRHeaEkM0MkrKwKWSOAi+fFmPz1vP8kpqbtg= X-Received: by 2002:a05:6808:341:: with SMTP id j1mr11321399oie.173.1617996941528; Fri, 09 Apr 2021 12:35:41 -0700 (PDT) MIME-Version: 1.0 References: <80787-1617995485.617359@q0GB.FFaP.JPH4> In-Reply-To: <80787-1617995485.617359@q0GB.FFaP.JPH4> From: Bart Schaefer Date: Fri, 9 Apr 2021 12:35:30 -0700 Message-ID: Subject: Re: Proposal: Let compinit make standard widgets with _generic instead of _main_complete To: Oliver Kiddle Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 48444 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 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.