From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4227 invoked from network); 6 Nov 1998 13:20:14 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 6 Nov 1998 13:20:14 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id IAA20092; Fri, 6 Nov 1998 08:17:53 -0500 (EST) Resent-Date: Fri, 6 Nov 1998 08:17:53 -0500 (EST) Message-Id: <9811061302.AA52410@ibmth.df.unipi.it> To: zsh-workers@math.gatech.edu Subject: Re: fixsuffix() again In-Reply-To: "Sven Wischnowsky"'s message of "Fri, 06 Nov 1998 10:11:57 NFT." <199811060911.KAA04730@beta.informatik.hu-berlin.de> Date: Fri, 06 Nov 1998 14:02:32 +0100 From: Peter Stephenson Resent-Message-ID: <"8tm-s.0.sv4.1SlGs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4579 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Sven Wischnowsky wrote: > > So you mean with that one call to fixsuffix() in docompletion() we can > > get rid of all the other calls to fixsuffix() scattered about in other > > places? If so, then by golly I vote for putting that one back and > > nuking the others. > > The one in deletecharorlist() will still be need since it is in the > branch where completion is noct called. So it would make two instead > of three calls in zle_tricky.c. The patch below does this, but note > that there is one ugliness: I've found a more serious problem with this. % export ZMLIB=$PWD # some people probably have this set anyway % setopt noautomenu menucomplete noautolist % echo $Z -> $ZMLIST/ -> $ZSH_NAME -> $ZSH_VERSION -> $ZSH_VERSIO It seems to lose memory of the fact that the slash has already gone. -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarotti 2, 56100 Pisa, Italy