bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LilyPond – Extending: value and guile prompt on same line despite ne


From: pls
Subject: Re: LilyPond – Extending: value and guile prompt on same line despite newline procedure
Date: Sun, 26 Apr 2015 12:33:15 +0200

On 26.04.2015, at 11:20, David Kastrup <address@hidden> wrote:

> pls <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]