1 Return-Path: <tomi.ollila@iki.fi>
\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 46400431FC0
\r
6 for <notmuch@notmuchmail.org>; Mon, 24 Sep 2012 04:44:51 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 l3QbZso5BVQC for <notmuch@notmuchmail.org>;
\r
16 Mon, 24 Sep 2012 04:44:39 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 4D3C5431FAF
\r
19 for <notmuch@notmuchmail.org>; Mon, 24 Sep 2012 04:44:39 -0700 (PDT)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id 6C9D910014A;
\r
22 Mon, 24 Sep 2012 14:44:43 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: Damien Cassou <damien.cassou@gmail.com>, notmuch@notmuchmail.org
\r
25 Subject: Re: [PATCH] Run `notmuch-show-hook' after setting
\r
26 `header-line-format'
\r
27 In-Reply-To: <87pq5kior3.fsf@gmail.com>
\r
28 References: <87pq5kior3.fsf@gmail.com>
\r
29 User-Agent: Notmuch/0.13.2+177~g6720ee8 (http://notmuchmail.org) Emacs/24.2.1
\r
30 (x86_64-unknown-linux-gnu)
\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
32 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
33 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
34 Date: Mon, 24 Sep 2012 14:44:43 +0300
\r
35 Message-ID: <m23927hcgk.fsf@guru.guru-group.fi>
\r
37 Content-Type: text/plain
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Mon, 24 Sep 2012 11:44:51 -0000
\r
52 On Mon, Sep 17 2012, Damien Cassou <damien.cassou@gmail.com> wrote:
\r
54 > This patch makes it possible for notmuch-show hooks to change the
\r
57 > Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
\r
65 > emacs/notmuch-show.el | 6 +++---
\r
66 > 1 file changed, 3 insertions(+), 3 deletions(-)
\r
68 > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
69 > index ce5ea6f..16008b4 100644
\r
70 > --- a/emacs/notmuch-show.el
\r
71 > +++ b/emacs/notmuch-show.el
\r
72 > @@ -1070,10 +1070,10 @@ function is used."
\r
74 > (jit-lock-register #'notmuch-show-buttonise-links)
\r
76 > - (run-hooks 'notmuch-show-hook))
\r
77 > + ;; Set the header line to the subject of the first message.
\r
78 > + (setq header-line-format (notmuch-show-strip-re (notmuch-show-get-subject)))
\r
80 > - ;; Set the header line to the subject of the first message.
\r
81 > - (setq header-line-format (notmuch-show-strip-re (notmuch-show-get-subject)))))
\r
82 > + (run-hooks 'notmuch-show-hook))))
\r
84 > (defun notmuch-show-capture-state ()
\r
85 > "Capture the state of the current buffer.
\r
88 > _______________________________________________
\r
89 > notmuch mailing list
\r
90 > notmuch@notmuchmail.org
\r
91 > http://notmuchmail.org/mailman/listinfo/notmuch
\r