help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@zsh.org>
To: Daniel Shahaf <d.s@daniel.shahaf.name>,
	Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [PATCH 3/4] docs: _wanted: Clarify the example and point to another one.
Date: Mon, 27 Sep 2021 17:55:03 +0200	[thread overview]
Message-ID: <47164-1632758103.190051@NBUG.TDW3.g63k> (raw)
In-Reply-To: <CAH+w=7Y0LtM=xt6K0+c14diCg2sRu1_jGfFHLmEDaJB4H4b64Q@mail.gmail.com>

Bart Schaefer wrote:
> On Sun, Sep 26, 2021 at 1:47 AM Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> >
> > -    compadd matches...)
> > +    compadd -- var(match1) var(match2)...)
> Hmm ... I'm uncertain about using var() inside example().  This is
> going to render in "info" as

Also, note that listing no matches at all with compadd is still a
completely valid compadd command. This can be useful because you might
generate the list of candidate matches from a command and pass the list
straight to compadd without first checking whether any were generated.

Doesn't this updated usage imply that there must be at least one?


  reply	other threads:[~2021-09-27 15:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-26  8:43 [PATCH 1/4] docs: Clean up some subsection references Daniel Shahaf
2021-09-26  8:43 ` [PATCH 2/4] docs: Add texinode()s, so the next commit can link directly to a subsection Daniel Shahaf
2021-09-27 15:41   ` Bart Schaefer
2021-10-12 14:53     ` Daniel Shahaf
2021-09-26  8:43 ` [PATCH 3/4] docs: _wanted: Clarify the example and point to another one Daniel Shahaf
2021-09-27 15:38   ` Bart Schaefer
2021-09-27 15:55     ` Oliver Kiddle [this message]
2021-10-12 14:40       ` Daniel Shahaf
2021-09-26  8:43 ` [PATCH 4/4] docs: Fix pointers to the `Widgets', `User-defined Widgets', and `Standard Widgets' sections Daniel Shahaf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47164-1632758103.190051@NBUG.TDW3.g63k \
    --to=opk@zsh.org \
    --cc=d.s@daniel.shahaf.name \
    --cc=zsh-workers@zsh.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).