The closing " of a string is omitted when truncation occurs due to *print-lines* in pretty-printed escaped output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
What I do:
(progn (write (format nil "This is~%a test.") :pretty t :escape t :lines 1)
(values))
What happens:
Output:
"This is ..
What I expected to happen:
Output:
"This is .."
SBCL version: 1.0.42
uname -a: Linux dynamorph 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:21 UTC 2011 i686 GNU/Linux
*features*:
(:SWANK :QUICKLISP :SB-BSD-
:COMMON-LISP :SBCL :SB-DOC :SB-TEST :SB-LDB :SB-PACKAGE-LOCKS :SB-UNICODE
:SB-EVAL :SB-SOURCE-
:SB-THREAD :LARGEFILE :GENCGC :STACK-
:C-STACK-
:RAW-INSTANCE-
:STACK-
:CYCLE-COUNTER :INLINE-CONSTANTS :MEMORY-
:OS-PROVIDES-
Changed in sbcl: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Come to think of it, I think the output should be:
"This is.."
Is the additional space between "is" and ".." conforming and intentional?...