Re: Allow RMCL to load Unix lf files.

Harald Striepe <[email protected]> Fri, 02 Jul 2010 09:44:24 -0700
Newsgroups gmane.lisp.mcl.general
Message-ID <[email protected]>
I think, the issue is in the CREATOR or some other meta code for the file open call. Unless the file has been converted, opening it is disabled.
On Jul 2, 2010, at 9:31 AM, Thomas Russ wrote:

> 
> On Jul 1, 2010, at 10:23 AM, Harald Striepe wrote:
> 
>> 
>> ccl changed to Unix eol conventions, so RMCL cannot read the files  
>> created by ccl defaults without conversion. Is there a way to  
>> convince RMCL to open them without the latter step. Also, a lot of  
>> CL sources on the net sport the unix convention. It's a pain to  
>> convert big big projects.
> 
> I'm not completely sure about RMCL, but MCL had support for this.
> In fact, it would appear that RMCL 5.2.1 already supports multiple end- 
> of-line characters, namely:
> 
>   CCL::EOL-CHARS,  Value: (#\Newline #\Linefeed #\20050 #\20051)
> 
> so that should allow both the CR (#\Newline, same as #\Return)
> and the LF (#\Linefeed) character, along with a couple other unicode?  
> characters.
> 
> 
> Poking around, I also see
> 
>   *TRANSFORM-CRLF-TO-CARRIAGERETURN*
>   *TRANSFORM-CRLF-TO-PREFERRED-EOL*
> 
> There also appears to be *preferred-eol-character*:
> 
> *PREFERRED-EOL-CHARACTER*
> [variable]
> The character to use to denote end of line
> when a Fred buffer is written to a file.
> NIL means leave content as is.
> 
> 
> _______________________________________________
> info-mcl mailing list
> [email protected]
> http://clozure.com/mailman/listinfo/info-mcl

_______________________________________________
info-mcl mailing list
[email protected]
http://clozure.com/mailman/listinfo/info-mcl