Re: Question of the day N2: ~\Return

Christophe Rhodes <[email protected]>
Newsgroups gmane.lisp.steel-bank.general
Message-ID <[email protected]>
Marco Antoniotti <[email protected]> writes:

> Hi everybody.
>
> no luck.  I upgraded to the last SBCL version for Windows, and added the
>
> (setf *default-external-format* '(:utf-8 :newline :crlf))
>
> in .sbclrc as the first thing.
>
> No luck.  The FORMATTER still complains.

After observing that an explicit :EXTERNAL-FORMAT argument works for me,
but indeed not setting the default, I found an error in the defaulting
of external formats in OPEN (and MAKE-FD-STREAM), which effectively
threw away the option.  I've just pushed a fix for that in
ea25eb2eabc9d11ed2bf924e34634c99b5f9ba02; the code change should apply
cleanly to earlier versions if you'd rather cherry-pick it.

Thanks again for the report.

Christophe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.