From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: RE: file-patterns problem
Date: Thu, 24 Feb 2000 11:19:06 +0100 (MET) [thread overview]
Message-ID: <200002241019.LAA19776@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of Thu, 24 Feb 2000 12:49:07 +0300
Andrej Borsenkow wrote:
> ...
>
> In other words - setting styles for partucular tag has a side effect of
> enabling this tag? I find it really confusing. Do not we have special tag to
> enable/disable tags (ough :-) Hmm looks, like not. The closest is
> tag-order - and if it gets slightly different name (without so much strngth
> on ``order'') - it is quite usable to say, which tags and in which order.
>
> In the case above - files and path_files should have default tags to try and
> with default patterns. If you do not want to see all files - set tag-order
> to the correct tags. If you wnat other patterns - set file-patterbs. If you
> want only particular tags with particular patterns - set both.
The problem is that user may, quite sensibly, set a global value for
tag-order to something like:
zstyle ':completion:*' tag-order globbed-files directories all-files ...
With that every filename completion would use all three tags. it will
often be possible to ignore globbed-files (we are talking only about
cases where _files is called without an explicit -g) when there is no
corresponding file-patterns style. But it would make directories be
preferred in every filename completion -- so it would have just a
different kind of side-effect.
Because of that I still prefer the way we do it now, as long as we get
sorted out how the directories flag should be used. Which mainly
means: always if a file-pattern for globebd-files is set or not.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-02-24 10:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-24 10:19 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-02-24 9:04 Sven Wischnowsky
2000-02-24 9:49 ` Andrej Borsenkow
2000-02-23 18:57 Peter Stephenson
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=200002241019.LAA19776@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).