From ... Path: supernews.google.com!sn-xit-03!supernews.com!feeds.vnews.net!newsxfer.interpacket.net!oleane.net!oleane!codeine.org!uio.no!Norway.EU.net!127.0.0.1!nobody From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: character printing Date: 01 Jan 2001 16:15:53 +0000 Organization: Naggum Software; vox: +47 8800 8879; fax: +47 8800 8601; gsm: +47 93 256 360; http://naggum.no; http://naggum.net Lines: 22 Message-ID: <3187354553612232@naggum.net> References: <87u27jewjt.fsf@darkstar.cartan> <92pvsa$t2v$1@nnrp1.deja.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: oslo-nntp.eunet.no 978365827 11681 195.0.192.66 (1 Jan 2001 16:17:07 GMT) X-Complaints-To: newsmaster@eunet.no NNTP-Posting-Date: 1 Jan 2001 16:17:07 GMT mail-copies-to: never User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 Xref: supernews.google.com comp.lang.lisp:5874 * 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. * joswig@corporate-world.lisp.de | #\^\ 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. #:Erik -- Performance is the last refuge of the miserable programmer.