[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13076: guile: ",option prompt VALUE" only accepts literals
From: |
Daniel Hartwig |
Subject: |
bug#13076: guile: ",option prompt VALUE" only accepts literals |
Date: |
Tue, 04 Dec 2012 11:29:08 +0800 |
Package: guile
Version: 2.0.7
Severity: minor
Dear maintainer
The REPL prompt option accepts #f, strings, thunks, and procedures of
one argument. However, only the first two can be set using the
meta-command ,option; one must use repl-option-set! for thunks and
procedures.
It seems that VALUE is not evaluated.
--
(sid)address@hidden:~/src/gnu/guile$ meta/guile
GNU Guile 2.0.7.2-e6a73
Copyright (C) 1995-2012 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> ,option prompt "foo: "
foo: ,option prompt (lambda (repl) "bar: ")
While executing meta-command:
ERROR: Invalid prompt (lambda (repl) "bar: ")
foo: (lambda (repl) "bar: ")
$1 = #<procedure 8a7e860 at <current input>:3:0 (repl)>
foo: ,option prompt $1
While executing meta-command:
ERROR: Invalid prompt $1
foo: (use-modules (system repl common))
foo: (repl-option-set! (car (fluid-ref *repl-stack*)) 'prompt $1)
bar:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#13076: guile: ",option prompt VALUE" only accepts literals,
Daniel Hartwig <=