[Openmcl-devel] Hemlock seems to strip chars from the clipboard when deleting

Toomas Altosaar Toomas.Altosaar at hut.fi
Thu Jul 8 12:23:52 PDT 2010


Thanks Ron.

I now seem to recall this problem surfacing a year or two ago.

**************************************************************

Clozure - why isn't this corrected in the soures?

Or at least supplied in some default init.lisp file?


>; Fix brain-damaged Hemlock kill-ring behavior
>(setf (value character-deletion-threshold) most-positive-fixnum)
>
>On Jul 8, 2010, at 6:38 AM, Toomas Altosaar wrote:
>
>>  1. Start up CCL. This appears in the Listener:
>>
>>  "Welcome to Clozure Common Lisp Version 1.6-dev-r13940M-trunk 
>>(DarwinX8664)!"
>>
>>  2. Double click on some text, e.g., Clozure (it becomes selected).
>>
>>  3. Perform a command-v (paste) and "Clozure" appears in the Listener.
>>
>>  4. Press the Delete key and remove all of Clozure.
>>
>>  5. Perform a command-v again (paste). Now only "zure" appears:
>>
>>  ? zure
>>
>>  Doing this between different apps, also results in CCL/Hemlock 
>>removing 3 characters from the clipboard, e.g., copy some text from 
>>TextEdit, paste it into a Hemlock buffer, delete it, go back to the 
>>original app, and paste it there (now it's missing the 3 first 
>>characters).
>>
>>  Huh? Now only 1 character has gone missing? And sometimes nothing 
>>goes missing.
>>
>>  "Clozure" ==> "zure"
>>  "TextEdit" ==> "Edit" (4 chars missing)
>>  "Hemlock" ==> "lock"
>>
>>  What gives? Is this a known problem?
>>  _______________________________________________
>>  Openmcl-devel mailing list
>>  Openmcl-devel at clozure.com
>>  http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list