From 654226dac079a803a0681c16d5d23b9e20dc9d9d Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 5 Jan 2016 00:30:11 +0100 Subject: [PATCH] Re: [PATCH] devel/emacs: add devel/try-emacs-mua.sh --- 91/1a4b06b547f3b802a0617c51e730ad8975e894 | 85 +++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 91/1a4b06b547f3b802a0617c51e730ad8975e894 diff --git a/91/1a4b06b547f3b802a0617c51e730ad8975e894 b/91/1a4b06b547f3b802a0617c51e730ad8975e894 new file mode 100644 index 000000000..28a5dd452 --- /dev/null +++ b/91/1a4b06b547f3b802a0617c51e730ad8975e894 @@ -0,0 +1,85 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 578A86DE1749 + for ; Mon, 4 Jan 2016 15:30:16 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -1.531 +X-Spam-Level: +X-Spam-Status: No, score=-1.531 tagged_above=-999 required=5 tests=[AWL=0.779, + RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, + T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id F0k9hmeNQ1Vo for ; + Mon, 4 Jan 2016 15:30:14 -0800 (PST) +Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) + by arlo.cworth.org (Postfix) with ESMTP id 8A88F6DE163B + for ; Mon, 4 Jan 2016 15:30:14 -0800 (PST) +Received: from localhost (unknown [192.168.200.7]) + by max.feld.cvut.cz (Postfix) with ESMTP id D350A19F48C3; + Tue, 5 Jan 2016 00:30:13 +0100 (CET) +X-Virus-Scanned: IMAP STYX AMAVIS +Received: from max.feld.cvut.cz ([192.168.200.1]) + by localhost (styx.feld.cvut.cz [192.168.200.7]) (amavisd-new, port 10044) + with ESMTP id qT68tuFMlxW3; Tue, 5 Jan 2016 00:30:12 +0100 (CET) +Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) + by max.feld.cvut.cz (Postfix) with ESMTP id 4ED6019F4793; + Tue, 5 Jan 2016 00:30:12 +0100 (CET) +Received: from wsh by steelpick.2x.cz with local (Exim 4.86) + (envelope-from ) + id 1aGEZn-0004i9-R3; Tue, 05 Jan 2016 00:30:11 +0100 +From: Michal Sojka +To: Mark Walters , + Tomi Ollila , notmuch@notmuchmail.org +Cc: tomi.ollila@iki.fi +Subject: Re: [PATCH] devel/emacs: add devel/try-emacs-mua.sh +In-Reply-To: <87si4bwrsu.fsf@qmul.ac.uk> +References: <1446390985-20989-1-git-send-email-tomi.ollila@iki.fi> + <87si4bwrsu.fsf@qmul.ac.uk> +User-Agent: Notmuch/0.21+30~g55c056a (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Tue, 05 Jan 2016 00:30:11 +0100 +Message-ID: <87a8okylbw.fsf@steelpick.2x.cz> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 04 Jan 2016 23:30:16 -0000 + +On Thu, Nov 12 2015, Mark Walters wrote: +>> devel/try-emacs-mua.sh provides an easy way to try and experiment with +>> the notmuch emacs client provided in emacs subdirectory of notmuch +>> source tree. + +[...] + +> +> I like this -- a nice simple way to get to a working but uncustomised +> test environment. +> +> I don't know how easy the following would be but one addition that I +> would find very useful would be a way to make this use the test +> corpus. This would be useful for giving a completely standard +> environment for interactive testing, but also for debugging what is +> going on when tests fail. + +This is already possible. If a test fails, its working directory is not +deleted and you can run e.g. ./test/tmp.T310-emacs/run_emacs, where you +can interactively reproduce the test. What you miss compared to Tomi's +approach is the hint screen and extra logging. + +BR +-Michal -- 2.26.2