GNU bug report logs - #28295
better error messages: missing closing parenthesis

Previous Next

Package: guile;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Wed, 30 Aug 2017 14:12:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 28295 <at> debbugs.gnu.org
Subject: bug#28295: better error messages: missing closing parenthesis
Date: Wed, 30 Aug 2017 16:10:35 +0200
A person who does not use paredit can easily create a source file that
does not have matching parentheses.  Loading a broken file currently
produces an error like this:

--8<---------------cut here---------------start------------->8---
$ guile -e '(hello'
ERROR: In procedure read:
ERROR: In procedure scm_i_lreadparen: #<unknown port>:1:7: end of file
--8<---------------cut here---------------end--------------->8---

For new users it is not obvious that this error message means that a
closing parenthesis is missing.

Can the message be improved?

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





This bug report was last modified 7 years and 247 days ago.

Previous Next


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