From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: read errors Date: 05 Aug 2002 20:02:24 +0200 Sender: guile-devel-admin@gnu.org Message-ID: References: <15693.46860.769864.876889@blauw.xs4all.nl> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028570551 24536 127.0.0.1 (5 Aug 2002 18:02:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2002 18:02:31 +0000 (UTC) Cc: guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17bmBZ-0006Nd-00 for ; Mon, 05 Aug 2002 20:02:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17bmCA-00081f-00; Mon, 05 Aug 2002 14:03:06 -0400 Original-Received: from krusty.dt.e-technik.uni-dortmund.de ([129.217.163.1] helo=mail.dt.e-technik.uni-dortmund.de) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17bmBz-0007zV-00 for ; Mon, 05 Aug 2002 14:02:55 -0400 Original-Received: from burns.dt.e-technik.uni-dortmund.de (burns.dt.e-technik.uni-dortmund.de [129.217.163.19]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id DA7CBA3831; Mon, 5 Aug 2002 20:02:53 +0200 (CEST) Original-Received: by burns.dt.e-technik.uni-dortmund.de (Postfix, from userid 520) id 80A912613A; Mon, 5 Aug 2002 20:02:25 +0200 (CEST) Original-To: hanwen@cs.uu.nl In-Reply-To: <15693.46860.769864.876889@blauw.xs4all.nl> Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:988 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:988 Han-Wen Nienhuys writes: > This is not standard GNU format, but the test-suite likes the real > message to be in front. We need to change the test-suite, then. > Maybe this is a kludge? No, I think it's the best we can do with the present system. > #define INPUT_ERROR(port, message, arg) { Does this have to be a macro? I would like it better to be a function (like scm_misc_error) and a thinly wrapped function (like SCM_MISC_ERROR). > snprintf (s, 1024, "%s\nThis happened in %s%s%s line %d column %d", message, Can we use scm_simple_format here? That would avoid the 1024 limit and would also feel more gentle since we don't need to poke into the strings private parts. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel