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: > I like using the ~<newline> construct in FORMAT. Alas, SBCL 2.2.1 (Windows, W11, no WSL) complains that it does not recognize ~\Return > (which is the result of git clone with the usual configurations to handle line endings) > > If I remember correctly, this is a SBCL glitch on Windows. > > Can you confirm that this is the (very annoying) case? Since SBCL 2.3.11, we support Windows-convention newline endings on streams. I don't know how thoroughly integrated that is with defaults -- probably not very -- but if it's possible for you to use that version or later, you might have more success with source code encoded with Windows-style line endings. You might need to override the default *default-external-format* value to be something that actively specifies the newline convention, something like (setf *default-external-format* '(:utf-8 :newline :crlf)) before attempting to load any source files. Christophe