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: Command completion
Date: Wed, 3 May 2000 18:52:03 +0400	[thread overview]
Message-ID: <000f01bfb50f$24ca5540$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <200005031445.QAA06812@beta.informatik.hu-berlin.de>

> Andrej Borsenkow wrote:
>
> > bor@itsrm2% nslo<TAB>
> > Completing external command
> > nslookup
> > Completing shell function
> > nslookup
> >
> > This obviously makes no sense. We _may_ make completion so
> smart, as to
> > insert full pathname (or command) for external commands -
> but currently
> > nslookup will always execute functions, won't it? So, the
> above has one
> > unambiguous match?
>
> Hmhm. I'd still like to see that information for really unambiguous
> matches, but in cases like this one we should just go ahead
> and accept
> the single possible string.
>
> No patch yet...
>


Just to make sure we mean the same thing. It *does* insert nslookup. The
example above was slightly incorrect; the actual screenshot after TAB is
(with cursor immediately after nslookup)

bor@itsrm2% nslookup<CURSOR HERE>
Completing external command
nslookup
Completing shell function
nslookup

So, in this case I believe, that

- no list is to be displayed (we have just a single match)
- exact match should be immediately accepted and space inserted

If you like to see list in this case ... another style?

-andrej


  reply	other threads:[~2000-05-03 14:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-03 14:45 Sven Wischnowsky
2000-05-03 14:52 ` Andrej Borsenkow [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-05-03 14:58 Sven Wischnowsky
2000-05-03 15:12 ` Andrej Borsenkow
2000-05-03 13:29 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='000f01bfb50f$24ca5540$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).