From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#51037: [PATCH] Make `print-level` & `print-length` customizable in ERT batch tests Date: Fri, 19 Nov 2021 21:46:14 +0300 Message-ID: References: <86tuhvmtpl.fsf@runbox.com> <83fste2u4i.fsf@gnu.org> <87ily94662.fsf@gnus.org> <83fstd1bth.fsf@gnu.org> <87czogslm4.fsf@gnus.org> <86ily2mjtq.fsf@runbox.com> <87r1cp89o4.fsf@gnus.org> <86fst5m48v.fsf@runbox.com> <87a6jd5891.fsf@gnus.org> <86mtmykxro.fsf@runbox.com> <87y26hz24c.fsf@gnus.org> <86bl3blcgm.fsf@runbox.com> <87wnlya9sj.fsf@gnus.org> <86wnlbmooj.fsf@runbox.com> <87fsry7qdy.fsf@gnus.org> <87bl2m7q9g.fsf@gnus.org> <86zgq5kn9y.fsf@runbox.com> <87ilws7d7e.fsf@gnus.org> <87pmqxlsob.fsf@gnus.org> <86pmqwkw1r.fsf@pobox.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24832"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: gazally@runbox.com, Lars Ingebrigtsen , 51037@debbugs.gnu.org To: Michael Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 19 19:52:46 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mo909-0006CN-Ie for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Nov 2021 19:52:46 +0100 Original-Received: from localhost ([::1]:33206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mo907-0004wa-Ge for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Nov 2021 13:52:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo8ue-00076M-1l for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2021 13:47:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mo8uc-0003y1-B5 for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2021 13:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mo8uc-0003KO-8y for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2021 13:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Nov 2021 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51037 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 51037-submit@debbugs.gnu.org id=B51037.163734758612739 (code B ref 51037); Fri, 19 Nov 2021 18:47:02 +0000 Original-Received: (at 51037) by debbugs.gnu.org; 19 Nov 2021 18:46:26 +0000 Original-Received: from localhost ([127.0.0.1]:40495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mo8u1-0003JP-Ly for submit@debbugs.gnu.org; Fri, 19 Nov 2021 13:46:25 -0500 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:54049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mo8tz-0003J8-L7 for 51037@debbugs.gnu.org; Fri, 19 Nov 2021 13:46:24 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 78E6A5C0109; Fri, 19 Nov 2021 13:46:18 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 19 Nov 2021 13:46:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=HUZfojvfnvYvz4hIRG2pgHlX7g imYyc7b1i/mwlqGa0=; b=T+CafAvf8DRzfgGImETNrA3zm9NidrynXwteLDizyN SDyRHgytbGhTb/8g7Fqam0sSf/Qd2ebQdTvqFTGJaJNv6R3qeZV/UfyGbgIInN9m 70YTorPAah2AbOmSyZuyVobVHky9YuMcWPYyDOkiw9/d0YQRZO6EmR9uGYoNjP1Q lTABs1Q52ZjDmWZC8cNk1rtIA+G+R/FAwfAc2RbxKhbor2MHoay85y5ID+A4oWO1 jsHCW8Xo4Asw5TnIOB7VRJYUpjHx+bd6kEJQbTp94wRKMTqwUgR6vhsRqmEl9wKe 4wbgwlPewuj94+mSs3ij/h3MENVnH9wFCk6VnZ1gqLwg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=HUZfoj vfnvYvz4hIRG2pgHlX7gimYyc7b1i/mwlqGa0=; b=J6I4A9yhzgqGntd3Wy66Ic npIpB50QmQQ7upIFS8dQ6RW9U2xcKl4EUE6vN0YHrA+0dxO128fzhUKkzEc3M98L iTqGmkPSh60Mm/k0bsi0AxMKzYtM6aP6YR1n/y9EkPf8RDRZ4aoxoaKFiEN8gI5Q tKM9rh0kqZZcvQwjq6R00UWPve70vbNbwvwxWGU3xS93Dokbg5InE1hwroZFDuFV zBXLguqp/6VSjjl45PJMblTc22nmkWBjCejlCgnGPvJZAF2n25uoF11m+9mDLg4G i3CH3187Bq/8AdBf/eTougJ3tQbYxI//+J7KC2wfgIk+cKP428c1qiYbBxA8YJ4w == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrfeekgdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefhihhlihhp phcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecuggftrf grthhtvghrnheptdffhefgffejtddvvdehueetheeiheegudeghffgueetgfdvfeeuudfh feduveeinecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepfhhguhhnsghinhesfhgrshhtmhgrihhlrdhf mh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 Nov 2021 13:46:16 -0500 (EST) In-Reply-To: <86pmqwkw1r.fsf@pobox.com> (Michael's message of "Fri, 19 Nov 2021 07:24:48 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220431 Archived-At: On 19/11/2021 07:24 -0800, Michael wrote: > Lars Ingebrigtsen writes: > >> Filipp Gunbin writes: >> >>> The docstring for backtrace-line-length says: "If set to nil or >>> zero, >>> backtrace mode will not abbreviate the forms it prints." So the >>> above >>> sentence, which I removed, was indeed not true? (a quick look over >>> its usages confirmed that to me, but I'd like someone else to >>> check) >> >> I think the intention is that a nil value of backtrace-line-length >> shouldn't limit the lengths -- but I haven't tested it. Doesn't it >> work? > > Yes, I'm a bit lost, Filipp... what is your concern? And I > thought I *had* tested that. That the docstring contained a sentence which is not true. A minor issue, of course. I give examples here: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51037#117 (there was also fix of interactive spec of `ert-run-tests-interactively', but that's obvious I think) Filipp