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 67D0A431FC0
\r
6 for <notmuch@notmuchmail.org>; Sun, 2 Sep 2012 07:48:48 -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 T-7R84wQ2eN0 for <notmuch@notmuchmail.org>;
\r
17 Sun, 2 Sep 2012 07:48:48 -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 A8555431FBF
\r
22 for <notmuch@notmuchmail.org>; Sun, 2 Sep 2012 07:48:47 -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:47 -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=srhNgR6m9KNttd61fdfjhuS9HPCzK9o4IcNZziYJODM=;
\r
30 b=U5CnLFP/1AAa+R/4ABlXljsEYtLqx1RK03CxrbS3Fn6k9GNDrIR176RJOi3VyvBZwT
\r
31 CUk8muNL28UESjMxWh+82HqcCBSb7lHd6ZuGlwB1utsW8SaG0UBMAn/cHMp/AQJimuyp
\r
32 Lp1IW6n0wXdCKxQ+zux59829nktEfCc8HL1FrF8qfRjUCWzcFUUBTHYLLb2UzsNJX8vI
\r
33 TqJ2dsq4Kt5gP21baBTMW55JJLpMkApsHsp70mVGl5NtgmRQaYzqGKde/81FjvND8DcG
\r
34 Ts90RfWsFBnq66N3uVazphv7bXPEiymaOnPsVzCPVlwBNok7e3CtNip8FNFIWKmXqxmH
\r
36 Received: by 10.152.106.233 with SMTP id gx9mr11332401lab.48.1346597327325;
\r
37 Sun, 02 Sep 2012 07:48:47 -0700 (PDT)
\r
38 Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.
\r
40 by mx.google.com with ESMTPS id u10sm2589296lbf.11.2012.09.02.07.48.45
\r
41 (version=SSLv3 cipher=OTHER); Sun, 02 Sep 2012 07:48:46 -0700 (PDT)
\r
42 From: Jani Nikula <jani@nikula.org>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH v2 2/5] emacs: add no-display arg to
\r
45 notmuch-hello-refresh-hook
\r
46 Date: Sun, 2 Sep 2012 17:48:34 +0300
\r
48 <51214be764d0f54d0db3658e43f1377d67e34fdf.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 ALoCoQk0ssGiUU9g2ulg4ZzMK7i3WrpKbdsjWWoVl1mzC8L1tTA2vaecu9V7RMdiXtxNYNQPmeqz
\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:48:48 -0000
\r
70 Add no-display arg to notmuch-hello-refresh-hook to allow each hook to
\r
71 decide what is appropriate when no-display is t, i.e. when not
\r
72 switching to the notmuch-hello buffer.
\r
74 This breaks existing hooks people might have, which will now need to
\r
75 accept the argument.
\r
77 Signed-off-by: Jani Nikula <jani@nikula.org>
\r
79 emacs/notmuch-hello.el | 2 +-
\r
80 1 file changed, 1 insertion(+), 1 deletion(-)
\r
82 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
\r
83 index 4dfe5d2..fa14443 100644
\r
84 --- a/emacs/notmuch-hello.el
\r
85 +++ b/emacs/notmuch-hello.el
\r
86 @@ -816,7 +816,7 @@ it (i.e. use `set-buffer' rather than `switch-to-buffer')."
\r
88 (when notmuch-hello-search-pos
\r
89 (goto-char notmuch-hello-search-pos)))))
\r
90 - (run-hooks 'notmuch-hello-refresh-hook)
\r
91 + (run-hook-with-args 'notmuch-hello-refresh-hook no-display)
\r
92 (setq notmuch-hello-first-run nil))
\r
94 (defun notmuch-folder ()
\r