Re: Question of the day N2: ~\Return
Marco Antoniotti <[email protected]>
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <CAG0Nw2n7wyitdyzzR0OhZucUZ+W9DOB7XFCthO06h9c+X3MMSQ@mail.gmail.com> |
Thanks Christophe, I'll check it out. I will update my SBCL and try the setting later tonight Marco On Wed, Jun 19, 2024, 10:16 Christophe Rhodes <[email protected]> wrote: > 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 > _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help