From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4711 invoked by alias); 18 Oct 2014 14:18: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: X-Seq: 33476 Received: (qmail 10519 invoked from network); 18 Oct 2014 14:17:56 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=x-sasl-enc:date:from:to:cc:subject :message-id:references:mime-version:content-type :content-transfer-encoding:in-reply-to; s=mesmtp; bh=9u+eNV2w2iO J2zml4+mkcBPcY6A=; b=qN8q09oilnXTqaB1MnDqjnRrUmHW9fu03QQ1+bEOYKA jjtybD2NntcPZJUzHOMUUC4ffMFbZDUw8wDtfi8wPpsxellvLbNeGHl63pfdcu5Y wQ7/ToLxhSvno0sogFfyDzcO3jMgLCPs/tU0PvkpTphCIJKj3TXKf6zpbkD385Iw = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:date:from:to:cc:subject :message-id:references:mime-version:content-type :content-transfer-encoding:in-reply-to; s=smtpout; bh=9u+eNV2w2i OJ2zml4+mkcBPcY6A=; b=YOpmkjsSRYu2YBo7XliMUwlDPL6RM6aj2fGwcYhoUN gjZNH4XXgm/UV4KeafOfJmp3XC5BJBq3JddvU3J0vVcETEDxoTzwaThDmk0rBeB4 /g67aNl03Dj6aSAxnGXvnukRuBJYBZR+D4uR3l0msYJIqy28ssOufiqrCYEa2vpz c= X-Sasl-enc: Ve3XuvU3P2D3k1+ZyFT09JIqxsDj9ib4NiqICrO0enfA 1413641298 Date: Sat, 18 Oct 2014 14:08:13 +0000 From: Daniel Shahaf To: Bart Schaefer Cc: zsh-workers@zsh.org Subject: Re: [Bulk] Re: [PATCH] Add xxd completion Message-ID: <20141018140813.GA1805@tarsus.local2> References: <20141008082016.GC1712@tarsus.local2> <30554.1412778907@thecus.kiddle.eu> <20141009082124.GC1737@tarsus.local2> <11354.1413020781@thecus.kiddle.eu> <141011091935.ZM1151@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <141011091935.ZM1151@torch.brasslantern.com> User-Agent: Mutt/1.5.21 (2010-09-15) [ Sorry for the delay; I didn't have time during the week. ] Bart Schaefer wrote on Sat, Oct 11, 2014 at 09:19:35 -0700: > On Oct 11, 11:46am, Oliver Kiddle wrote: > } > } It'll perhaps seem clearer if you set the format style with the > } descriptions tag > > We had a brief discussion a few weeks ago of supplying a set of default > zstyles, I've been gradually building up a suggested list. Both of > these were the first things on it: > Perhaps add a snippet to enable edit-command-line to that list of suggestions? It's not a zstyle, but it's asked regularly on IRC. (I bind it to ^Fc.) (Also: I like the idea of having such a list — it would nicely bridge the gap between "keep features off-by-default for backwards compatibility" and "have helpful features on by default", i.e., "require no configuration in the common case".) > } zstyle ':completion:*:descriptions' format '%B%d%b' > } zstyle ':completion:*' group-name '' > } > } This makes it clearer that you have two groups, one of which has no > } associated matches, just a heading. > } Indeed, the situation with -g is much clearer with these settings. They also make the nature of the -z file suggestion clearer. I think that addresses all my upthread questions, then. > } What subsequent tab presses does, depends a lot on your configuration. > Sorry, forgot to mention explicitly: I was using the default settings provided by compinstall (autoload compinit && compinit && zstyle :compinstall filename). > Thanks for the detailed replies, Oliver and Bart. Daniel