From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Completion issues
Date: Mon, 3 Apr 2000 15:11:45 +0200 (MET DST) [thread overview]
Message-ID: <200004031311.PAA01829@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Sun, 2 Apr 2000 03:16:33 +0000
Bart Schaefer wrote:
> On Apr 1, 9:26pm, Peter Stephenson wrote:
> ...
>
> } Second, if I understood correctly, the default behaviour for completion is
> } to ignore ignored completions completely. Thus the behaviour of $fignore
> } has changed.
>
> Unless I'm getting the wrong version of a function, it appears that this
> is special-cased by _path_files so that $fignore has not changed -- but
> if you use the ignored-patterns style instead, then ignored completions
> really are ignored, and you need to add the _ignored completer to get
> the old behavior back.
No, $fignore is used in the same way as ignored-patterns (and ignored
only by _ignored).
So, this changes the default for the completer style.
Bye
Sven
Index: Completion/Core/_main_complete
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_main_complete,v
retrieving revision 1.2
diff -u -r1.2 _main_complete
--- Completion/Core/_main_complete 2000/04/01 20:43:43 1.2
+++ Completion/Core/_main_complete 2000/04/03 13:07:22
@@ -62,7 +62,7 @@
_completers=( "$@" )
else
zstyle -a ":completion:${curcontext}:" completer _completers ||
- _completers=( _complete )
+ _completers=( _complete _ignored )
fi
# And now just call the completer functions defined.
Index: Doc/Zsh/compsys.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compsys.yo,v
retrieving revision 1.3
diff -u -r1.3 compsys.yo
--- Doc/Zsh/compsys.yo 2000/04/03 12:56:31 1.3
+++ Doc/Zsh/compsys.yo 2000/04/03 13:07:25
@@ -841,8 +841,10 @@
zstyle ':completion:incremental:*' completer _complete _correct
zstyle ':completion:predict:*' completer _complete)
-The default value for this style is tt(_complete), i.e. normally only
-completion will be done.
+The default value for this style is tt(_complete _ignored),
+i.e. normally only completion will be done, first using the
+tt(ignored-patterns) style and the tt($fignore) array and then without
+ignoring matches because of these.
)
kindex(completions, completion style)
item(tt(completions))(
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-04-03 13:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-03 13:11 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-04-06 7:31 Sven Wischnowsky
2000-04-04 9:49 Sven Wischnowsky
2000-04-03 15:25 Sven Wischnowsky
2000-04-05 18:30 ` Peter Stephenson
2000-04-03 12:56 Sven Wischnowsky
2000-04-01 20:26 Peter Stephenson
2000-04-02 3:16 ` Bart Schaefer
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=200004031311.PAA01829@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/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).