From: joe M <joe9mail@gmail.com>
To: Oliver Kiddle <okiddle@yahoo.co.uk>
Cc: zsh-workers@zsh.org
Subject: Re: zsh completer _approximate completer
Date: Fri, 1 Mar 2013 14:30:31 -0500 [thread overview]
Message-ID: <CAHjjW14j_F_bmzE07yk0OyETgNaSt1OmFYdR=3T=iiZBgAp-Cg@mail.gmail.com> (raw)
In-Reply-To: <28025.1362043834@thecus.kiddle.eu>
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
next prev parent reply other threads:[~2013-03-01 19:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-28 6:27 joe M
2013-02-28 6:42 ` joe M
2013-02-28 9:00 ` Oliver Kiddle
2013-02-28 9:30 ` Oliver Kiddle
2013-03-01 19:30 ` joe M [this message]
2013-03-01 19:38 ` joe M
2013-03-01 20:30 ` joe M
2013-03-01 23:40 ` Oliver Kiddle
2013-03-02 4:13 ` joe M
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHjjW14j_F_bmzE07yk0OyETgNaSt1OmFYdR=3T=iiZBgAp-Cg@mail.gmail.com' \
--to=joe9mail@gmail.com \
--cc=okiddle@yahoo.co.uk \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).