1 Return-Path: <schnouki@schnouki.net>
\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 91003429E25
\r
6 for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 17:28:38 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]
\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 TECd9GC2OXbe for <notmuch@notmuchmail.org>;
\r
17 Tue, 20 Dec 2011 17:28:38 -0800 (PST)
\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])
\r
19 by olra.theworths.org (Postfix) with ESMTP id 0074C431FB6
\r
20 for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 17:28:37 -0800 (PST)
\r
21 Received: from odin.local (nancy.schnouki.net [78.238.0.45])
\r
22 by ks3536.kimsufi.com (Postfix) with ESMTPSA id 219386A0026;
\r
23 Wed, 21 Dec 2011 02:28:37 +0100 (CET)
\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;
\r
25 s=key-schnouki; t=1324430917;
\r
26 bh=jf7MQAM9TfjBNtF0K2q6pPl3g1v6oYn8pmsKMroh0ME=;
\r
27 h=From:To:Subject:Date:Message-Id:In-Reply-To:References;
\r
28 b=XVg20OTDt45M1eE2+A3yjYF4z92t5l3PVS3ZTG1txPBb0D0CwaSA3jY4Vy/481WQU
\r
29 mZHKBsD+R8djSe70eRcA4A/qai0MhTBv651iBo4BjsfHAT1Q58yptlsRbSlwByS8m9
\r
30 uGBBkMTa+HpycmchGG9T3F5YtyjfUulhnAFd0QqM=
\r
31 From: Thomas Jost <schnouki@schnouki.net>
\r
32 To: notmuch@notmuchmail.org
\r
33 Subject: [PATCH] emacs: add notmuch-hello-refresh-hook
\r
34 Date: Wed, 21 Dec 2011 02:28:14 +0100
\r
35 Message-Id: <1324430894-5002-1-git-send-email-schnouki@schnouki.net>
\r
36 X-Mailer: git-send-email 1.7.8
\r
37 In-Reply-To: <1324426878-14148-1-git-send-email-schnouki@schnouki.net>
\r
38 References: <1324426878-14148-1-git-send-email-schnouki@schnouki.net>
\r
39 X-BeenThere: notmuch@notmuchmail.org
\r
40 X-Mailman-Version: 2.1.13
\r
42 List-Id: "Use and development of the notmuch mail system."
\r
43 <notmuch.notmuchmail.org>
\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
47 List-Post: <mailto:notmuch@notmuchmail.org>
\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
51 X-List-Received-Date: Wed, 21 Dec 2011 01:28:38 -0000
\r
53 This hook is called every time a notmuch-hello buffer is updated.
\r
55 Oops, the previous patch had a typo which prevented it to work (":group notmuch"
\r
56 instead of ":group 'notmuch"). Sorry about that.
\r
58 emacs/notmuch-hello.el | 9 ++++++++-
\r
59 1 files changed, 8 insertions(+), 1 deletions(-)
\r
61 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
\r
62 index 115f80a..a2b1c4c 100644
\r
63 --- a/emacs/notmuch-hello.el
\r
64 +++ b/emacs/notmuch-hello.el
\r
65 @@ -143,6 +143,11 @@ Typically \",\" in the US and UK and \".\" or \" \" in Europe."
\r
69 +(defcustom notmuch-hello-refresh-hook nil
\r
70 + "Functions called after updating a `notmuch-hello' buffer."
\r
74 (defvar notmuch-hello-url "http://notmuchmail.org"
\r
75 "The `notmuch' web site.")
\r
77 @@ -590,7 +595,9 @@ Complete list of currently available key bindings:
\r
78 (widget-forward 1)))
\r
81 - (notmuch-hello-goto-search)))))
\r
82 + (notmuch-hello-goto-search))))
\r
84 + (run-hooks 'notmuch-hello-refresh-hook))
\r
86 (defun notmuch-folder ()
\r
87 "Deprecated function for invoking notmuch---calling `notmuch' is preferred now."
\r