GNU bug report logs - #30600
repl metacommands do not discard remaining input after syntax error in an expression

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: dikbekulo@HIDDEN; dated Sun, 25 Feb 2018 00:51:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Feb 2018 00:50:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 24 19:50:28 2018
Received: from localhost ([127.0.0.1]:59303 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1epkWJ-00057R-Cl
	for submit <at> debbugs.gnu.org; Sat, 24 Feb 2018 19:50:28 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53163)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dikbekulo@HIDDEN>) id 1epjHz-0003EY-Iq
 for submit <at> debbugs.gnu.org; Sat, 24 Feb 2018 18:31:36 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dikbekulo@HIDDEN>) id 1epjHt-0006Aq-MH
 for submit <at> debbugs.gnu.org; Sat, 24 Feb 2018 18:31:30 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:46527)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <dikbekulo@HIDDEN>)
 id 1epjHt-0006Ah-J6
 for submit <at> debbugs.gnu.org; Sat, 24 Feb 2018 18:31:29 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44132)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dikbekulo@HIDDEN>) id 1epjHs-0005nk-Fs
 for bug-guile@HIDDEN; Sat, 24 Feb 2018 18:31:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dikbekulo@HIDDEN>) id 1epjHn-00060b-JJ
 for bug-guile@HIDDEN; Sat, 24 Feb 2018 18:31:28 -0500
Received: from cock.li ([185.100.85.212]:36458)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <dikbekulo@HIDDEN>)
 id 1epjHn-0005wB-7C
 for bug-guile@HIDDEN; Sat, 24 Feb 2018 18:31:23 -0500
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=airmail.cc; s=mail;
 t=1519515080; bh=iPf7spF2Er5FXmIeah8nwihr3t8e8NxXJ3iIvzX0C3E=;
 h=Date:From:To:Subject:From;
 b=sJU6dOmYFyhFQ47/q1Sn6xzY7tHHcu/gyUsQfckSyOW28YYoIT4NyEnGJz30zuUNt
 pP8GZGsN36uBGjWnpGKrj5PY4EA5kfQa3stt8gBAU1qrpRTDbIbgyshS4pieOD69kq
 LLtOyR3zH0wacrjL8IdAIzzN8Q981uKEOVzfZXeqYa5cvXZbr4yTZujMdOPyaoPeBj
 vsXQSb/KwLEdUDMfvRAYJKzj5NOLHATnqBmJDYm0pG1MZpeyDYyKvkjLR5ffsJXVPI
 m9sTr2okCRqER1cI0VRZEVLXrtt6TFcD2UpEoHhaD8pLxsQeTDY5hFEzpPE7l9CBpo
 HRBq1xjj+ZL3Q==
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Sun, 25 Feb 2018 00:31:19 +0100
From: dikbekulo@HIDDEN
To: bug-guile@HIDDEN
Subject: repl metacommands do not discard remaining input after syntax error
 in an expression
Message-ID: <c468d921644b4fd5d19fbede4a0b1d89@HIDDEN>
X-Sender: dikbekulo@HIDDEN
User-Agent: Roundcube Webmail/1.3.3
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 24 Feb 2018 19:50:26 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

Hello!

When using meta-commands in the repl (without readline support), if 
reading an expression parameter fails, the rest of the input gets read 
in anyway. An example interaction:

--8<---------------cut here---------------start------------->8---
GNU Guile 2.2.3
Copyright (C) 1995-2017 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)> ,trace "\m"
Throw to key `read-error' while reading argument `form' of command 
`trace':
In procedure scm_lreadr: #<unknown port>:1:11: illegal character in 
escape sequence: #\m
"
$1 = "\n"
scheme@(guile-user)> ,trace "\m123
Throw to key `read-error' while reading argument `form' of command 
`trace':
In procedure scm_lreadr: #<unknown port>:2:11: illegal character in 
escape sequence: #\m
$2 = 123
--8<---------------cut here---------------end--------------->8---

Since Geiser uses meta-commands with multi-line expressions to 
communicate with Guile it can get very confusing if you have syntax 
errors in your code.




Acknowledgement sent to dikbekulo@HIDDEN:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#30600; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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