From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26034 invoked by alias); 26 Apr 2010 15:42:17 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27922 Received: (qmail 26640 invoked from network); 26 Apr 2010 15:42:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Mon, 26 Apr 2010 17:42:10 +0200 From: Vincent Lefevre To: Peter Stephenson Cc: zsh-workers@zsh.org, 579209@bugs.debian.org Subject: Re: zsh: insert-last-word problem after completion Message-ID: <20100426154210.GD25015@prunille.vinc17.org> Mail-Followup-To: Peter Stephenson , zsh-workers@zsh.org, 579209@bugs.debian.org References: <20100426105331.GC25015@prunille.vinc17.org> <20100426131139.6e7311a7@csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100426131139.6e7311a7@csr.com> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.20-6083-vl-r35499 (2010-04-24) On 2010-04-26 13:11:39 +0100, Peter Stephenson wrote: > On Mon, 26 Apr 2010 12:53:31 +0200 > Vincent Lefevre wrote: > > After a "zsh -f": > > > > % alias my_echo=echo > > % false > > % true & > > % my_ech[TAB] > > > > A succession of [ESC] . (bound to insert-last-word) gives: > > > > my_echo& > > my_echo&& > > my_echo&false > > > > while I would expect: > > > > my_echo & > > my_echo false > > That's a bug: can you get it to happen with the new completion system (I > tried briefly and failed)? I presume there's a gap in the suffix-fixing > logic for completion. Actually I noticed the bug with the new completion system. The bug still occurs by typing autoload -U compinit compinit first. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)