Bug#537596: regression: parse error near `()' in function definition

2009-07-20 Thread Mikael Magnusson
2009/7/20 Peter Stephenson : > On Sun, 19 Jul 2009 23:20:41 + > Clint Adams wrote: >> On Sun, Jul 19, 2009 at 07:16:51PM +0200, martin f krafft wrote: >> > % eval 'lt() { (_lt-en $*; _en-lt $*) | more }' >> > zsh: parse error near `()' >> > >> > Alright, so lt is special: >> > >> > % which lt

Bug#537596: regression: parse error near `()' in function definition

2009-07-20 Thread martin f krafft
also sprach Peter Stephenson [2009.07.20.1027 +0200]: > `l' in the function definition is in command position and is expanded > as an alias, defining `/bin/ls' and `-F' as functions which call > `/bin/ls', which gets a bit recursive. This can be avoided if you use > `function' to define a

Bug#537596: regression: parse error near `()' in function definition

2009-07-20 Thread Peter Stephenson
On Sun, 19 Jul 2009 23:20:41 + Clint Adams wrote: > On Sun, Jul 19, 2009 at 07:16:51PM +0200, martin f krafft wrote: > > % eval 'lt() { (_lt-en $*; _en-lt $*) | more }' > > zsh: parse error near `()' > > > > Alright, so lt is special: > > > > % which lt > > lt: aliased to ls -lt Assuming lt

Bug#537596: regression: parse error near `()' in function definition

2009-07-19 Thread Clint Adams
Does this have anything to do with users/14240? On Sun, Jul 19, 2009 at 07:16:51PM +0200, martin f krafft wrote: > A regression introduced by this build: > > This works (I use eval since those functions are defined in a loop[0]) > > % eval 'de() { (_de-en $*; _en-de $*) | more }' > % which de >

Bug#537596: regression: parse error near `()' in function definition

2009-07-19 Thread martin f krafft
Package: zsh-beta Version: 4.3.10-dev-1+20090717-1 Severity: normal A regression introduced by this build: This works (I use eval since those functions are defined in a loop[0]) % eval 'de() { (_de-en $*; _en-de $*) | more }' % which de de () { ( _de-en $* _en-de $* ) | more } But: