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


Message #8 received at 13076 <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Daniel Hartwig <mandyke <at> gmail.com>
Cc: 13076 <at> debbugs.gnu.org
Subject: Re: bug#13076: guile: ",option prompt VALUE" only accepts literals
Date: Thu, 07 Mar 2013 11:31:23 +0100
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/




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

Previous Next


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