From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8989 invoked from network); 13 Sep 2004 13:23:02 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Sep 2004 13:23:02 -0000 Received: (qmail 65207 invoked from network); 13 Sep 2004 13:22:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Sep 2004 13:22:54 -0000 Received: (qmail 4154 invoked by alias); 13 Sep 2004 13:22:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20364 Received: (qmail 4145 invoked from network); 13 Sep 2004 13:22:52 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 13 Sep 2004 13:22:52 -0000 Received: (qmail 64557 invoked from network); 13 Sep 2004 13:21:53 -0000 Received: from lhuumrelay3.lnd.ops.eu.uu.net (62.189.58.19) by a.mx.sunsite.dk with SMTP; 13 Sep 2004 13:21:51 -0000 Received: from MAILSWEEPER01.csr.com (mailhost1.csr.com [62.189.183.235]) by lhuumrelay3.lnd.ops.eu.uu.net (8.11.0/8.11.0) with ESMTP id i8DDLov08357 for ; Mon, 13 Sep 2004 13:21:50 GMT Received: from EXCHANGE02.csr.com (unverified [192.168.137.45]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Mon, 13 Sep 2004 14:20:55 +0100 Received: from news01.csr.com ([192.168.143.38]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 13 Sep 2004 14:23:00 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.12.11/8.12.11) with ESMTP id i8DDLn2P005748 for ; Mon, 13 Sep 2004 14:21:49 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.12.11/8.12.11/Submit) with ESMTP id i8DDLmZ7005745 for ; Mon, 13 Sep 2004 14:21:49 +0100 Message-Id: <200409131321.i8DDLmZ7005745@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: Difficulties with _oldlist In-reply-to: <200409101059.i8AAxFkl020699@news01.csr.com> References: <200409081656.i88Gu7dA011749@news01.csr.com> <200409101059.i8AAxFkl020699@news01.csr.com> Date: Mon, 13 Sep 2004 14:21:48 +0100 From: Peter Stephenson X-OriginalArrivalTime: 13 Sep 2004 13:23:00.0531 (UTC) FILETIME=[CA879830:01C49994] X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 As far as I can tell, this is working. Index: Completion/Base/Completer/_oldlist =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Base/Completer/_oldlist,v retrieving revision 1.1 diff -u -r1.1 _oldlist --- Completion/Base/Completer/_oldlist 2 Apr 2001 11:08:37 -0000 1.1 +++ Completion/Base/Completer/_oldlist 13 Sep 2004 13:20:28 -0000 @@ -15,7 +15,7 @@ if [[ -n $compstate[old_list] && $list != never && $LASTWIDGET != _complete_help && $WIDGET != _complete_help ]]; then - if [[ $WIDGET = *list* && ( $list = always || $list != shown ) ]]; then + if [[ $WIDGETSTYLE = *list* && ( $list = always || $list != shown ) ]]; then compstate[old_list]=keep return 0 elif [[ $list = *${_lastcomp[completer]}* ]]; then @@ -39,11 +39,11 @@ $LASTWIDGET != _complete_help && $WIDGET != _complete_help ]]; then compstate[old_list]=keep return 0 -elif [[ $WIDGET = *complete(|-prefix|-word) ]] && +elif [[ $WIDGETSTYLE = *complete(|-prefix|-word) ]] && zstyle -T ":completion:${curcontext}:" old-menu; then if [[ -n $compstate[old_insert] ]]; then compstate[old_list]=keep - if [[ $WIDGET = *reverse* ]]; then + if [[ $WIDGETSTYLE = *reverse* ]]; then compstate[insert]=$(( compstate[old_insert] - 1 )) else compstate[insert]=$(( compstate[old_insert] + 1 )) -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************