[Openmcl-devel] How do I find the revision number that I'm running?

Ron Garret ron at awun.net
Wed Jul 22 01:37:07 PDT 2009


On Jul 22, 2009, at 1:13 AM, Ron Garret wrote:

>
> On Jul 22, 2009, at 12:59 AM, Ron Garret wrote:
>
>>
>> This was working correctly one revision ago.  Did the default  
>> encoding
>> change perhaps?
>>
>> ? (setf s "λ")
>> "λ"
>> ? (length s)
>> 2
>> ? (elt s 0)
>> #\Latin_Capital_Letter_I_With_Circumflex
>> ? (elt s 1)
>> #\Right-Pointing_Double_Angle_Quotation_Mark
>> ?
>>
>> On my display, the string s contains only one character: a lower-case
>> Greek lambda, unicode code point 03bb.
>
> OK, this appears to be a problem with my terminal settings, not CCL:
>
> [ron at mickey:~/devel/ccl]$ python
> Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39)
> [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> s="λ"
>>>> len(s)
> 2
>

Blarg.

[ron at mickey:~]$ ccl -K utf-8
Welcome to Clozure Common Lisp Version 1.4-dev-r12434M-trunk   
(DarwinX8664)!
? (setf s "λ")
"λ"
? (length s)
1

[ron at mickey:~]$ python
Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> s=u'λ'
 >>> len(s)
1

The problem I'm having, it turns out, is that CCL:*DEFAULT-FILE- 
CHARACTER-ENCODING* is nil.  So CCL was barfing on my ccl-ide-init file.

All seems to be working now.  Even this:

[ron at mickey:~/devel/ccl/active]$ svnversion
12434M

:-)

rg




More information about the Openmcl-devel mailing list