GNU bug report logs - #13076
guile: ",option prompt VALUE" only accepts literals

Previous Next

Package: guile;

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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Daniel Hartwig <mandyke <at> gmail.com>
Subject: bug#13076: closed (Re: bug#13076: guile: ",option prompt VALUE"
 only accepts literals)
Date: Thu, 07 Mar 2013 19:41:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#13076: guile: ",option prompt VALUE" only accepts literals

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 13076 <at> debbugs.gnu.org.

-- 
13076: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13076
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andy Wingo <wingo <at> pobox.com>
To: Daniel Hartwig <mandyke <at> gmail.com>
Cc: 13076-done <at> debbugs.gnu.org
Subject: Re: bug#13076: guile: ",option prompt VALUE" only accepts literals
Date: Thu, 07 Mar 2013 20:40:09 +0100
Aaaaand marking as done
-- 
http://wingolog.org/

[Message part 3 (message/rfc822, inline)]
From: Daniel Hartwig <mandyke <at> gmail.com>
To: submit <at> debbugs.gnu.org
Subject: 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)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: 



This bug report was last modified 12 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.