Also about changing the prompt: This can be done from the repl using
,o prompt prompt-string-or-proc
E.g. doing
,o prompt (lambda () (format #f "~a lilypond-scheme> " (module-name
(current-module))))
will prompt
(#{ g94}#) lilypond-scheme>
But I think what’s far more useful than changing the prompt is to do
(use-modules (ice-9 readline))
(activate-readline)
which gives you arrowkey support (going back/forth in your current prompt, or
going up/down to previous prompts), as well as completion on tab. Else it is
very frustrating to try enter a prompt, try to correct an error and on ← you
just get ^[[D ...
So if the intention here is to clear up the prompt in guile sandbox, maybe it
would make sense to have this on by default.
Cheers,
Tina
signature.asc
Description: This is a digitally signed message part.
