[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: format ~t



Sam Steingold <sshteingold@cctrading.com> writes:
> 
>      is this a bug? (shouldn't "zz" be printed at column 0, not column 1?)
>      
>      > (format t "~0tzz")
>       zz
>      nil
>      > 

No, that's exactly the behaviour specified by CLHS section 22.3.6.1.
format "~ n T"  will move the cursor to column n, or if it was already
at or beyond column n, it will output a space.

To get the behaviour you want, use "~ n , 0 T".

                   Bruno