Subject: Re: character printing
From: Erik Naggum <>
Date: 01 Jan 2001 16:15:53 +0000
Newsgroups: comp.lang.lisp
Message-ID: <>

* Nils Goesche <>
| Is the following a bug in CMUCL or am I missing something?

  It looks like a bug in the printer.  (char-name (code-char 28)) should
  return a string that has one final backslash and prints with two, and so
  the same should be true for the printed representation of the character.

| #\^\  does not make much sense as a character name...

  Well, the _name_ should be the string "^\\".

| Why is there a second "\"?

  Because ^ is a common modifier character that turns the following
  character into a control character.  ^A is ctrl-A, and ^\ is perfectly
  acceptable as a control character in a context where \ is not escaping
  the following character -- it is, however, in Common Lisp.

  Performance is the last refuge of the miserable programmer.