zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: RE: PATCH: all completions
Date: Wed, 11 Oct 2000 15:39:45 +0200 (MET DST)	[thread overview]
Message-ID: <200010111339.PAA27899@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of Wed, 11 Oct 2000 16:37:44 +0400


Andrej Borsenkow wrote:

> > Here's an improved patch. It gets the string displayed for the
> > all-matches special match right (as described in 12936) and it has
> > another style, `avoid-completer' (any suggestions for a better
> > name?). That gives a list of completer-names for which no all-matches
> > string should be added. It has what I think is a sensible default
> > value.
> 
> The word ``matches'' in manual may be a bit misleading but I fail to suggest
> better. We actually mean ``completion listing'' that completion code
> internally builds. In case of _correct/_approximate or _expand it is actually
> superset of possible matches (original word on line or all expansions).

Somehow I thought that the manual said `... the original string as a
match', but it doesn't. So, yes, maybe. I don't know any better
wording, though.

> Actually, it just occured to me, that exactly in case of _correct or
> _approximate this distinction may be significant. User _may_ want to add all
> *matches* but without original string.

Currently, that special match just uses all other matches. Changing
that internally is quite simple (a flag in the match structure to say
which matches are (not) to be used). And from the shell level side we
could probably use the -F option to supply patterns to tell `compadd -C'
which matches should not be used. Hm, we'll see...

> But this probably needs more user
> feedback.

... then.

Bye
 Sven


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


         reply	other threads:[~2000-10-11 13:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-11 12:17 Sven Wischnowsky
2000-10-11 12:37 ` Andrej Borsenkow
2000-10-11 13:39   ` Sven Wischnowsky [this message]
2000-10-11 15:41     ` Bart Schaefer
2000-10-12  8:44 Sven Wischnowsky
2000-10-12 12:23 ` Bart Schaefer
2000-10-12 12:30 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=200010111339.PAA27899@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).