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 3A12040751A
\r
6 for <notmuch@notmuchmail.org>; Fri, 6 Jan 2012 13:43:17 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id izeITCEODVmf for <notmuch@notmuchmail.org>;
\r
16 Fri, 6 Jan 2012 13:43:16 -0800 (PST)
\r
17 Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com
\r
18 [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
19 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
20 7F25240750E for <notmuch@notmuchmail.org>; Fri, 6 Jan 2012 13:43:16 -0800
\r
22 Received: by eekd41 with SMTP id d41so1621040eek.26
\r
23 for <notmuch@notmuchmail.org>; Fri, 06 Jan 2012 13:43:15 -0800 (PST)
\r
24 Received: by 10.213.20.147 with SMTP id f19mr1504136ebb.42.1325886194958;
\r
25 Fri, 06 Jan 2012 13:43:14 -0800 (PST)
\r
26 Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi.
\r
28 by mx.google.com with ESMTPS id b49sm221944798eec.9.2012.01.06.13.43.12
\r
29 (version=SSLv3 cipher=OTHER); Fri, 06 Jan 2012 13:43:13 -0800 (PST)
\r
30 From: Jani Nikula <jani@nikula.org>
\r
31 To: Antoine =?utf-8?Q?Beaupr=C3=A9?= <anarcat@koumbit.org>,
\r
32 notmuch@notmuchmail.org
\r
33 Subject: Re: [PATCH] run notmuch-hello-mode-hook at the end of the hello mode
\r
35 In-Reply-To: <1312799218-10243-1-git-send-email-anarcat@koumbit.org>
\r
36 References: <1312799218-10243-1-git-send-email-anarcat@koumbit.org>
\r
37 User-Agent: Notmuch/0.10.2+182~g93862a2 (http://notmuchmail.org) Emacs/23.3.1
\r
39 Date: Fri, 06 Jan 2012 23:43:11 +0200
\r
40 Message-ID: <877h148q34.fsf@nikula.org>
\r
42 Content-Type: text/plain; charset=utf-8
\r
43 Content-Transfer-Encoding: quoted-printable
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Fri, 06 Jan 2012 21:43:17 -0000
\r
59 Hi, looks like a similar patch has been applied as commit
\r
60 db352df09e92171293eacf159342cd950ae596d0.
\r
66 On Mon, 8 Aug 2011 12:26:58 +0200, Antoine Beaupr=C3=A9 <anarcat@koumbit.o=
\r
68 > i mostly use this to start offlineimap.el, but it could be used for
\r
69 > other purposes. i have not added hooks to other modes, but those could
\r
70 > be interesting as well. i am unsure as to how to make unit tests for
\r
73 > emacs/notmuch-hello.el | 6 ++++++
\r
74 > 1 files changed, 6 insertions(+), 0 deletions(-)
\r
76 > diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
\r
77 > index 65fde75..6389ac8 100644
\r
78 > --- a/emacs/notmuch-hello.el
\r
79 > +++ b/emacs/notmuch-hello.el
\r
80 > @@ -118,6 +118,11 @@ Typically \",\" in the US and UK and \".\" in Europe=
\r
85 > +(defcustom notmuch-hello-mode-hook nil
\r
86 > + "Hook run at the end of `notmuch-hello-mode'."
\r
90 > (defvar notmuch-hello-url "http://notmuchmail.org"
\r
91 > "The `notmuch' web site.")
\r
93 > @@ -336,6 +341,7 @@ Complete list of currently available key bindings:
\r
94 > (setq major-mode 'notmuch-hello-mode
\r
95 > mode-name "notmuch-hello")
\r
96 > ;;(setq buffer-read-only t)
\r
97 > + (run-mode-hooks 'notmuch-hello-mode 'notmuch-hello-mode-hook)
\r
100 > (defun notmuch-hello-generate-tag-alist ()
\r
104 > _______________________________________________
\r
105 > notmuch mailing list
\r
106 > notmuch@notmuchmail.org
\r
107 > http://notmuchmail.org/mailman/listinfo/notmuch
\r