Format ~<newline> feature request. (Not a bug).

Thomas Russ <[email protected]> Tue, 11 Feb 2003 12:24:33 -0800
Newsgroups gmane.lisp.openmcl.bugs
Message-ID <[email protected]>
For the DarwinPPC/Mac OS X version of OpenMCL it would be convenient to 
have both ~<Linefeed> and ~<Return> work in format strings.  The Lisp 
reader currently recognizes both linefeed and return as semicolon 
comment terminators, but having mixed Unix and Mac Lisp source files 
will still cause trouble if the format directive doesn't work with both 
line terminators.

A workaround is fairly simple, namely to include the following in the 
openmcl-init file, but this might be something that should be built in 
to at least the Mac version:

(setf (aref ccl::*format-char-table* (char-code #\Return))
       (aref ccl::*format-char-table* (char-code #\Linefeed)))


--
Thomas A. Russ, Ph.D.  Senior Research Scientist             [email protected]
USC/Information Sciences Institute              WWW:  http://www.isi.edu
4676 Admiralty Way, Marina del Rey, CA 90292              (310) 448-8775