<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Nov 12, 2015, at 2:27 PM, Gary Byers <<a href="mailto:gb@clozure.com">gb@clozure.com</a>> wrote:</div><br><blockquote type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 11/12/2015 11:37 AM, Ron Garret
wrote:<br>
</div>
<blockquote cite="mid:0736676C-3D3A-4F1C-9D7E-108FF3EB8B84@flownet.com" type="cite">
<pre wrap="">(MAKE-DISPATCH-MACRO-CHARACTER #\# NIL <b class="moz-txt-star"><span class="moz-txt-tag">*</span>readtable<span class="moz-txt-tag">*</span></b>)</pre>
</blockquote>
CLHS says (of MAKE-DISPATCH-MACRO-CHARACTER) that,<br>
<br>
"Initially, every <a rel="DEFINITION" href="http://www.lispworks.com/documentation/lw50/CLHS/Body/26_glo_c.htm#character"><i>character</i></a>
in the dispatch table associated with the <i>char</i> has an
associated function that signals an error of <a rel="DEFINITION" href="http://www.lispworks.com/documentation/lw50/CLHS/Body/26_glo_t.htm#type"><i>type</i></a>
<a rel="DEFINITION" href="http://www.lispworks.com/documentation/lw50/CLHS/Body/e_rder_e.htm#reader-error"><b>reader-error</b></a>."<br>
<br>
In the body of your message, you seemed to expect #' to have
retained its original definition.<br>
<br>
If the term "... makes char be a dispatching-macro-character ..." is
read as "does nothing if the character is already defined as a
dispatching-macro, else ...",<br>
your expectation is reasonable. I am probably more accustomed to the
behavior that that you said that you get in 1.10, but both
expectations seem reasonable.<br>
<br>
Portable code could avoid the issue by calling
GET-DISPATCH-MACRO-CHARACTER and only calling
MAKE-DISPATCH-MACRO-CHARACTER if the character is not already
defined as a dispatching macro. I don't know what the library that
the original poster mentioned does. or what version of that library
they are using.<br>
</div></blockquote></div><br><div>That’s reasonable. My point was mainly that this has nothing to do with named readtables. It might not even be a bug at all. One could argue that the OP should simply elide the (:macro-char #\# :dispatch) clause from his code.</div><div><br></div><div>rg</div><div><br></div></body></html>