[PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 24 / ab6123fffa9ec0b69ff5e23d53247d3abb42b7
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 D43BA429E37\r
6         for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 09:32:32 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.1\r
10 X-Spam-Level: \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
13         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-F+r+gUs-1f for <notmuch@notmuchmail.org>;\r
17         Tue, 13 Dec 2011 09:32:32 -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 992F2429E2E\r
20         for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 09:32:30 -0800 (PST)\r
21 Received: from thor.loria.fr (thor.loria.fr [152.81.12.250])\r
22         by ks3536.kimsufi.com (Postfix) with ESMTPSA id EFF586A002C;\r
23         Tue, 13 Dec 2011 18:32:29 +0100 (CET)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
25         s=key-schnouki; t=1323797550;\r
26         bh=/jaal2R5IQDcfiSZI4aFrjcA1O0n3vCnBaU1n/+NlBk=;\r
27         h=From:To:Subject:Date:Message-Id:In-Reply-To:References;\r
28         b=OdpD4AlPDN0CtsI2k5yLb14PindTbWDeruoH2sP+P6pkquIh8UvF5ByNTj3SNYnpF\r
29         BMu+Etb7zBHzJ8bqAIsdW0rcFB684hvYyZq/Rgo420le/0/HhdS+HihAEYzganx25Y\r
30         Ugd8bShzCWX+mo0SNHK7WGUshMw/iVCGRpS9xQdo=\r
31 From: Thomas Jost <schnouki@schnouki.net>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH v3 4/4] emacs: add notmuch-hello-hook\r
34 Date: Tue, 13 Dec 2011 18:32:12 +0100\r
35 Message-Id: <1323797532-597-5-git-send-email-schnouki@schnouki.net>\r
36 X-Mailer: git-send-email 1.7.8\r
37 In-Reply-To: <1323797532-597-1-git-send-email-schnouki@schnouki.net>\r
38 References: <87d3cx2t38.fsf@rocinante.cs.unb.ca>\r
39         <1323797532-597-1-git-send-email-schnouki@schnouki.net>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Tue, 13 Dec 2011 17:32:33 -0000\r
53 \r
54 This hook is called every time the notmuch-hello buffer is updated.\r
55 ---\r
56  emacs/notmuch-hello.el |    9 ++++++++-\r
57  1 files changed, 8 insertions(+), 1 deletions(-)\r
58 \r
59 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
60 index 0fe9c1d..112b40b 100644\r
61 --- a/emacs/notmuch-hello.el\r
62 +++ b/emacs/notmuch-hello.el\r
63 @@ -131,6 +131,11 @@ So:\r
64           (integer :tag "Number of characters")\r
65           (float :tag "Fraction of window")))\r
66  \r
67 +(defcustom notmuch-hello-hook nil\r
68 +  "Functions called after populating a `notmuch-hello' buffer."\r
69 +  :type 'hook\r
70 +  :group 'notmuch)\r
71 +\r
72  (defcustom notmuch-thousands-separator ","\r
73    "The string used as a thousands separator.\r
74  \r
75 @@ -579,7 +584,9 @@ Complete list of currently available key bindings:\r
76           (widget-forward 1)))\r
77  \r
78        (unless (widget-at)\r
79 -       (notmuch-hello-goto-search)))))\r
80 +       (notmuch-hello-goto-search))\r
81 +\r
82 +      (run-hooks 'notmuch-hello-hook))))\r
83  \r
84  (defun notmuch-folder ()\r
85    "Deprecated function for invoking notmuch---calling `notmuch' is preferred now."\r
86 -- \r
87 1.7.8\r
88 \r