[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51037: [PATCH] Make `print-level` & `print-length` customizable in E

From: Lars Ingebrigtsen
Subject: bug#51037: [PATCH] Make `print-level` & `print-length` customizable in ERT batch tests
Date: Thu, 07 Oct 2021 09:59:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Why do we limit print-length in batch mode?  In interactive session,
> one can click or type RET on the ellipsis and get it expanded, but no
> such joy in batch.  See
>   https://lists.gnu.org/archive/html/emacs-devel/2021-10/msg00395.html
> for how that makes debugging more difficult than it has to be.
> So how about using huge values in batch?  Are there any downsides?

It'll make the error summaries completely unreadable, which isn't what
you want when doing a "make check" -- you just want to see that there's
a problem and where it is.  (Well, at least I do.)

But when making a specific test (i.e., "make subr-tests" etc) it would
indeed be nice to have untruncated backtraces.  I think adding these new
variables would allow us to do this.

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]