From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24641 invoked by alias); 5 Jul 2016 14:58:57 -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: X-Seq: 38799 Received: (qmail 7444 invoked from network); 5 Jul 2016 14:58:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tcJjKCCZpnS1O/E6YBoDwyk8/hfOBekGn1BZ7PbfOB8=; b=TaSNU4rZtvmxzkLbjzXXoMkLmczyqeQJiCFrXdQ5i5fo3Nef8s5Xetgl0Jq9jlr0IM p36gaWI95UC/vuHBWNUJMWjeFdalTfTlsRy9vN2xdZ1FhXkBM+Gdw3pwh8Y6jj7zkqUu R+O4WPrgemfcVNOkVEN4JgaQSeKxPDcgRFaGdoLuOZ9IlqIV5OC7UpEO+ZA5raELHx45 AguZJr+aYptUyZLBe1spd8Es/KeYlrPRSCQkA9ndcOQqTcrFcMPoqIKAUHHY0vqG5kUW /jJbXzq31cy3y/DxsdIFoteQKstEXjLHNdUTfl0C6BdX7yU4zYRfkuGYjBZpHc4UCbZC 6K9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=tcJjKCCZpnS1O/E6YBoDwyk8/hfOBekGn1BZ7PbfOB8=; b=gEkcWClmDU+uggIQaZsC3IfaVfz09ZijGNxemYFxhHLrDxAIkB8p3lqdSKnYWkRAFv QfywEVfvPY7zO7RKVqMdXf1lud5zkUyWkZQL95klfWf5jLIcvGfT3uah45XbJnCWMbbp JWMcouRxEYdOdlWxJYNxFYhCBd1niCBt8JesiXJR0CtrEBbd/Cv/G1P3Q0SGz4uYAEjF Oc6AycTGNJcOrZo4IfbSfghw64xR8xwWoAh50ckb8czy4/T6kpCLiu25aKOklxs8llbJ +hrrAaeBNjZIATFD6eWcJ64G0v+NwFfuaAN1dNZHzIjGv6QOjm343BH+kkbWFoND87wo JrHA== X-Gm-Message-State: ALyK8tKktK5qXYhek5jY/5Id7AbuUCwPHYOk9P89QlhxxvSqbUGYOmhhVywFBu5QkhdjgOeJ592vWkPDBKID0g== X-Received: by 10.237.53.151 with SMTP id c23mr28253240qte.51.1467730733882; Tue, 05 Jul 2016 07:58:53 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20160705045755.GA11492@tarsus.local2> References: <1467667979-31193-1-git-send-email-llua@gmx.com> <20160705045755.GA11492@tarsus.local2> From: Mikael Magnusson Date: Tue, 5 Jul 2016 16:58:53 +0200 Message-ID: Subject: Re: [PATCH] _fc: allow the user to limit the number of events To: Daniel Shahaf Cc: Eric Cook , zsh workers Content-Type: text/plain; charset=UTF-8 On Tue, Jul 5, 2016 at 6:57 AM, Daniel Shahaf wrote: > Eric Cook wrote on Mon, Jul 04, 2016 at 17:32:59 -0400: >> I am open to a better style name if someone can think of one. > >> +kindex(history-events, completion style) >> +item(tt(history-events))( >> +If this is set to a number, it is used to limit the number of history >> +events when completing tt(fc) or tt(history). >> +) > > How about calling the style `limit`? That name is more generic so other > places could use it too. (Example: __git_reflog_entries) The _history completer uses "range", but the format of that is slightly different. -- Mikael Magnusson