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,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12031 invoked from network); 31 Mar 2022 22:36:23 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 31 Mar 2022 22:36:23 -0000 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: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=zQANDiv0my2qpN7x6Hezsk58f9S/j7VBMfQ3IrnywQs=; b=QvD40B/7qCnAGRwGrR6hTB53nS Blod28l9gIYKcb6N+lHxYQTmvFmsZbwaLBlPuHiN7rCyxDb1n+RL04z4h6I+kVpK4I3UTksVXZn+V 879E51Kvw4Ljoe8jH2OdSxcW6fZUG1CTrlBmSvG8ScuxV6ZavmgammqEo6OIYobK972m2TS0GyFzC J5iaEM9+V081nu9XzBs563EJX5SI022T96cTZpe5OIjYQUoHaa1XZUNqe4+fkfpOC8IJb5t50vAfw xjsXM9zFlzPnF8wQnq2SAWkGTYw1DPDoMrzVGJiNWjKKcW7uZxAIiEUiCXaxwEy1/4u1B5j8cpNuv zIg8sxSg==; Received: from authenticated user by zero.zsh.org with local id 1na3Ov-000BbY-4z; Thu, 31 Mar 2022 22:36:21 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1na3OO-000BGs-RL; Thu, 31 Mar 2022 22:35:49 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 2DA7527C0054; Thu, 31 Mar 2022 18:35:47 -0400 (EDT) Received: from imap48 ([10.202.2.98]) by compute2.internal (MEProxy); Thu, 31 Mar 2022 18:35:47 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeihedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepnfgrfihr vghntggvpgggvghljoiiqhhuvgiiuceolhgrrhhrhihvseiishhhrdhorhhgqeenucggtf frrghtthgvrhhnpeeikeejveeludegfeeigfeulefggfdttdegheevvdehvdeigfehvdff uedvvdeuheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehlrghrrhihvhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqudduhedu keejjedtgedqudduledvjeefkeehqdhlrghrrhihvheppeiishhhrdhorhhgsehfrghsth hmrghilhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 07BCA21E006E; Thu, 31 Mar 2022 18:35:47 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-382-g88b93171a9-fm-20220330.001-g88b93171 Mime-Version: 1.0 Message-Id: <38d114d9-d4fc-4f50-bc55-2f8402ee126c@www.fastmail.com> In-Reply-To: References: <36227-1622676235.815398@zrY_.ZerV.zhJL> <906332f9-027b-4b21-bb7f-3fd7118154af@www.fastmail.com> Date: Thu, 31 Mar 2022 18:35:26 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: zsh-workers@zsh.org Cc: "Marlon Richert" Subject: Re: [PATCH] Make _expand handle aliases (was Re: [PATCH] Make _expand_alias more usable as a completer) Content-Type: text/plain X-Seq: 49947 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 Sun, Aug 1, 2021, at 2:50 PM, Marlon Richert wrote: > Alright, here's a new patch, which moves the alias expansion code from > _expand_alias to _expand (and refactors it) and deprecates > _expand_alias's use as a completer. I also updated the documentation > and added tests. > > Note that I reused the zstyle names from _expand_alias in _alias. I > think their names are less than optimal in _expand, but renaming them > would break people's existing zstyle config for _expand_alias. > > Attachments: > * 0001-Make-_expand-handle-aliases.txt *bump* -- vq