Bug#579209: zsh: insert-last-word problem after completion

2010-04-27 Thread Vincent Lefevre
On 2010-04-26 23:38:40 +0100, Peter Stephenson wrote: > There are two ways to approach this: either have the "&" inserted as > now, with the space removed, which is the same as if the "&" was typed; > or fix the suffix when inserting the last word. The drawback with the > former (which is what it'

Bug#579209: zsh: insert-last-word problem after completion

2010-04-26 Thread Peter Stephenson
On Mon, 26 Apr 2010 17:42:10 +0200 Vincent Lefevre wrote: > 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] > > > > >

Bug#579209: zsh: insert-last-word problem after completion

2010-04-26 Thread Vincent Lefevre
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&

Bug#579209: zsh: insert-last-word problem after completion

2010-04-26 Thread Peter Stephenson
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 & >

Bug#579209: zsh: insert-last-word problem after completion

2010-04-26 Thread Vincent Lefevre
I've reported the following bug in Debian. It also occurs under Mac OS X. 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

Bug#579209: zsh: insert-last-word problem after completion

2010-04-26 Thread Vincent Lefevre
Package: zsh Version: 4.3.10-12 Severity: normal 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 or even better: my_ech