Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
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,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :cc;
        bh=Tn5ruzEnSzmUUbLYfb8BZ4YLNhc3IjRPjk/cbDc4098=;
        b=R1xcxhik5ql2xWyTJwAGjpTGYHDFjCGdGpOwI/qo8ynM39v4Q+iZTT0whd+//995JD
         oLCF/R36Nt2YM+dWn4JKu6MPFHDEJYrDw0iLDiZgZQC0IHemWzC3ZBmcZ55LndWLKfVG
         z89AVFvx1r1NMM54yIP5yyT9FZH4vh/QTqDyJ8w1Zo99vaVFKp+HAB2UT2c3sK7/LKFw
         c66eZx6JVEObB8VL2SI0K0bkTtfTMF/B7M1QgQX4qDgjaaxy0rNwaI1uSrKJwjeMZoj1
         uv0qQjeoIVOAfRJhAn4cEgqdCIBlKR64+R+tbI2yOMQ/VQSxJREmTFgSbuBHqGdXjMmb
         KLLA==
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:date
         :message-id:subject:from:to:cc;
        bh=Tn5ruzEnSzmUUbLYfb8BZ4YLNhc3IjRPjk/cbDc4098=;
        b=OuoFp2AAGZXBr8JxPJ1QXM9INBooFIHY4xu3HXKfmZ3hFbyoln4LfOUG/B9TL9uDLC
         3mHn5Xkrr0ad3DuXTuKxTz/lkAmTJ9z9MXrNqMyCoifEIZ5PudJcaBUgGyuLNnfbalfP
         ogmv0Kt5q3Gv+o5RYIfv+z844uFpemnFGCSZe8uRkyYtLZd3dA+97TjDr5BnJX0jo7y4
         jc/VCrgIMbmZxwxg6QwbJGtXVORMIbkqtGtS8OWr1BO8OsRWE06O0YpA0xuITAjLBGxg
         oEKv1s6crBYK7Zo6uWl67Nhr7XEdvKQjyiiGT1TVI05xd0CtdLiWH2TVm0kDaP3pAzcQ
         Tozw==
X-Gm-Message-State: AOPr4FXiwk5cMn00PobsCDV05IKAb4cy69mmoSnj314xXw8D8hDc65RSXRMGuLaVKXTXhL/AAsce1SXbMvFCsA==
MIME-Version: 1.0
X-Received: by 10.112.140.226 with SMTP id rj2mr152372lbb.112.1463313050872;
 Sun, 15 May 2016 04:50:50 -0700 (PDT)
In-Reply-To: <5738124C.7020705@topbug.net>
References: <5738124C.7020705@topbug.net>
Date: Sun, 15 May 2016 04:50:50 -0700
Message-ID: <CAH+w=7aYcxp73F2koe1nVBRMR8jwJ5eYLAyMi2_35FEX9=dJXw@mail.gmail.com>
Subject: Re: Feature request: readline's completion-prefix-display-length option
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Cc: Hong Xu <hong@topbug.net>
Content-Type: text/plain; charset=UTF-8
X-Seq: zsh-workers 38495

On Sat, May 14, 2016 at 11:08 PM, Hong Xu <hong@topbug.net> wrote:
>
> I believe that readline's completion-prefix-display-length is a great
> option to have for zle. This option enables the common part of long
> completions to be represented by ellipsis, so the options in the
> completion list would not be too long in many cases.

There might be a deviously clever way to do this with the list-colors
style, similar to the way that show-ambiguity is implemented.

