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 2444 invoked from network); 8 May 2021 18:37:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 May 2021 18:37:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1620499047; b=pYzqwvqEXMkQJoPFMybiiiCCuTHkRCmDiAbc7pq4mjL/Xj/htRJyKJFbM56uGzUxMT5Dszj7y5 A48US2TPenSBq09ReAZrziNU9yV9aCEuKclAuxj3oqW1LkiYuGWCrkNZiHQRIWeLnAd3rIVI4+ gPL6LikcW9pLNSXuqoE0dXA5Ckr1Q7i/SzCyTyGFWbp/cRIbCy+rQHt00q+ynpPeRebaYfgtf/ pNSZo5QCuEcVC4A/v1MnkC1fOcMrZ0hD56KbEWHXAZSPj/zUYt2+WrcM/LEokdYwh4gPA0VvYg pi2M/ZfVolTRjRygXV6AY4zUaNTFPtiul+MiazOsb7xXFw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oi1-f177.google.com) smtp.remote-ip=209.85.167.177; 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=1620499047; bh=xLD68YORf9jvnka7bMm19MJHxSEgR+56k62M6Ly4in0=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: DKIM-Signature:DKIM-Signature; b=rrutfDjbUp2Gqk3kQtiyixqV9nlmOt1rclyCYefD6QGO8VF3Gi1y0l2jXgZN7561+4YCb3QcDz stOR+pOp408ej3nATtqFnQpcbFOu1N5gsQdUeTNLZh9ZYuPxiZYdUpAYnawYAssJLfRVHJ2ZW0 Ge2gwCjPOw8IiY0hXtbb9hQzILCAQGiuRpeWSGz3m3qpohPs80ELFPzGl4GtHjBEKvx97Rg8J4 /Tk9W5BduRf9sWrywrtWXNg3SqKrxrd99qVVHD7eB2mhIeCixZzIxULt1sx+rG+K1LP1NlWBJt tMddXpVT3rMWXQjKmIGwQU0/ZNyjTSaD54lMnwR5OaIcXQ==; 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:To:Subject:Message-ID: Date:From: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:In-Reply-To:References; bh=XMvBOIHconDlDTuWIGdm+eQsbAmPtt5Mq/ZYTGGwgTc=; b=ijbbJSQbo2fhmg4g+4Fdqd+hTw diaFSowZDFp71nJvtVd2D8V4/kc1IiqPbm8MH7ZnlP6LSJUWC5HnRa+mHmlYqRuOEFVvsfbwsfdkx vzQGpfR8BwPagJuWmhDSunOhUQTzESnFMaTKEGu4GLfF18pQrE9bpyhi1guYArT7rrwBSBy1AJI3i OYoi9Lnfk6f6nacqjTwY+uWLNMipPTdNbuREtUtxwYG09Wi+Wip0qcGTJr3a5YKeoe7wHtUMnCZhH pbH5olUKycjfO0iQ97+jQ7cDbKxRIb9OuH6ewE4goBfa0s/tSSKubWjlpjTLc3ENvloQJmzvx3tS/ Vr5Mh2+A==; Received: from authenticated user by zero.zsh.org with local id 1lf8Ps-000Aap-7h; Fri, 07 May 2021 21:53:48 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f177.google.com) smtp.remote-ip=209.85.167.177; 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-f177.google.com ([209.85.167.177]:41768) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lf8PO-000AKV-Kk; Fri, 07 May 2021 21:53:20 +0000 Received: by mail-oi1-f177.google.com with SMTP id c3so9961375oic.8 for ; Fri, 07 May 2021 14:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=XMvBOIHconDlDTuWIGdm+eQsbAmPtt5Mq/ZYTGGwgTc=; b=P+VrjHfElXy0glA73CpfpAA7Bt5qT0zNh+CGNolNcL2edgrM2TDRo+U5ur2IcZFjG+ YB+oMLwf3KY7GtH/nOj+Vp9yIMuzH8egDwsIeMWn7ETZBWc1zOqHm1tjA/mbn2G9FNEP JQIo35K5YS20ksGrWrigRhI87qdpWCh2ECGfHr2hBCqgoPefN/LdlnkNxBcCTdyWw5K2 3zL+kj01EIY5jQu8SzfACx/S54RsZhiEosidVejIcFqrbIJeQT5lDI2nHAFBlMuq1ptL O7fsQyrvm0k21jKqzxz3UC9Sg6Nl+Y/iRDvCO35g+/12xW4ifKfRxWTgfrRyo4fupnhQ /DPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XMvBOIHconDlDTuWIGdm+eQsbAmPtt5Mq/ZYTGGwgTc=; b=aKWiNBPErW6zDiUM+uAdlqnSsE1Dma9aBdupQEj2ojW1eoABO7H1s1ssjexlHaSYih zxMWhraWFIIU50jGIgrvwOMnvOHw9+c/fl14hPczNOMhwZQTo7kwLrkP/3es9igCas4H 508ONErgsoN6sWSsihERB4SNukoMwTNU5xtnGFnBsYR6mA7TA4zrCkXlPdek5ln6N7O3 /uUw9pMX3Crn71ih7DrLYjqCOTDN5Z9oe/5PwJ4ZHEPsCZkM1XDiGwF2Cq/SyKBPmpfM pA6CTldZOqkJWW+1g2RbnA2AQK7cBJA09ArUlfQQb3TbJWrAH5D5R9/2Xw5EYsWvoKrv lHMg== X-Gm-Message-State: AOAM533AVuPDOQQDKY8o20t4JjOAewZ2zA+Tgby0Pi/K/lp1H915PMql VsxwDH/KTEAJvy3+zS+vvxGSl7B+YLiHeMeKw84X+4LI/ejMNg== X-Google-Smtp-Source: ABdhPJz+Sr1iZpvN9Y+EuJl1XR1whfuphFr5HlBl1ce5uIEhKF2A7nuWpuw1bz0C0gLS0GxxL7dRfzXy6JB6m4xDywY= X-Received: by 2002:aca:d90a:: with SMTP id q10mr15951356oig.173.1620424396905; Fri, 07 May 2021 14:53:16 -0700 (PDT) MIME-Version: 1.0 From: Bart Schaefer Date: Fri, 7 May 2021 14:53:06 -0700 Message-ID: Subject: _complete_help fails in some contexts To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 48789 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: This occurs for example when pressing ^Xh immediately after: % : ${() In this specific case it seems to be because _parameters never calls _describe, so never goes through the _tags loop, which _complete_help relies upon to populate its results. It calls _description directly (instead?). On cursory inspection, most completion functions do one of: call _describe; call both _tags and _description; or call _description but then call another function (such as _files) that does one of those first two. I haven't come up with a simple way to find examples other than _parameters that never manage to call _tags at all.