From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19612 invoked by alias); 1 Mar 2013 19:30:40 -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: 31092 Received: (qmail 2280 invoked from network); 1 Mar 2013 19:30:39 -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=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.216.169 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=RK4zJ5T7/nRTvPJj4O1rx4VhF//ZZT5fU0AF3pyhd/I=; b=ghfDwNNeA8BecE9cY383606iFyK96uSu38DN41Vo1SuqZlRFhMhbPO8BFEiyh2Cx6G DvtkG3EDtx0gZJiTdECqLsDXOMsFDe+kX0k6HoKsQKsn8+dUiDuP6hyEVRcEarqhQNVn xWUg10bE1lN3dz6AhltaW1uu5mXNXmKtKgwB1KcX8jqYHLg3iTVt4jdnOK8UYwVmSYpn 985YC+GRRLLh1+lfmntqXMz6JibUZjw804uVMbjbc5Ga7a8idUPRs3yxp3OFI94wkuEo sv7l10yv+0TnWQtNvTAcULgIfiw6Qs/dvlTqWuZAm0JSoEjzjXLZW/owdJiHCt0tuIag BJwg== MIME-Version: 1.0 X-Received: by 10.229.202.132 with SMTP id fe4mr4246094qcb.14.1362166231657; Fri, 01 Mar 2013 11:30:31 -0800 (PST) In-Reply-To: <28025.1362043834@thecus.kiddle.eu> References: <28025.1362043834@thecus.kiddle.eu> Date: Fri, 1 Mar 2013 14:30:31 -0500 Message-ID: Subject: Re: zsh completer _approximate completer From: joe M To: Oliver Kiddle Cc: zsh-workers@zsh.org Content-Type: text/plain; charset=ISO-8859-1 Hello > I'm assuming they get ignored because they contradict the previous group > ordering. > > This makes sense when you consider that a group-order is something that > can't be applied for specific matches: there is one ordering for all > matches. Perhaps a group-order from a tag loop where no matches are > actually generated should be thrown away. > > So in conclusion, don't set group-order with a general style. I removed the group-order from the general style and am trying to set it at a more specific context. zstyle -L zstyle -L zstyle ':completion:*:options' auto-description %d zstyle ':completion::complete:*' cache-path /home/j/var/zsh/zcompcache zstyle ':completion:hist-complete:*' completer _history zstyle ':completion:*:options' description yes zstyle ':completion:*:corrections' format ' %F{green}-- %d (errors: %e) --%f' zstyle ':completion:*:descriptions' format ' %F{yellow}-- %d --%f' zstyle ':completion:*:messages' format ' %F{purple} -- %d --%f' zstyle ':completion:*:warnings' format ' %F{red}-- no matches found --%f' zstyle ':completion:*' format ' %F{yellow}-- %d --%f' zstyle ':completion:*:default' list-prompt '%S%M matches%s' zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' zstyle ':completion:predict:*' menu yes zstyle ':completion:*:*:*:*:*' menu select zstyle ':completion:*' show-completer true zstyle ':completion::complete:*' use-cache on zstyle ':completion:*' use-compctl false zstyle :predict verbose true zstyle ':completion:*' verbose yes --(~/etc/zsh)-------------------------------------------------------------------------------------------------------------------(pts/3@master)-- zstyle ':completion:*' completer _expand _complete _ignored _approximate zstyle ':completion:*' completer _expand _complete _ignored _approximate --(~/etc/zsh)-------------------------------------------------------------------------------------------------------------------(pts/3@master)-- zstyle ':completion::expand:*' group-order original expansions all-expansions zstyle ':completion::expand:*' group-order original expansions all-expansions --(~/etc/zsh)-------------------------------------------------------------------------------------------------------------------(pts/3@master)-- grep test * -- expansions -- 01-colors.zsh 01-prezto-helper.zsh 05-appearance.unused_zsh 06-zex.zsh-does-not-work 10-syntax.zsh.trapd00r 20-abbrevations.zsh 20-bookmarks.zsh 20-exports.zsh 20-history.zsh 20-setopts.zsh 39-completion-skeleton.zsh 40-alias-global.zsh 40-alias-ls.zsh 40-alias-suffix.zsh 40-alias.zsh 40-completion.zsh 40-completion.zsh.20130228 40-completion.zsh.20130301 40-completion.zsh.original 40-directory.zsh 50-bindkeys.zsh 50-functions.zsh 60-git.zsh 70-autojump.zsh 70-simpleprompt.zsh 90-syntax.zsh 90-syntax.zsh.zsh-syntax-highlighting 91-history-substring-search.zsh 92-auto-fu.zsh.disable 99-startup.zsh all_opts all_opts_bang bart.theme colorize colorize.c compdef compdef.disable .git .gitignore history_words_to_commands.patch mikachu-dot-zshrc prezto start-zsh-with-cmd.exp todo todo.txt trapd00r.theme zex-zsh zprofile.20110925 zprofile.20120319 zprofile.20130124 zprofile.latest zprofile.root zprofile.simple zsh_history.joe zshrc --(~/etc/zsh)----------------------------------------------------------------------------------------------------------------------(pts/3@master)-- grep test * tags in context :completion::expand::: all-expansions expansions original (_expand) It does not show the original before. Even adding this: zstyle ':completion::expand:*' tag-order original expansions all-expansions, shows the same behaviour. Any thoughts, please? Thanks Joe