zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Problem with _arguments and _normal as action if nolistambiguous is set.
Date: Mon, 13 Sep 1999 15:30:59 +0200 (MET DST)	[thread overview]
Message-ID: <199909131330.PAA21257@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of Fri, 10 Sep 1999 20:19:48 +0400


Andrej Borsenkow wrote:

> itsrm2% sudo -TAB
> itsrm2% sudo <=cursor here

This is a really ugly bug. It comes from the fact that the options are 
added with a `r:|-=*' match spec and commands are not. The completion
code currently can't merge the unambiguous string information if the
equal substrings are in an anchor for some matches and in a normal
string-part for other matches.

And the more I think about ways to solve this the more complicated it
gets. So I'll need some more time.

> TAB once more
> 
> itsrm2% sudo !<=cursor

Here the completion code starts completing the matches for command
position. And they include the `!' (the `not' operaator/precommand
specifier).

> itsrm2% sudo !!<=cursor

I don't get this doubled `!'. For me it just continues inserting
command names and such things.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~1999-09-13 13:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-13 13:30 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-09-14  9:50 Sven Wischnowsky
1999-09-10 13:23 Problem with _arguments and invalid options Andrej Borsenkow
1999-09-10 16:19 ` Problem with _arguments and _normal as action if nolistambiguous is set 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=199909131330.PAA21257@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).