From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17521 invoked from network); 19 Apr 1999 09:43:25 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Apr 1999 09:43:25 -0000 Received: (qmail 20616 invoked by alias); 19 Apr 1999 09:43:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6059 Received: (qmail 20609 invoked from network); 19 Apr 1999 09:43:11 -0000 Message-Id: <9904190918.AA32248@ibmth.df.unipi.it> To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: compstate[old_list] Date: Mon, 19 Apr 1999 11:18:51 +0200 From: Peter Stephenson I tried to add these lines to the top of _main_complete so that listing widgets could be made to use an existing list of completions. if [[ $WIDGET = *list* && -n $compconfig[old_list] && -n $compstate[old_list] && ( $compconfig[old_list] = always || $compstate[old_list] != shown ) ]]; then compstate[old_list]=keep return fi But when I start a non-contextual completion, and the list is displayed by autolist, and I then type ^D, this doesn't work --- it seems $compstate[old_list] is not set. Is this just me? -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy