1 Return-Path: <jani@nikula.org>
\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 938EC429E29
\r
6 for <notmuch@notmuchmail.org>; Sun, 2 Sep 2012 07:49:01 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"
\r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
13 tests=[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 bpGxf1VTbx+j for <notmuch@notmuchmail.org>;
\r
17 Sun, 2 Sep 2012 07:49:00 -0700 (PDT)
\r
18 Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com
\r
19 [209.85.215.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 11FA3431FD9
\r
22 for <notmuch@notmuchmail.org>; Sun, 2 Sep 2012 07:48:50 -0700 (PDT)
\r
23 Received: by mail-lpp01m010-f53.google.com with SMTP id c1so3338105lah.26
\r
24 for <notmuch@notmuchmail.org>; Sun, 02 Sep 2012 07:48:50 -0700 (PDT)
\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=google.com; s=20120113;
\r
27 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references
\r
28 :in-reply-to:references:x-gm-message-state;
\r
29 bh=n23bydRZ6ELMht3L2mExiq+EgpwZoMBoybNJcLdt1uk=;
\r
30 b=Kt3JQ6siKCeberyY6R2qnBvW/7qz2f36N03JSiZHsku3CKkg6RiKzhGG0euJV1Hrf2
\r
31 DMaWrv9u1ZsnyppLlNjZH1/QwDAWTZa5WGEUZqe4Rh5G5FouYjiPCYf7+Bi4K5yEi9Ph
\r
32 YTgndx/VSF9hB/5OrzXYN68DCKx11n5lBpPWn9K2WwtLwvG7gJu7aBJ9EwNiXLI9/53p
\r
33 kcBUWiwqQda2SyWCGgxSbogiywT/ImnvID1WkxfjxJK0yTa95/ZjlbXpz5Y5ly5BJYqw
\r
34 bZi6BPiLF8uNPjsd7Nnz/Nuue6R9MZaQrqbmZgJ2LIeNdNdErfcdTM7CK+lwIrl1ftB4
\r
36 Received: by 10.152.110.46 with SMTP id hx14mr11395972lab.21.1346597330655;
\r
37 Sun, 02 Sep 2012 07:48:50 -0700 (PDT)
\r
38 Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.
\r
40 by mx.google.com with ESMTPS id sy1sm10706287lab.13.2012.09.02.07.48.48
\r
41 (version=SSLv3 cipher=OTHER); Sun, 02 Sep 2012 07:48:49 -0700 (PDT)
\r
42 From: Jani Nikula <jani@nikula.org>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH v2 3/5] test: fix hook-counter to accept the new no-display
\r
46 Date: Sun, 2 Sep 2012 17:48:35 +0300
\r
48 <93a480b6dafc48d09b1cfa1a8858cc229025fac9.1346596156.git.jani@nikula.org>
\r
49 X-Mailer: git-send-email 1.7.9.5
\r
50 In-Reply-To: <cover.1346596156.git.jani@nikula.org>
\r
51 References: <cover.1346596156.git.jani@nikula.org>
\r
52 In-Reply-To: <cover.1346596156.git.jani@nikula.org>
\r
53 References: <cover.1346596156.git.jani@nikula.org>
\r
55 ALoCoQktEvPoFQCtEUeNzwydL1McDe91bWxEpoe8i72HdzqLAkiLrOwMvPr23BSE3TGmgOqAU7/n
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Sun, 02 Sep 2012 14:49:02 -0000
\r
70 notmuch-hello-refresh-hook is now called with no-display param. Accept
\r
71 (and ignore) it in hook-counter.
\r
73 test/test-lib.el | 2 +-
\r
74 1 file changed, 1 insertion(+), 1 deletion(-)
\r
76 diff --git a/test/test-lib.el b/test/test-lib.el
\r
77 index fa3380c..864780c 100644
\r
78 --- a/test/test-lib.el
\r
79 +++ b/test/test-lib.el
\r
80 @@ -84,7 +84,7 @@ running, quit if it terminated."
\r
82 (run-at-time "1 min" nil 'orphan-watchdog pid)))
\r
84 -(defun hook-counter (hook)
\r
85 +(defun hook-counter (hook &rest no-display)
\r
86 "Count how many times a hook is called. Increments
\r
87 `hook'-counter variable value if it is bound, otherwise does
\r