From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20695 invoked from network); 18 May 2000 08:55:56 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 May 2000 08:55:56 -0000 Received: (qmail 4909 invoked by alias); 18 May 2000 08:55:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11455 Received: (qmail 4901 invoked from network); 18 May 2000 08:55:49 -0000 Date: Thu, 18 May 2000 09:54:53 +0100 From: Peter Stephenson Subject: Re: PATCH: _zstyle additions In-reply-to: "Your message of Thu, 18 May 2000 09:07:53 +0200." <200005180707.JAA01443@beta.informatik.hu-berlin.de> To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Message-id: <0FUQ007APZFGJQ@la-la.cambridgesiliconradio.com> Content-transfer-encoding: 7BIT Sven wrote > > old-list and old-menu never got added to _zstyle. I found I had to set > > old-menu to true for it to take effect. It should be on by default, I > > think? If so the zstyle command needs to have -T instead of -t. > > I'd say that it's your completer, so you decide... The manual says it's on by default, it must have got turned off during some rewrite. Bart wrote: > > The most common usage for telnet in my experience is > > not to specify the host on the command line, even if you give the port. > > Eh? In my experience, telnet won't let you specify a port without a host. I meant `user', not `host'. Index: Completion/Core/_oldlist =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Core/_oldlist,v retrieving revision 1.5 diff -u -r1.5 _oldlist --- Completion/Core/_oldlist 2000/04/12 09:28:57 1.5 +++ Completion/Core/_oldlist 2000/05/18 08:51:08 @@ -40,7 +40,7 @@ compstate[old_list]=keep return 0 elif [[ $WIDGET = *complete(|-prefix|-word) ]] && - zstyle -t ":completion:${curcontext}:" old-menu; then + zstyle -T ":completion:${curcontext}:" old-menu; then if [[ -n $compstate[old_insert] ]]; then compstate[old_list]=keep if [[ $WIDGET = *reverse* ]]; then -- Peter Stephenson Cambridge Silicon Radio, Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070