[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Control characters in # macro.
- To: ALAN at MIT-AI, CWH at MIT-MC, NIL at MIT-MC, BUG-LISP at MIT-MC
- Subject: Control characters in # macro.
- From: Richard M. Stallman <RMS at MIT-AI>
- Date: Wed, 12 Sep 79 08:04:00 GMT
- Original-date: 12 September 1979 04:04-EDT
My opinion is that #^A should be read on the Lisp machine
the same as #/A, while #/A should read in Maclisp as
a 9-bit character. This achieves these goals:
1) A simpleminded program that wants to define C-A as a command and
presumably uses 7-bit input on ITS can use #^A and work on both machines.
2) A hairier program that wants to deal with the control and meta bits
can use #/A and work on both machines.
3) In Maclisp, then, you can specify a character in either character
set and no other switch is required for specifying which.
As for NIL, if it is going to define non-ASCII characters at all
then it should define #/A to produce one. Otherwise, it should not
accept #/A. It should accept #^A as the ASCII control character.