From: Kevin Ryde <user42@zip.com.au>
Subject: gethost error display
Date: Sat, 15 Feb 2003 07:38:45 +1000 [thread overview]
Message-ID: <871y2av8yi.fsf@zip.com.au> (raw)
In guile 1.6.3 built on a recent i386 debian, running interactively
and trying to find a non-existant host with
(gethost "x")
produces
standard input:1:1: In procedure gethost in expression (gethost "x"):
standard input:1:1: Unknown host
Exception during displaying of error: misc-error
ABORT: (host-not-found)
I take it "Exception during displaying of error" means what it says.
Nosing around the source it seems the error is thrown with string
"Host name lookup failure" but with an extra argument (the bad host
name), and simple-format objects to that extra.
I don't know if the gethost error should be changed, it might break
existing code to do so.
But it might be nice if the default error handler was more forgiving
of exception arguments. If the arguments are pretty much arbitrary
then perhaps some sort of heuristic like using simple-format only if
there's the right number of ~A or ~S in the string.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile
next reply other threads:[~2003-02-14 21:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-14 21:38 Kevin Ryde [this message]
2004-06-22 15:51 ` gethost error display Rob Browning
2004-07-01 0:40 ` Kevin Ryde
2004-08-12 1:05 ` Rob Browning
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871y2av8yi.fsf@zip.com.au \
--to=user42@zip.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).