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 17121 invoked from network); 8 Apr 2021 21:53:13 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Apr 2021 21:53:13 -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:Message-ID:Date: Content-Transfer-Encoding:Content-ID:Content-Type:MIME-Version:Subject:To: References:From:In-reply-to:cc:Reply-To:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=gix6wDIzMAnR8kIshebp/X722ty2csqRnP1IUVwDr4g=; b=UXGrh/kJz+wI8CmCB7180fkO+T nVM++6tadE43GcMIMXt7msr8baXX7iUrZiqLcWCpD2HQCJD1Fxr/PktVXi84Ga+tBJ886ph2UY+oL KAgKY0GQHgPGyZ2oPi1Maax62gWIomVt5Ao5MR88i/+O4b6OY1niJGex8b8+moNO3gQT4ekt7fcfS SgycgVtsr9ZLivWTuvICqua0AmsVrc7FS/jV3TbqA9RJGgQrXy39kUBj3tACr7R31t8nhCvLzMVkM GD+geQ0FLSdpFymECIK8L/nWrrJ2whWsCRhYkwxIMxApCUW5SzmmwZMJtFgpvaPow+tJgzgz80MJY 9zf2K1tQ==; Received: from authenticated user by zero.zsh.org with local id 1lUcaK-000G2y-3m; Thu, 08 Apr 2021 21:53:08 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lUcYz-000FQj-0r; Thu, 08 Apr 2021 21:51:45 +0000 Received: from [192.168.178.21] (helo=hydra) by mail.kiddle.eu with esmtp(Exim 4.93.0.4) (envelope-from ) id 1lUcYx-000ED0-OE; Thu, 08 Apr 2021 23:51:44 +0200 cc: zsh-users@zsh.org In-reply-to: <20210404082835.pwkfkoprksgluuqz@jo-so.de> From: Oliver Kiddle References: <20201215125724.b6qdvvuhr2mwpxbz@jo-so.de> <1047872238.2253883.1608052325319@mail2.virginmedia.com> <20201215214027.a3htwtas6su3fhz5@jo-so.de> <43486-1617149414.412147@zBmo.ESTa.9XAh> <20210331074548.b47tt6d2ekjrwdrs@jo-so.de> <53310-1617184228.244862@cFeP.EmJg.7ARq> <20210404082835.pwkfkoprksgluuqz@jo-so.de> To: =?utf-8?B?SsO2cmc=?= Sommer Subject: Re: How to get all tagets for rake completion? MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <54620.1617918703.1@hydra> Content-Transfer-Encoding: 8bit Date: Thu, 08 Apr 2021 23:51:43 +0200 Message-ID: <54621-1617918703.747482@gwX8.ONTM.cKuV> X-Seq: 26641 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: On 4 Apr, Jörg Sommer wrote: > > The existing `verbose` style is usually used to conditionally add > > descriptions to matches, especially where generating those descriptions > > is slow or where they're of questionable value. > > And how about ‘expanded’ or ‘extended’? Either of those are fine. Though you've not commented on the approach of inverting the sense of the style and using ignore- which I think I prefer but I don't know rake so well. Just pick whatever you think is best and update the patch with that and it should then be good to commit. > > Is rake -A giving you a fallback, e.g. "unknown" description for the > > extra targets or does the description remain blank? > > The description remains blank. It looks like this: > rake www/dev/files/rss # Build main rss file > rake www/dev/files/sync.html # Checking the targets=( ... ) assignment and _describe with that appears to work fine without any further adjustment. Oliver