This was hard to track down because lua's print implicitly hides tiny
fractions, making non-integers look like integers. So there's a gotcha
here: ensure that parameters to edit.initialize are integers. I'm
documenting it on the caller and also defensively converting to an int
inside the callee.