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 32734 invoked from network); 20 Jun 2021 19:50:15 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 20 Jun 2021 19:50:15 -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:Cc:To:From:Date: References:In-Reply-To:Message-Id: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=VCogq42NgRvUaDSJ/uwzC3VJ21+DK/NrurXSPBWAoCY=; b=SqiW853m1Kbv0ighqOejx0Py33 UxUURXMIfveSnnU9NBV027i1pYg+zr1LZw8tvHRi2qgrMnm6mByunp2pUkzHoatwfL8vVecolTk49 bGd5whBhr9BEvQOZehlsBlms2ZLfKELQXlPUwg+w1haGwylZ92SjywmEsAmLrTokdhIj3BnIfv8J1 +4CS7HN5hdJRzc3M9dEqOj12HqMA9qwWAOui+wBB3MOmazJ7VGWgxFAbki1ffnFOSfFaYVaZJNJZy pdzorf6p3m8t/f+lpEWWsuLWTGK/5tI8oTW8vkOUNM8ug4MqGEJsEGK8E2BQC1RrK0RWK/1WtaspB gww/UsDg==; Received: from authenticated user by zero.zsh.org with local id 1lv3SR-0002RI-8L; Sun, 20 Jun 2021 19:50:15 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lv3Rw-000289-I9; Sun, 20 Jun 2021 19:49:45 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 8C48727C005A; Sun, 20 Jun 2021 15:49:41 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Sun, 20 Jun 2021 15:49:42 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeefjedgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtsehttdertderreejnecuhfhrohhmpefnrgif rhgvnhgtvggpgggvlhojiihquhgviicuoehlrghrrhihvhesiihshhdrohhrgheqnecugg ftrfgrthhtvghrnhepieekjeevledugeefiefgueelgffgtddtgeehvedvhedviefghedv ffeuvddvueehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homheplhgrrhhrhihvodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdduudeh udekjeejtdegqdduudelvdejfeekhedqlhgrrhhrhihvpeepiihshhdrohhrghesfhgrsh htmhgrihhlrdgtohhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 74B0BA00079; Sun, 20 Jun 2021 15:49:41 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-526-gf020ecf851-fm-20210616.001-gf020ecf8 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <36227-1622676235.815398@zrY_.ZerV.zhJL> Date: Sun, 20 Jun 2021 15:49:20 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: zsh-workers@zsh.org Cc: "Marlon Richert" Subject: Re: [PATCH] Make _expand_alias more usable as a completer Content-Type: text/plain X-Seq: 49097 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 Thu, Jun 3, 2021, at 5:42 PM, Marlon Richert wrote: > On Thu, Jun 3, 2021 at 2:24 AM Oliver Kiddle wrote: > > In practical tests, I'm not finding that this works too well, it ends up > > removing the characters typed. > > I cannot reproduce that. [...] Am I missing something? > > > I also wonder if this would be better done from within _command_names > > directly but I'm not sure. > > Actually, I feel like it could instead be added to the _expand > completer. Would that be a better idea than what I presented in this > patch? Anyone have answers to Marlon's questions? -- vq