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

Re: newline in string literal?



Thanks to Eli Barzilay, version 199.11 will support all of the ANSI C
escapes in strings, including octal and hexadecimal escapes.

Eli also changed `write' (but not `display') to use C escapes in
printing strings, using octal for non-printable characters:

  > "\011\377\n"
  "\t\377\n"
  > (format "~a~a~n" #\tab #\377)
  "\t\377\n"

I like this change to `write', but if anyone anticiapates a problem
with it, let me know; I can add a parameter that turns it off.

Matthew