From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14348 invoked from network); 4 Sep 2008 11:05:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Sep 2008 11:05:31 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 96550 invoked from network); 4 Sep 2008 11:05:03 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Sep 2008 11:05:03 -0000 Received: (qmail 15255 invoked by alias); 4 Sep 2008 11:04:51 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25604 Received: (qmail 15237 invoked from network); 4 Sep 2008 11:04:50 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 4 Sep 2008 11:04:50 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 2B72D80A6D74 for ; Thu, 4 Sep 2008 13:04:31 +0200 (CEST) Received: by cork.scru.org (Postfix, from userid 1000) id C1BFF104068; Thu, 4 Sep 2008 10:03:01 +0000 (UTC) Date: Thu, 4 Sep 2008 10:03:01 +0000 From: Clint Adams To: zsh-workers@sunsite.dk Cc: Arto Jantunen , 497663@bugs.debian.org Subject: Re: Bug#497663: Tab completion for vim is broken Message-ID: <20080904100301.GA19939@scru.org> Mail-Followup-To: zsh-workers@sunsite.dk, Arto Jantunen , 497663@bugs.debian.org References: <20080903130432.9601.64807.reportbug@ryoko> <20080903182826.GB7955@scru.org> <87prnk703i.fsf_-_@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87prnk703i.fsf_-_@debian.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/8156/Thu Sep 4 12:01:35 2008 on bifrost X-Virus-Status: Clean On Thu, Sep 04, 2008 at 12:05:05PM +0300, Arto Jantunen wrote: > >> Typing vim and pressing tab produces the following output: > >> > >> _vim:31: unmatched ' > >> > >> Commenting out lines 31-40 in > >> /usr/share/zsh/functions/Completion/Unix/_vim fixes the problem. Should > >> be trivial to fix properly for someone who understands zsh's compeltion > >> syntax (I don't). > > > > I can't reproduce this and I don't see what the problem might be. > > Is this consistent for you? > > Hmm. Apparently it depends on "emulate csh" being used. I can't > reproduce with a .zshrc of only > > autoload -U compinit > compinit > > But can after adding emulate csh above those lines. Anyone know which option might be the culprit here?