[Openmcl-devel] re ...the sky is falling

wws2 new ww.s2 at ukonline.co.uk
Fri Apr 2 21:19:54 PDT 2010


I have a similar problem porting from MCL.  In my case I think the problem is related to different line ending expectations between MCL (#\return) and Clozure (#\linefeed).  There is also a problem related to encoding defaults, but that seems to have gone away now that I use RMCL as an intermediate step.  

Apparently like you, in Clozure, I can compile my code, but not find it using meta-dot.  Compiling the file seemed to re-interpret the line-ending problem, but that info was not passed on to the storage mechanism for function definitions and so meta-dot fails.

Probably if you just open and save the source code (without cutting and pasting it somewhere else) the line endings will work in Clozure, but that can mess things up in MCL especially if you use in colored fonts which will be lost.  I do not want that.  So what I do is write everything in MCL, which is still far superior to Clozure for writing and testing code, then just recompile and run code in Clozure when it ready.  This creates a few hassles for Clozure debugging, and does not work for any GUI code, but normally works very well for bulk standard common lisp code. 


> 
> Message: 1
> Date: Fri, 2 Apr 2010 23:18:16 +0200
> From: Joakim Sandgren <joakim at joakimsandgren.com>
> Subject: [Openmcl-devel] ...the sky is falling
> To: Openmcl-devel Devel <openmcl-devel at clozure.com>
> Message-ID: <6D6FBF97-EBCA-410B-BCC1-8FCAB945A581 at joakimsandgren.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi,
> I did a mail here some time ago about the falling sky when I did the  
> command shift alt . to find the source code of a function.
> then I had the "sky" all the time.
> 
> But if I do take the file, open it, select all, copy,, make a new  
> doument paste it all there and save it, and load that file the find  
> source command works.
> Good! But why ??
> 
> 
> so I do have to go through my project in this way to "port" it to  
> clozure ?
> 
> sincerely
> joakim
> 
> 
> 
> Joakim Sandgren
> joakim sandgren musik
> 42, rue de Maubeuge
> 75009 Paris
> France
> +33 (0)1 45 26 43 90
> info at joakimsandgren.com
> http://www.joakimsandgren.com



More information about the Openmcl-devel mailing list