<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">This is a known bug:<div><br></div><div><a href="http://trac.clozure.com/ccl/ticket/1246">http://trac.clozure.com/ccl/ticket/1246</a></div><div><br></div><div>A workaround:</div><div><br></div><div><div>; Temporary (I hope!) bug fix</div><div>(defun case-insensitive-string-to-symbol (&rest args)</div><div> (declare (ignore args))</div><div> nil)</div></div><div><br></div><div><br></div><div><div><div>On Jul 14, 2015, at 7:09 AM, Alexander Repenning <<a href="mailto:Alexander.Repenning@Colorado.EDU">Alexander.Repenning@Colorado.EDU</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Trying to debug some symbol completion issues I found tons of symbols that appear to be side effects of the syntax colorization.</div><div class=""><br class=""></div><div class="">In CCL 1.10 with Cocoa IDE try this to replicate:</div><div class=""><br class=""></div><div class="">Type in, do NOT copy and paste, and do NOT evaluate this expression into a new Hemlock window: (symbol-garbage-1234567890)</div><div class=""><br class=""></div>now evaluate (apropos-list "SYMBOL-GARBAGE-1”)<div class=""><br class=""></div><div class="">The correct result should be nil </div><div class=""><br class=""></div><div class="">but it actually is </div><div class=""><br class=""></div><div class="">(SYMBOL-GARBAGE-1 SYMBOL-GARBAGE-12 SYMBOL-GARBAGE-123 SYMBOL-GARBAGE-1234 SYMBOL-GARBAGE-12345 SYMBOL-GARBAGE-123456 SYMBOL-GARBAGE-1234567 SYMBOL-GARBAGE-12345678 SYMBOL-GARBAGE-123456789 SYMBOL-GARBAGE-1234567890)</div><div class=""><br class=""></div><div class="">Looks to me is as if Hemlock, probably the syntax coloring, is actually interning every prefix substring of every symbol representing a function call when you type it in. That is not good. This will not be a problem when you just read in a file or copy paste but it will produce tons of unwanted symbols that will confuse various tools such as symbol completion. </div><div class=""><br class=""></div><div class="">Is there a way to turn this off?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><br class=""></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><div style="font-size: 12px; margin: 0px; " class=""><font face="Helvetica" size="3" class="">Prof. Alexander Repenning</font></div><div style="font-size: 12px; margin: 0px; " class=""><br class="khtml-block-placeholder"></div><div style="font-size: 12px; margin: 0px; " class="">University of Colorado</div><div style="font-size: 12px; margin: 0px; " class="">Computer Science Department</div><div style="font-size: 12px; margin: 0px; " class="">Boulder, CO 80309-430</div></div><div class=""><br class=""></div></div></span><br class="Apple-interchange-newline">
</div>
<br class=""></div></div>_______________________________________________<br>Openmcl-devel mailing list<br><a href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a><br>https://lists.clozure.com/mailman/listinfo/openmcl-devel<br></blockquote></div><br></div></body></html>