> +#define AVAILABLE_REG PREFIX "avail" > +#define COLCOUNT_REG PREFIX "ccount" > > [...]
> + printfs("(u;\\n[%1]+(%2/%3))", <-----
> span_width_reg(start_col, end_col),
> - as_string(end_col - start_col + 1),
> - as_string(ncols + 1));
> + AVAILABLE_REG,
> + COLCOUNT_REG);
This should be rather
+ printfs("(u;\\n[%1]+(\\n[%2]/\\n[%3]))",
[...]
shouldn't it?
The rest looks fine. However, it's almost 2AM, so I might miss
something (and certainly do)...
Werner
