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.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21924 invoked from network); 25 May 2020 22:43:15 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 25 May 2020 22:43:15 -0000 Received: (qmail 26472 invoked by alias); 25 May 2020 22:43:09 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45917 Received: (qmail 5279 invoked by uid 1010); 25 May 2020 22:43:09 -0000 X-Qmail-Scanner-Diagnostics: from mail-oi1-f177.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25821. spamassassin: 3.4.4. Clear:RC:0(209.85.167.177):SA:0(-1.9/5.0):. Processed in 2.44035 secs); 25 May 2020 22:43:09 -0000 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.167.177 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5hS9EbQPR+SB+mz2JUhicksDjCqxxFI2tOeG6dHwwDU=; b=gzTtOSRPG6ZJSe6PszSS9qoQYTp5IXnqZGaXba50CjZ40LoQh8zu2oupq3UAH6X7nR z1XxkcON9hDvLcWKD8EqPL0kn9zoIHyLbE1ci4IvDc04DQHKIFJZx1imdrd/FdvOXDFw dvnKTwyA+9kVZEW4Fp6cvy9scLy0rJCA0sR3f7dKwkX/Grl4ITiPn4B9d7KUkO8BHC5K 2/cj7AMTJjLIjHXtdetUAVPvVE3+/enOKnglQAR50p4LoWeJzDlFNfcQX+AzTtUGi/7L jCKZZHbaRcLLNppNXDe/9n4Wq2NkHfXf5aN26/G2WzryR5/Kx7nalwb2aypKxdkgZVee Qa2A== X-Gm-Message-State: AOAM5304+VE634/LOMwlAs26asZbKQ7dqqgYMG45+0Lp25Bx077Pge67 nXOpyrH7wV9cpGaRvHsbXuY9YZstGNcWmF9a9/N9TA== X-Google-Smtp-Source: ABdhPJy0fbUJgmnvyEQl31Fi0/fK2sxbviLbT4UyuSwOv9TUTie5+NhuA0FmJpbiPzWdhEevkysFltN5mCt+Zl0ucYc= X-Received: by 2002:aca:a8c3:: with SMTP id r186mr12431581oie.173.1590446554166; Mon, 25 May 2020 15:42:34 -0700 (PDT) MIME-Version: 1.0 References: <20200523022807.08f3ba45@tarpaulin.shahaf.local2> <71744-1590427742.474587@WgsI.yCFx.n5vu> In-Reply-To: <71744-1590427742.474587@WgsI.yCFx.n5vu> From: Bart Schaefer Date: Mon, 25 May 2020 15:42:23 -0700 Message-ID: Subject: Re: _arguments optspecs (was Re: Editing the history in the shell) To: Oliver Kiddle Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" One other thing ... On Mon, May 25, 2020 at 10:29 AM Oliver Kiddle wrote: > > '4:history size';; Doc says: The forms for ACTION are as follows. (single unquoted space) This is useful where an argument is required but it is not possible or desirable to generate matches for it. The MESSAGE will be displayed but no completions listed. Note that even in this case the colon at the end of the MESSAGE is needed; it may only be omitted when neither a MESSAGE nor an ACTION is given. That seems to imply that you can write "4:" or "4:history size: " but not what you did write. Is the doc wrong?