zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: simulation of dabbrev-expand
Date: Mon, 20 Sep 1999 10:40:45 +0200 (MET DST)	[thread overview]
Message-ID: <199909200840.KAA06286@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Adam Spiers's message of Fri, 17 Sep 1999 22:44:55 +0100


Adam Spiers wrote:

> How can I ensure that there are no duplicate words in the list of
> matches?  Even if this isn't the real problem I'm experiencing, it may
> well help narrow it down. 

Bart Schaefer answered:

> The completion system *should* be handling this for you, but I'm going to
> leave that bug to Sven, [ ... ] 

Hm, actually I don't think this is a bug -- at least it is intended
behaviour. Although I admit that I partly did this for performance
reasons. So, should duplicates always be removed or should this be an
option (we're in trouble with `compctl', then -- no more option
letters).

> This questions leads me to another: we have
> all these variables at our disposal in the widget functions for
> examining the completion system's state in great detail ... but the
> one thing we still can't do (AFAICS) is actually see what completions
> have currently been calculated.  If there was a special array
> parameter, `completions' say, then things like removing duplicate
> matches, or choosing your own match sorting algorithm (although heaven
> forbid I would ever need to implement a quicksort in zsh :-) would
> become possible in the shell functions.  Have I missed something here?

You've missed some mails in which I wrote something about this. See
6117 and 6119 (and somewhere before that, but I don't have this in my
list any more, it seems).

Bye
 Sven


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


             reply	other threads:[~1999-09-20  8:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-20  8:40 Sven Wischnowsky [this message]
1999-09-20 22:00 ` Adam Spiers
  -- strict thread matches above, loose matches on Subject: below --
1999-09-22 14:11 Sven Wischnowsky
1999-09-22 14:57 ` Zefram
1999-09-22 22:13 ` Adam Spiers
1999-09-21  7:28 Sven Wischnowsky
1999-09-21  7:20 Sven Wischnowsky
1999-09-22  0:03 ` Adam Spiers
     [not found] <19990909133913.A30055@thelonious.new.ox.ac.uk>
     [not found] ` <990909171104.ZM15814@candle.brasslantern.com>
     [not found]   ` <19990916173409.A17932@thelonious.new.ox.ac.uk>
1999-09-17 21:44     ` Adam Spiers

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=199909200840.KAA06286@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).