From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4129 invoked from network); 5 Jun 2000 15:14:06 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Jun 2000 15:14:06 -0000 Received: (qmail 8881 invoked by alias); 5 Jun 2000 15:13:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11753 Received: (qmail 8872 invoked from network); 5 Jun 2000 15:13:55 -0000 From: "Bart Schaefer" Message-Id: <1000605151339.ZM25520@candle.brasslantern.com> Date: Mon, 5 Jun 2000 15:13:39 +0000 In-Reply-To: <200006051433.QAA04873@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: Getting "parse error" from _path_files" (Jun 5, 4:33pm) References: <200006051433.QAA04873@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: insert-tab (Re: Getting "parse error" from _path_files) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 5, 4:33pm, Sven Wischnowsky wrote: } Subject: Re: Getting "parse error" from _path_files } } Bart Schaefer wrote: } } > if [[ "$compstate[insert]" = tab* && "$WIDGET" != *list* ]]; then } > { zstyle -T ":completion:${curcontext}:" insert-tab && } > { [[ "$curcontext" != :* || -z "$compstate[vared]" ]] || } > zstyle -t ":completion:vared${curcontext}:" insert-tab } } && return 0 } > } > Which reminds me to wonder why insert-tab is tested for *not* being set, } > at that point? } } Err...? It is tested for being set (to true), with different defaults for } not-in-vared and in-vared. zagzig[38] zstyle ':completion:*' insert-tab true zagzig[39] ls x Completing `file' According to the doc for insert-tab, I should have gotten a tab inserted, because there is a non-blank character to the left of the cursor. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net