From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 432 invoked from network); 3 Nov 1998 17:21:14 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 3 Nov 1998 17:21:14 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id MAA25117; Tue, 3 Nov 1998 12:18:42 -0500 (EST) Resent-Date: Tue, 3 Nov 1998 12:18:42 -0500 (EST) Message-Id: <9811031703.AA22816@ibmth.df.unipi.it> To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Re: PATCH: completion or'ing and grouping In-Reply-To: "Sven Wischnowsky"'s message of "Tue, 03 Nov 1998 11:55:20 NFT." <199811031055.LAA27356@beta.informatik.hu-berlin.de> Date: Tue, 03 Nov 1998 18:03:24 +0100 From: Peter Stephenson Resent-Message-ID: <"RLMnI3.0.L86.nhpFs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4518 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Sven Wischnowsky wrote: > > Hi > > Below is the first of two rather biggish patches for completion. Got this to apply with a few bits applied by hand, without creating any untoward problems as far as I can see. My first couple of comments are: First, the last hunk of the patch deletes ! 1 or -1. For example, ! ! nofill(tt(compctl -s '`users`' -x 'n[1,@]' -k hosts -- talk)) ! ! will usually complete usernames, but if you insert an tt(@) after the ! name, names from the array var(hosts) (assumed to contain hostnames, ! though you must make the array yourself) will be completed. Other ! commands such as tt(rcp) can be handled similarly. from the manual. This is a new, and apparently irrelevant, example just added, so I would guess this is a mistake due to having patched the old file but not the new. Second, there seems to be a problem with menucompletion set. It now pauses when it gets to an ambiguous completion, and only cycles through the next time you hit tab --- in other words it seems to have turned into the normal automenu behaviour. -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarotti 2, 56100 Pisa, Italy