From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uOplJKnn+2GIJgEAgWs5BA (envelope-from ) for ; Thu, 03 Feb 2022 15:33:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GBfxIKnn+2HnvQAAauVa8A (envelope-from ) for ; Thu, 03 Feb 2022 15:33:13 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5F84B2BA8B for ; Thu, 3 Feb 2022 15:33:13 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 95FBF5F70F; Thu, 3 Feb 2022 14:33:03 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 05FEF5F701 for ; Thu, 3 Feb 2022 14:33:00 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 57F0E5FBD2; Thu, 3 Feb 2022 09:32:59 -0500 (EST) Received: (nullmailer pid 3348402 invoked by uid 1000); Thu, 03 Feb 2022 14:32:56 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [RFC PATCH v2 04/12] test/emacs: write *Notmuch errors* buffer from test macro Date: Thu, 3 Feb 2022 10:32:46 -0400 Message-Id: <20220203143254.3344753-5-david@tethera.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203143254.3344753-1-david@tethera.net> References: <20220203143254.3344753-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: MI7NFR7QTBDHWLEYWKQUOBMWH4LVHPBR X-Message-ID-Hash: MI7NFR7QTBDHWLEYWKQUOBMWH4LVHPBR X-MailFrom: bremner@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643898793; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=lAJb4E/DZNlf0A1V9uSxHkGThNVfdE1qlveL6hOYVvw=; b=YDIPAtQamHzLGhwxKNxja0sXjyhmLvpoEC2aYhl42oeBvWGFKMKy92zx75enh0mJEHMmM8 id2LIDnKEsyqY2DlS+E5M1DEecPPtel/Y57lVx0AYgmWAjYaXMh7buQjsmn2/Kga4rNn11 HnctcjEv5trJ0a50Idx4KxiJQq4F/KZQWf8oJeXQF3jpd6Z3ep3mtBaHVrQlV97Gs8dC6F Q2zzIIJh7BH0yGoQ2Ry3SRus04fr9exAUahDjFQaPC79padVJaiB6nl74I3wwFa/DoMAMD +cptFGkAqGPto9VfMv8S3wbQA2xfdig+wXo13xQXglpz+yN24rf1Bz/5g3wTpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643898793; a=rsa-sha256; cv=none; b=qyzU+AKvBmpVAc0ugqTrRHN4DU0ZGXPnBn0IkiKvE4D2jv5SEJNaHE3goKt0kbHzvAMkN5 CYcHgCxqkjutlVXSitwQGcprRQeebKbftzeCzzkgSsYGCzl4nx0K/N0BTrEcBWPmJjFRYA 1UNV3ExkT3CTP7sUcFQlCusTWJze+MLilfm0fVoyf2YhUCCrCldKZ4rRygZYQ/FxKxoYpo c62BcQTvr0rNtfp3FWqE+v2e2f1Ks9lmA98JK5ONVPldyb+ZfIy6xAgUe3Ql8Dk071i9Uw q08nDSijCtQqoZ69ASZOWoznybxjs7Lp1pmQl2VISHHcYP3kbAgzvfyzkgRfRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.35 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 5F84B2BA8B X-Spam-Score: -1.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: Oku0UABFIH9z --- test/test-lib.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test-lib.el b/test/test-lib.el index 6831b46f..adabda4a 100644 --- a/test/test-lib.el +++ b/test/test-lib.el @@ -184,7 +184,9 @@ running, quit if it terminated." (progn ,@body (message "COMPLETE")) (t (message "%s" err))) - (with-current-buffer "*Messages*" (test-output "MESSAGES")))) + (with-current-buffer "*Messages*" (test-output "MESSAGES")) + (with-current-buffer (get-buffer-create "*Notmuch errors*") + (test-output "ERRORS")))) ;; For historical reasons, we hide deleted tags by default in the test ;; suite -- 2.34.1