GNU bug report logs -
#13076
guile: ",option prompt VALUE" only accepts literals
Previous Next
Reported by: Daniel Hartwig <mandyke <at> gmail.com>
Date: Tue, 4 Dec 2012 03:32:02 UTC
Severity: minor
Found in version 2.0.7
Done: Andy Wingo <wingo <at> pobox.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13076 in the body.
You can then email your comments to 13076 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#13076
; Package
guile
.
(Tue, 04 Dec 2012 03:32:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Daniel Hartwig <mandyke <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Tue, 04 Dec 2012 03:32:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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)daniel <at> io:~/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:
Information forwarded
to
bug-guile <at> gnu.org
:
bug#13076
; Package
guile
.
(Thu, 07 Mar 2013 19:11:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 13076 <at> debbugs.gnu.org (full text, mbox):
On Tue 04 Dec 2012 04:29, Daniel Hartwig <mandyke <at> gmail.com> writes:
> 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.
Fixed, thanks for the report. Now it will always evaluate the RHS.
Note that this changes the behavior of ,on-error and ,compile-options,
but since they are interactive commands, that should be fine.
Andy
--
http://wingolog.org/
Reply sent
to
Andy Wingo <wingo <at> pobox.com>
:
You have taken responsibility.
(Thu, 07 Mar 2013 19:41:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Daniel Hartwig <mandyke <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 07 Mar 2013 19:41:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 13076-done <at> debbugs.gnu.org (full text, mbox):
Aaaaand marking as done
--
http://wingolog.org/
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 05 Apr 2013 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 22 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.