Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zle_refresh trial patch (and unrelated bug)



On Nov 12,  1:40pm, Peter Stephenson wrote:
} Subject: Re: zle_refresh trial patch (and unrelated bug)
}
} "Bart Schaefer" wrote:
} > 	builtin let fun == 0 && eval function "$var"
} > 
} > Ah, I see -- I did accept-line once before, which changed "(( fun == 0 ))"
} > into "builtin let fun == 0", which is not being parsed correctly.
} 
} Nor will it ever be --- that's quite a serious bug.  `let' needs to
} get each expression as one single argument, so it should be
}    builtin let "fun == 0"
} and I'm pretty sure it was until not all that long ago.

So is somebody fixing this?  "zed -f" ("fned") is just about completely
useless because of this bug -- almost any function edited ends up broken.
Even with Peter's patch for "==", you get `bad math expression' errors.
	

-- 
Bart Schaefer                             Brass Lantern Enterprises
http://www.well.com/user/barts            http://www.nbn.com/people/lantern



Messages sorted by: Reverse Date, Date, Thread, Author