zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <borsenkow.msk@sni.de>
To: "Sven Wischnowsky" <wischnow@informatik.hu-berlin.de>,
	<zsh-workers@sunsite.auc.dk>
Subject: RE: _path_files and completeinword
Date: Thu, 11 Mar 1999 20:51:39 +0300	[thread overview]
Message-ID: <000801be6be7$d06f11f0$21c9ca95@mowp.siemens.ru> (raw)
In-Reply-To: <199903100944.KAA16241@beta.informatik.hu-berlin.de>

>
> `_path_files' does the matching itself -- and sometimes things get too
> hard for it.
> To allow `-g ...' patterns, it has to append these patterns to the
> string from the line and then use that to generate filenames.

Sorry? I don't understand it. The meaning of `-g'  is: "take as possible
matches the files that match given glob pattern(s)". The matches are only
*possible* - that is, they still have to match comand line to be included in
completion list.

If _path_files does something else, that means

 - it implements different completion as was always used in zsh
 - this is a bug

If we return to example (/t/s/z/D/z<CURSOR>i - implying
/tools/src/zsh-xxx/Doc/zsh.texi), then it means, that _path_files should
take a list of files in /tools/src/zsh-xxx/Doc that match given glob pattern
(let it be *.texi) and then match them against z*i.

/andrej



  reply	other threads:[~1999-03-11 18:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-10  9:44 Sven Wischnowsky
1999-03-11 17:51 ` Andrej Borsenkow [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-03-12  8:35 Sven Wischnowsky
1999-03-09 16:28 Andrej Borsenkow

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='000801be6be7$d06f11f0$21c9ca95@mowp.siemens.ru' \
    --to=borsenkow.msk@sni.de \
    --cc=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).