From: Daniel Llorens <daniel.llorens@bluewin.ch>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: Enable truncation of exception output
Date: Fri, 10 Mar 2017 10:12:23 +0100 [thread overview]
Message-ID: <DBD7F072-8A54-44D9-B4A9-3FBDA81B0523@bluewin.ch> (raw)
In-Reply-To: <87r325tt66.fsf@pobox.com>
On 10 Mar 2017, at 09:47, Andy Wingo <wingo@pobox.com> wrote:
> I have a crazy idea :) What about, we just let (ice-9 format) be
> "format" ? Right now loading (ice-9 format) does a set! to format, as
> you know, overriding the core binding. This is unnecessary and
> complicated. I see that using (ice-9 format) only adds 50 KB to the
> 2828-KB baseline of private dirty memory. Then we can use :@y
> directly in the format strings and we can avoid all the monkeypatching.
This change would make things simpler, but it wouldn't solve the problem we had. Sometimes you want the full error printed out and sometimes you do not. It's a decision that should be made in ~/.guile or at the REPL or at the call site, not when you code the scm_error call.
Daniel
prev parent reply other threads:[~2017-03-10 9:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-03 13:40 Enable truncation of exception output Daniel Llorens
2017-03-10 8:47 ` Andy Wingo
2017-03-10 9:07 ` Ludovic Courtès
2017-03-10 9:17 ` Andy Wingo
2017-03-10 9:12 ` Daniel Llorens [this message]
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=DBD7F072-8A54-44D9-B4A9-3FBDA81B0523@bluewin.ch \
--to=daniel.llorens@bluewin.ch \
--cc=guile-devel@gnu.org \
--cc=wingo@pobox.com \
/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).