From unknown Sat Aug 09 13:08:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#9857 <9857@debbugs.gnu.org> To: bug#9857 <9857@debbugs.gnu.org> Subject: Status: starting repl from C broken Reply-To: bug#9857 <9857@debbugs.gnu.org> Date: Sat, 09 Aug 2025 20:08:07 +0000 retitle 9857 starting repl from C broken reassign 9857 guile submitter 9857 Tristan Colgate severity 9857 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 24 08:38:22 2011 Received: (at submit) by debbugs.gnu.org; 24 Oct 2011 12:38:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIJnK-0006ag-Nv for submit@debbugs.gnu.org; Mon, 24 Oct 2011 08:38:22 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIIkC-000553-KF for submit@debbugs.gnu.org; Mon, 24 Oct 2011 07:31:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIIid-0004ZR-Iw for submit@debbugs.gnu.org; Mon, 24 Oct 2011 07:29:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,T_FRT_FOLLOW1,T_FRT_FOLLOW2, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:58053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIIid-0004ZN-Fo for submit@debbugs.gnu.org; Mon, 24 Oct 2011 07:29:27 -0400 Received: from eggs.gnu.org ([140.186.70.92]:36032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIIic-0000aa-Ee for bug-guile@gnu.org; Mon, 24 Oct 2011 07:29:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIIia-0004Xi-P7 for bug-guile@gnu.org; Mon, 24 Oct 2011 07:29:26 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:36441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIIia-0004XV-HP for bug-guile@gnu.org; Mon, 24 Oct 2011 07:29:24 -0400 Received: by vws16 with SMTP id 16so5362224vws.0 for ; Mon, 24 Oct 2011 04:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=F8+gsRS1Nn+9/vto2RCr7CeOhtmBhr5tqxIgaNJLXXM=; b=S6/uZHGZtR+571GzM3cgOowhaTZfo89TOhkj1fT/aBzmx4BUM/9fnnWo/2vyDMRfaN iCZUpfkKxCEr+eyexNH12aidAmq4z24TNH3Q8NvQC+z1wwEhuzfBAxFXlYpZmavySNFi zbdgwJxBH/z8ZOnADvNv/4xGMeFjJmofB80Bg= MIME-Version: 1.0 Received: by 10.52.100.74 with SMTP id ew10mr22239905vdb.7.1319455763827; Mon, 24 Oct 2011 04:29:23 -0700 (PDT) Received: by 10.52.186.68 with HTTP; Mon, 24 Oct 2011 04:29:23 -0700 (PDT) In-Reply-To: References: Date: Mon, 24 Oct 2011 12:29:23 +0100 Message-ID: Subject: starting repl from C broken From: Tristan Colgate To: bug-guile@gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 24 Oct 2011 08:38:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -5.9 (-----) Hi, The folliowing fails for me on current master: #include static void inner_main (void *closure, int argc, char **argv) { =A0scm_c_use_module("system repl repl"); =A0scm_c_eval_string("(start-repl)"); } int main (int argc, char **argv) { =A0scm_boot_guile (argc, argv, inner_main, 0); =A0return 0; /* never reached */ } I get: Backtrace: In ice-9/boot-9.scm: =A0162: 14 [catch #t # ...] =A0170: 13 [#] In unknown file: =A0 ?: 12 [catch-closure] =A0 ?: 11 [call-with-input-string "(start-repl)" ...] In ice-9/boot-9.scm: 2082: 10 [save-module-excursion #] In ice-9/eval-string.scm: =A044: 9 [read-and-eval # #:lang ...] =A037: 8 [lp (start-repl)] In system/repl/repl.scm: =A0135: 7 [start-repl # # #f] In system/repl/common.scm: =A0135: 6 [make-repl # #f] In system/base/language.scm: =A058: 5 [lookup-language #] In ice-9/boot-9.scm: 2476: 4 [# # ...] 2733: 3 [try-module-autoload (language # spec) #f] =A0550: 2 [map # (langu= age #)] 2734: 1 [# #] In unknown file: =A0 ?: 0 [symbol->string #] ERROR: In procedure symbol->string: ERROR: In procedure symbol->string: Wrong type argument in position 1 (expecting symbol): #< name: scheme title: Scheme reader: # printer: # parser: #f compilers: ((tree-il . #)) decompilers: ((tree-il . #)) evaluator: # joiner: #f make-default-environment: #> Some code along these lines has been working OK on 2.0+ for a while, not quite sure when it broke. -- Tristan Colgate-McFarlane ---- =A0 "You can get all your daily vitamins from 52 pints of guiness, and a glass of milk" --=20 Tristan Colgate-McFarlane ---- =A0 "You can get all your daily vitamins from 52 pints of guiness, and a glass of milk" From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 25 12:01:32 2011 Received: (at 9857) by debbugs.gnu.org; 25 Oct 2011 16:01:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIjRT-0007kp-UW for submit@debbugs.gnu.org; Tue, 25 Oct 2011 12:01:32 -0400 Received: from mail-vw0-f44.google.com ([209.85.212.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RIcB8-0004cn-So for 9857@debbugs.gnu.org; Tue, 25 Oct 2011 04:16:11 -0400 Received: by vws5 with SMTP id 5so175192vws.3 for <9857@debbugs.gnu.org>; Tue, 25 Oct 2011 01:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=1Qs2oAy7ZTb9wA05qsU32v5SdHjNfu/NLWR53onSqbw=; b=Yf1ZHuGk8HThkTSdEGiBWu6yiYs/rdccuPekoVuqLfKH0RYOIytjUMIUXliZc6sMqj BzcgB6E+xcZyy+3FzZj9X7OcccxwV9HhmUam7xpg6Epk006EbMJURHJgwovtzx4NXMge r2MMw2W6gdX8x6hcVDFSeeRJ4LRlHTyOa0/g4= MIME-Version: 1.0 Received: by 10.52.182.65 with SMTP id ec1mr26403060vdc.75.1319530469482; Tue, 25 Oct 2011 01:14:29 -0700 (PDT) Received: by 10.52.187.8 with HTTP; Tue, 25 Oct 2011 01:14:29 -0700 (PDT) Date: Tue, 25 Oct 2011 09:14:29 +0100 Message-ID: Subject: start-repl calling convention changed From: Tristan Colgate To: 9857@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: 9857 X-Mailman-Approved-At: Tue, 25 Oct 2011 12:01:30 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -4.4 (----) Hi, I might have missed something int he change log, but digging through top-repl.scm gave the answer. I now need (start-repl 'scheme), to specify the language. Happy to close from my perspective but this does seem to be an API change= . --=20 Tristan Colgate-McFarlane ---- =A0 "You can get all your daily vitamins from 52 pints of guiness, and a glass of milk" From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 16 13:38:47 2011 Received: (at 9857) by debbugs.gnu.org; 16 Nov 2011 18:38:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RQkNi-0001uT-BA for submit@debbugs.gnu.org; Wed, 16 Nov 2011 13:38:47 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62] helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RQkNf-0001uL-8i for 9857@debbugs.gnu.org; Wed, 16 Nov 2011 13:38:44 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 265AE8403; Wed, 16 Nov 2011 13:37:56 -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=h3Xtmif5ZOl65NT3pQNioXo54q8=; b=mzZku2 24Q6Gws6EbPd8WKYKbRHyRDkRQO6giPSg8/QmLDdcn4ELnCdzghAzNN2cJxnFUq0 VbTkgFwKCM/z9yY18Bkl4ZXHE4O9DkJzAOdiXQ7cTqNbesDv6Bts6mUpkqpdeoh+ z9pMXwAUChPVvnKM5sPYK83Ipq2HtFnQgn8DM= 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=rkrJ8ZHEN3ySGmc2e8eHniDgz3HAh2EF ugKDGMJYYZlzLtGKxCUcMAZozu7PlOccXq79qZfCizPK0UTTTUyGbkMIkZnlfwIz GWA8g5RC3GGgQA0hCyvjrVC4l5fvmqPa+Kv+6Vbp40NyPCU4VqOUAAufjXMn5kVI cbkUlcf8kGk= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 1F78F8402; Wed, 16 Nov 2011 13:37:56 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 8659D8401; Wed, 16 Nov 2011 13:37:55 -0500 (EST) From: Andy Wingo To: Tristan Colgate Subject: Re: bug#9857: start-repl calling convention changed References: Date: Wed, 16 Nov 2011 19:37:52 +0100 In-Reply-To: (Tristan Colgate's message of "Tue, 25 Oct 2011 09:14:29 +0100") Message-ID: <87pqgrlxq7.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: 1978A558-1082-11E1-9E21-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 9857 Cc: 9857@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.8 (--) On Tue 25 Oct 2011 10:14, Tristan Colgate writes: > I might have missed something int he change log, but digging through > top-repl.scm gave the answer. > I now need (start-repl 'scheme), to specify the language. Why, I wonder? The definition in (system repl repl) clearly lists the language as being optional. Could it be that you were starting from a different thread, and that (current-language) was #f for some reason? > Happy to close from my perspective but this does seem to be an API change. If it is an API change, it's definitely a bug. Andy -- http://wingolog.org/ From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 16 13:45:44 2011 Received: (at 9857-done) by debbugs.gnu.org; 16 Nov 2011 18:45:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RQkUQ-00024s-GV for submit@debbugs.gnu.org; Wed, 16 Nov 2011 13:45:43 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62] helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RQkUO-00024l-KI for 9857-done@debbugs.gnu.org; Wed, 16 Nov 2011 13:45:41 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 9EA2484CA; Wed, 16 Nov 2011 13:44:53 -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:content-transfer-encoding; s=sasl; bh=k2VZwxdprkNA NRdbGcuiZtBP1Pc=; b=bxxR1LDUIbg1rWsBSFiQuTsJNlAAqA+gZqBJmBo7mE0z gIerv8wQpb73TfU4Z6oVKnXG89CT+7vS8EoXlXp+oDaK8gTZL8mAO0FcQ0QGiBHh EqGWtb5lftUb/M2uy9wELDVKTxl6LdrvsdHaHxSo0+ALEinDbeCA7BgMqCF8BeQ= 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:content-transfer-encoding; q=dns; s=sasl; b=xLYoiy DtFaBIKIM0ezUsngAt55nGNpnwhdLjWliFhK6vFnxp8QTAyeuNztmbQwKyRIM3yU F68J7Q0gZ0p4gWky3kW4wdKPh4POwdznHpiEnlCvwadbXxtaTtPprAVtZndqG9BH Qe+iFqUYg67JoumFZE2Lp9CW5P3AxsigQDqpQ= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 9756C84C9; Wed, 16 Nov 2011 13:44:53 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 13C0E84C8; Wed, 16 Nov 2011 13:44:52 -0500 (EST) From: Andy Wingo To: Tristan Colgate Subject: Re: bug#9857: starting repl from C broken References: Date: Wed, 16 Nov 2011 19:44:49 +0100 In-Reply-To: (Tristan Colgate's message of "Mon, 24 Oct 2011 12:29:23 +0100") Message-ID: <87lirflxem.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: 12569B3A-1083-11E1-9320-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 9857-done Cc: 9857-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.8 (--) On Mon 24 Oct 2011 13:29, Tristan Colgate writes: > Hi, > > The folliowing fails for me on current master: > > #include > > static void > inner_main (void *closure, int argc, char **argv) > { > =C2=A0scm_c_use_module("system repl repl"); > =C2=A0scm_c_eval_string("(start-repl)"); > } > Sorry we didn't get this in time for 2.0.3. It is now fixed on stable-2.0, I think. Andy --=20 http://wingolog.org/ From unknown Sat Aug 09 13:08:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 15 Dec 2011 12:24:04 +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