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

Re: princ-to-string and %str-length

I have noticed the same problem with (format nil...), also when trying to
find a window! As a temporary fix, you can copy-seq your string, and every-
thing will then work. It looks like the strings created by format nil (or
princ-to-string, which is the same thing) are not simple-strings (they have
a fill-pointer, and are usually longer than the "logical" length), and
%str-length expects a simple-string.