On 26.04.2015, at 11:20, David Kastrup <d...@gnu.org> wrote: > pls <p.l.schm...@gmx.de> writes: > >> Hey all, >> >> at >> http://www.lilypond.org/doc/v2.19/Documentation/extending/scheme-variables >> it says: >> >> Note that both the value 2 and the guile prompt guile showed up on the >> same line. This can be avoided by calling the newline procedure or >> displaying a newline character. >> >> >> guile> (display a)(newline) >> 2 >> guile> (display a)(display "\n") >> 2 >> guile> >> >> But when I try this in the scheme sandbox (LilyPond v2.19.15) on >> Ubuntu 14.10 (and Mac OS 10.9.5) I get: >> >> guile> (display a)(newline) >> 2guile> >> guile> (display a)(display "\n") >> 2guile> >> >> Am I missing something? > > I don't get those. So yes, you are missing something. Once I do > > mv ~/.guile ~/.guilex > > however, I get the double prompt in both the GUILE-1.8 command line and > the Scheme sandbox, but not in the GUILE-2.0 command line.
In my Guile 2.0.11 command line everything is fine, too. > So it is > likely a REPL "feature" of Guile-1.8 when the readline library is not > loaded. For the record, my ~/.guile looks like > > (use-modules (ice-9 readline)) > (activate-readline) With this ~/.guile file I get this error (scheme-sandbox LP 2.19.15): GUILE signaled an error for the expression beginning here # (load-user-init) readline is not provided in this Guile installation libreadline and guile-1.8-libs are installed. I’m still not sure what I’m missing. Thanks for your help! patrick _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond