Re: Enable truncation of exception output

2017-03-10 Thread Andy Wingo
Hi :) On Fri 10 Mar 2017 10:07, l...@gnu.org (Ludovic Courtès) writes: > I’d be in favor of something more conservative, notably because > ‘simple-format’ remains faster than ‘format’: Ah indeed. simple-format does appear to be much faster. Tested using: (define-syntax-rule (do-times count

Re: Enable truncation of exception output

2017-03-10 Thread Daniel Llorens
On 10 Mar 2017, at 09:47, Andy Wingo 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 forma

Re: Enable truncation of exception output

2017-03-10 Thread Ludovic Courtès
Hello! Andy Wingo skribis: > On Fri 03 Feb 2017 14:40, Daniel Llorens writes: > >> The patch to master (ice-9 boot-9) lets you override the (format) used >> internally by the exception printers. Then I rewrite the format string >> in user code, see below. It's a bit hacky, maybe someone has a b

Re: Enable truncation of exception output

2017-03-10 Thread Andy Wingo
On Fri 03 Feb 2017 14:40, Daniel Llorens writes: > The patch to master (ice-9 boot-9) lets you override the (format) used > internally by the exception printers. Then I rewrite the format string > in user code, see below. It's a bit hacky, maybe someone has a better > solution. > > See also the o