From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 937 invoked by alias); 12 Apr 2015 18:58:39 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20146 Received: (qmail 12521 invoked from network); 12 Apr 2015 18:58:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=O5G2+Fqx1PUcaNYOUrHdf3lDnn9CxIY2iXfpgWB08lY=; b=VfIH8EHEexV0kuSbm1yhOdkoKAMvJ828GXaiwzpoi3GaQKt1TViQk+ZwA7oY9hq9AN flgFZmBJYzPXsp1yE18LuqCrxWZ3SkWTC5Z5ifjsCRI1RAaoo+73sL/Giy+0LsL9KLQI 1wfvYzSNu8KyoE/2O79IOqeSzZEmebeYRWntTDQhW//gB9zWA77dta6S2xHYoLvx7zLD HqaBdtcBDBrzljj1CWnU7DFnp945/46m/X/gX+Z8VlcicoRwZB4eM4AvGpSDZKRB9jMr jTHpezGXwsYYcjHZs4qCLzpqc37IVHKLH1OIvCt9BGeFbOUvcdLdgrB1lruHmw8kGEQl VPDA== X-Gm-Message-State: ALoCoQm/70ZERua8b9g/3Ulbfi+Ywr06/9Q+j3vAAVkmBk6zJqnYbLdI/3IfVmU6gp4tViCHMSU0 X-Received: by 10.182.130.166 with SMTP id of6mr9779237obb.53.1428865113388; Sun, 12 Apr 2015 11:58:33 -0700 (PDT) From: Bart Schaefer Message-Id: <150412115830.ZM21859@torch.brasslantern.com> Date: Sun, 12 Apr 2015 11:58:30 -0700 In-Reply-To: <552A67C4.1080903@thregr.org> Comments: In reply to "Yuri D'Elia" "Re: show-ambiguity style" (Apr 12, 2:40pm) References: <150411130249.ZM27498@torch.brasslantern.com> <552A67C4.1080903@thregr.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: show-ambiguity style MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 12, 2:40pm, Yuri D'Elia wrote: } Subject: Re: show-ambiguity style } } On 04/11/2015 10:02 PM, Bart Schaefer wrote: } > Completion gets screwed up if show-ambiguity is not an ANSI term color } } I mentioned it in the page (and now that I look again, you actually } responded to my first implementation ;)). I'm not sure what this means ... the 20141010-zsh_show_ambiguity page has not changed since I first looked at it. Oh, you mean that I responded on the users/18440 thread. In any case there's nothing in either your page or the docs to indicate that bad syntax in list-colors will garble the completion display. } The way the match is constructed (a nested glob expression - a great } idea of Oliver Kiddle) is the neatest and weakest part IMHO. It makes } the highlight work even with complete_in_word, but surely is not as } efficient as post-processing the result *after* list coloring. I don't know that it makes any difference to efficiency, but to have the ambiguity disply overlaid on top of the other coloring would require changes to the complist internals. The main thing this is telling me is that we need more examples of how to set list-colors.