From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 03 22:31:48 2012 Received: (at submit) by debbugs.gnu.org; 4 Dec 2012 03:31:48 +0000 Received: from localhost ([127.0.0.1]:52276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TfjEa-0003J3-8E for submit@debbugs.gnu.org; Mon, 03 Dec 2012 22:31:48 -0500 Received: from mail-da0-f44.google.com ([209.85.210.44]:50274) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TfjEY-0003It-60 for submit@debbugs.gnu.org; Mon, 03 Dec 2012 22:31:47 -0500 Received: by mail-da0-f44.google.com with SMTP id z20so1486863dae.3 for ; Mon, 03 Dec 2012 19:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=yKnuZf8EnVvzS0yMEh8mFAtqFyxtm7GUyV57OLieNN8=; b=A2liG5uNmNkxmdxYNQtpzCOnajq7dua2G9mwovPoBkiUkMwoYqXna9Qr8PtMGk74pV GC6Q8D+IZvjVN7m0IAeOWXbWiMTd3pfPqx5x6A9CRCAbMuYQrHD5IBIRAAjgLjWeg4KU b9Fzz+lsuir4X7K5iFjKmJoPyhmYas9ZYvWjhvYoIxWGN/jekBAAKQoYxjqESVVzbVbu D2Bq3U13FIxgQQdQNzSzUYOcYO4jd24jZ+Ibzl0EQ+Qtar6TgDoIdTppCfHuQ/0wHGYf oaw44SIx05yv+cMOy41uILSPgZgJukjRfRurYy8tobwrmWwBSPcLSNRK1/iArSMZ6+bW 1qOg== Received: by 10.66.72.198 with SMTP id f6mr8416692pav.42.1354591759662; Mon, 03 Dec 2012 19:29:19 -0800 (PST) Received: from io ([101.119.31.219]) by mx.google.com with ESMTPS id bd2sm9114017pab.36.2012.12.03.19.29.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Dec 2012 19:29:18 -0800 (PST) From: Daniel Hartwig To: submit@debbugs.gnu.org Subject: guile: ",option prompt VALUE" only accepts literals Date: Tue, 04 Dec 2012 11:29:08 +0800 Message-ID: <87k3sy1omz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) 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@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 = #: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: From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 07 14:10:21 2013 Received: (at 13076) by debbugs.gnu.org; 7 Mar 2013 19:10:21 +0000 Received: from localhost ([127.0.0.1]:36962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDgCr-000075-8x for submit@debbugs.gnu.org; Thu, 07 Mar 2013 14:10:21 -0500 Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:62184 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDgCn-00006p-5o for 13076@debbugs.gnu.org; Thu, 07 Mar 2013 14:10:19 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id BD8F5C7A5; Thu, 7 Mar 2013 14:09:43 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=ygKg1O70Qgywja7oimAyLBDz+oo=; b=jri3xB HFTk1qWmdaSKdDdy5Zm15TV3jPzCmUZQrEGocnuUku1sJThPvTwPCfT0K3lIhH/K h9x7ew0YRjuAiq7+aRYgF4J4zKlW4KWItykYN8QdhAPyylJq9WTuu8Wj3Pf5eJhz Aps93X0TtlNdKIcnYNUD2/CLh7csDWncPOlmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=QvObHiBo/SQkMRh+uxYWFLpVqiwhhoDT FKzcNIP6EzwFKzui3Kx0DPie1geyEPk7TXvURlMqAEAC7qMFqQ6M6d9sI+Nb1U5I fOn3lub3OBDyD/4hTLNiy3QuXb/9nUjrpQImHB+rkepB8jT9WArRqaweIHHviSYK cd8vsKIQPng= Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id AB160C7A4; Thu, 7 Mar 2013 14:09:43 -0500 (EST) Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id CB2C8C7A3; Thu, 7 Mar 2013 14:09:39 -0500 (EST) From: Andy Wingo To: Daniel Hartwig Subject: Re: bug#13076: guile: ",option prompt VALUE" only accepts literals References: <87k3sy1omz.fsf@gmail.com> Date: Thu, 07 Mar 2013 11:31:23 +0100 In-Reply-To: <87k3sy1omz.fsf@gmail.com> (Daniel Hartwig's message of "Tue, 04 Dec 2012 11:29:08 +0800") Message-ID: <87r4jrijr8.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 917E8B76-875A-11E2-9719-59240E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Tue 04 Dec 2012 04:29, Daniel Hartwig 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. [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [208.72.237.25 listed in list.dnswl.org] 1.5 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date -0.0 SPF_PASS SPF: sender matches SPF record -0.6 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4597] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 13076 Cc: 13076@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.9 (/) On Tue 04 Dec 2012 04:29, Daniel Hartwig 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/ From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 07 14:40:50 2013 Received: (at 13076-done) by debbugs.gnu.org; 7 Mar 2013 19:40:50 +0000 Received: from localhost ([127.0.0.1]:37049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDggL-0000rY-I6 for submit@debbugs.gnu.org; Thu, 07 Mar 2013 14:40:50 -0500 Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:35218 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDggJ-0000rQ-31 for 13076-done@debbugs.gnu.org; Thu, 07 Mar 2013 14:40:47 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 33441C96D; Thu, 7 Mar 2013 14:40:13 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=ladQsYb4m442aS6+NOEvsgPupWg=; b=TF2tnK sqOuw6XTICc4A3fChty1VVmipHvKwk43YTH8YW4sD4rVOkc1kVNDGEYcHHyk1lwW zK/ywHGSdAUC7cPiIquEVvLoybmhudFnfQ6y1d0RshcZ1tgELOPlvxbOqI6n0IhT yyEQOJpE8NffdrWQnMVmtpeEYh9lU36ZqO58c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=SZYdQ3j6i2kIGxlGe70TSbIq6CTrARVu djtFEX2eJ2Ste0UrymE3KCdOngEawmNpIdMqhyhuAb8EaCjOxdJjzNqNDXPZhI8z Nqb1OHUSt+768W3t/ifPFPWJHHj7h8DHIupTALh+KCj2IfgALwGLZVx88CmM2tpr 9JnoZcSdC60= Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 2A159C96C; Thu, 7 Mar 2013 14:40:13 -0500 (EST) Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 8D673C96A; Thu, 7 Mar 2013 14:40:12 -0500 (EST) From: Andy Wingo To: Daniel Hartwig Subject: Re: bug#13076: guile: ",option prompt VALUE" only accepts literals References: <87k3sy1omz.fsf@gmail.com> <87r4jrijr8.fsf@pobox.com> Date: Thu, 07 Mar 2013 20:40:09 +0100 In-Reply-To: <87r4jrijr8.fsf@pobox.com> (Andy Wingo's message of "Thu, 07 Mar 2013 11:31:23 +0100") Message-ID: <874ngnf17q.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: D3F3E592-875E-11E2-8C3F-59240E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 13076-done Cc: 13076-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Aaaaand marking as done -- http://wingolog.org/ From unknown Mon Aug 18 11:08:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 05 Apr 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator