zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Sven Wischnowsky" <wischnow@informatik.hu-berlin.de>,
	<zsh-workers@sunsite.auc.dk>
Subject: RE: PATCH: Re: _match still does not work in _path_files
Date: Sat, 16 Oct 1999 15:46:56 +0400	[thread overview]
Message-ID: <000001bf17cc$2604a8b0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <199910151413.QAA18584@beta.informatik.hu-berlin.de>

>
> ... of the code that makes this happen. `_path_files' adds the
> matching together with possible suffixes to be able to show the
> longest possible unambiguous string to the user. This means that there
> are different matches that would show the same string in the line. To
> avoid showing the same string more than once in a list, the completion
> code hides duplicates. And lists with hidden matches can not be
> completed with menu-selection.
>

Ahem ... but why is menu completion started for the last path component in the
first place? I expect it to be started for {functions,functions.old} - the first
ambiguous part. And I bet it was - once.

I tested it in zsh-3.1.6 and there _match works :-) and look what happens:

itsrm2% l /t/s/z/f*/_<TAB>
itsrm2% l /tools/share/zsh/functions/_
functions/      functions.old/

press TAB once more and selection is started for the first ambiguous component:

itsrm2% l /tools/share/zsh/functions/_
functions/      functions.old/
(after TAB)
itsrm2% l /tools/share/zsh/functions.old/_
functions/      functions.old/

etc.

I (from a user's point of view) fail to see, how /t/s/z/f/_ differs from
/t/s/z/f*/_ - it has exactly and precisely the same meaning.

/andrej





  parent reply	other threads:[~1999-10-16 11:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-15 14:13 Sven Wischnowsky
1999-10-15 14:26 ` Andrej Borsenkow
1999-10-16 11:46 ` Andrej Borsenkow [this message]
1999-10-18  8:38 Sven Wischnowsky
1999-10-18  9:50 ` Bart Schaefer
1999-11-02 14:17 ` Andrej Borsenkow
1999-10-18  8:41 Sven Wischnowsky
1999-10-18 11:19 Sven Wischnowsky
1999-11-02 14:54 Sven Wischnowsky

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='000001bf17cc$2604a8b0$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --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).