[Openmcl-devel] symbol garbage from Hemlock typing
Ron Garret
ron at flownet.com
Tue Jul 14 18:12:04 PDT 2015
This is a known bug:
http://trac.clozure.com/ccl/ticket/1246
A workaround:
; Temporary (I hope!) bug fix
(defun case-insensitive-string-to-symbol (&rest args)
(declare (ignore args))
nil)
On Jul 14, 2015, at 7:09 AM, Alexander Repenning <Alexander.Repenning at Colorado.EDU> wrote:
> Trying to debug some symbol completion issues I found tons of symbols that appear to be side effects of the syntax colorization.
>
> In CCL 1.10 with Cocoa IDE try this to replicate:
>
> Type in, do NOT copy and paste, and do NOT evaluate this expression into a new Hemlock window: (symbol-garbage-1234567890)
>
> now evaluate (apropos-list "SYMBOL-GARBAGE-1”)
>
> The correct result should be nil
>
> but it actually is
>
> (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)
>
> 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.
>
> Is there a way to turn this off?
>
>
>
>
> Prof. Alexander Repenning
>
> University of Colorado
> Computer Science Department
> Boulder, CO 80309-430
>
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20150714/f9be3db2/attachment.htm>
More information about the Openmcl-devel
mailing list