1 Return-Path: <dmitry.kurochkin@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 62202429E28
\r
6 for <notmuch@notmuchmail.org>; Sun, 3 Jul 2011 21:07:47 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id wxKopMaS31lZ for <notmuch@notmuchmail.org>;
\r
17 Sun, 3 Jul 2011 21:07:45 -0700 (PDT)
\r
18 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com
\r
19 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 1C52F429E29
\r
22 for <notmuch@notmuchmail.org>; Sun, 3 Jul 2011 21:07:42 -0700 (PDT)
\r
23 Received: by mail-bw0-f53.google.com with SMTP id 12so4447816bwg.26
\r
24 for <notmuch@notmuchmail.org>; Sun, 03 Jul 2011 21:07:42 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
27 bh=W4iOjwCKYCdhIcFaOVlbEbkQYxEfuSc97x/nHrLfe1M=;
\r
28 b=iOLx5n7YPgxjBsUbTJkamPnhdjIX/n3yOa6QuU3dpcZpHebXMESaYr3FEc8zAm8eTf
\r
29 PvGzwCGf6WKVy4oRavkP1jM1Ap/FT5ZRy5B4xwFsENq0DfzctkEgbcdvdPmBbmDgKbeH
\r
30 xbjUm48rzJw0k5E33/I69eoOkpAvdfKCZsQLI=
\r
31 Received: by 10.204.101.10 with SMTP id a10mr5315262bko.183.1309752462797;
\r
32 Sun, 03 Jul 2011 21:07:42 -0700 (PDT)
\r
33 Received: from localhost ([91.144.186.21])
\r
34 by mx.google.com with ESMTPS id k5sm5168256bka.17.2011.07.03.21.07.41
\r
35 (version=TLSv1/SSLv3 cipher=OTHER);
\r
36 Sun, 03 Jul 2011 21:07:41 -0700 (PDT)
\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH v2 1/3] test: update documentation for test_emacs in
\r
41 Date: Mon, 4 Jul 2011 08:07:19 +0400
\r
42 Message-Id: <1309752441-10651-2-git-send-email-dmitry.kurochkin@gmail.com>
\r
43 X-Mailer: git-send-email 1.7.5.4
\r
44 In-Reply-To: <1309752441-10651-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
45 References: <1309744743-8556-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
46 <1309752441-10651-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
47 X-BeenThere: notmuch@notmuchmail.org
\r
48 X-Mailman-Version: 2.1.13
\r
50 List-Id: "Use and development of the notmuch mail system."
\r
51 <notmuch.notmuchmail.org>
\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
55 List-Post: <mailto:notmuch@notmuchmail.org>
\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
59 X-List-Received-Date: Mon, 04 Jul 2011 04:07:47 -0000
\r
61 Update test_emacs documentation in test/README according to the latest
\r
62 changes in emacs tests. Move the note regarding setting variables
\r
63 from test/emacs to test/README.
\r
65 test/README | 10 +++++++---
\r
66 test/emacs | 5 -----
\r
67 2 files changed, 7 insertions(+), 8 deletions(-)
\r
69 diff --git a/test/README b/test/README
\r
70 index f9ac607..a245bf1 100644
\r
73 @@ -181,9 +181,13 @@ library for your script to use.
\r
75 This function executes the provided emacs lisp script within
\r
76 emacs. The script can be a sequence of emacs lisp expressions,
\r
77 - (that is, they will be evaluated within a progn form). The lisp
\r
78 - expressions can call `message' to generate output on stdout to be
\r
79 - examined by the calling test script.
\r
80 + (that is, they will be evaluated within a progn form). Emacs
\r
81 + stdout and stderr is not available, the common way to get output
\r
82 + is to save it to a file. There are some auxiliary functions
\r
83 + useful in emacs tests provided in test-lib.el. Do not use `setq'
\r
84 + for setting variables in Emacs tests because it affects other
\r
85 + tests that may run in the same Emacs instance. Use `let' instead
\r
86 + so the scope of the changed variables is limited to a single test.
\r
90 diff --git a/test/emacs b/test/emacs
\r
91 index 53f455a..f465e2b 100755
\r
97 -# Note: do not use `setq' for setting variables in Emacs tests because
\r
98 -# it affects other tests that may run in the same Emacs instance. Use
\r
99 -# `let' instead so the scope of the changed variables is limited to a
\r
102 test_description="emacs interface"
\r