1 Return-Path: <dme@dme.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 7157F40DAC6
\r
6 for <notmuch@notmuchmail.org>; Mon, 8 Nov 2010 06:19:44 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
\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 0iqoiQ0a5Hs6 for <notmuch@notmuchmail.org>;
\r
16 Mon, 8 Nov 2010 06:19:34 -0800 (PST)
\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
18 [74.125.82.45]) by olra.theworths.org (Postfix) with ESMTP id 3422440DAC1 for
\r
19 <notmuch@notmuchmail.org>; Mon, 8 Nov 2010 06:19:34 -0800 (PST)
\r
20 Received: by wwb29 with SMTP id 29so52226wwb.2
\r
21 for <notmuch@notmuchmail.org>; Mon, 08 Nov 2010 06:19:32 -0800 (PST)
\r
22 Received: by 10.227.152.71 with SMTP id f7mr5290604wbw.191.1289225971470;
\r
23 Mon, 08 Nov 2010 06:19:31 -0800 (PST)
\r
24 Received: from ut.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com
\r
26 by mx.google.com with ESMTPS id f14sm886283wbe.20.2010.11.08.06.19.29
\r
27 (version=TLSv1/SSLv3 cipher=RC4-MD5);
\r
28 Mon, 08 Nov 2010 06:19:30 -0800 (PST)
\r
29 Received: by ut.hh.sledj.net (Postfix, from userid 1000)
\r
30 id 3917659405B; Mon, 8 Nov 2010 14:18:26 +0000 (GMT)
\r
31 From: David Edmondson <dme@dme.org>
\r
32 To: notmuch@notmuchmail.org
\r
33 Subject: [PATCH] emacs: Use the header line to show the subject of the thread.
\r
34 Date: Mon, 8 Nov 2010 14:18:25 +0000
\r
35 Message-Id: <1289225905-1457-1-git-send-email-dme@dme.org>
\r
36 X-Mailer: git-send-email 1.7.2.3
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.13
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Mon, 08 Nov 2010 14:19:44 -0000
\r
53 This is particularly useful when paging through a long message.
\r
55 emacs/notmuch-show.el | 4 ++++
\r
56 1 files changed, 4 insertions(+), 0 deletions(-)
\r
58 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
59 index 08654f1..1046bf0 100644
\r
60 --- a/emacs/notmuch-show.el
\r
61 +++ b/emacs/notmuch-show.el
\r
62 @@ -576,6 +576,10 @@ function is used. "
\r
63 ;; Move straight to the first open message
\r
64 (if (not (notmuch-show-message-visible-p))
\r
65 (notmuch-show-next-open-message))
\r
67 + ;; Set the header line to the subject of the first open message.
\r
68 + (setq header-line-format (notmuch-show-strip-re (notmuch-show-get-subject)))
\r
70 (notmuch-show-mark-read)))
\r
72 (defvar notmuch-show-stash-map
\r