Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 8a / bb0298f9103e0dc1aa7776bc249819d190d4cf
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 0039F40DBD5\r
6         for <notmuch@notmuchmail.org>; Tue, 16 Nov 2010 09:54:23 -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: -1.9\r
10 X-Spam-Level: \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 9IjxqwsBXQ25 for <notmuch@notmuchmail.org>;\r
16         Tue, 16 Nov 2010 09:54:12 -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 DB66A40DBC8       for\r
19  <notmuch@notmuchmail.org>; Tue, 16 Nov 2010 09:54:11 -0800 (PST)\r
20 Received: by wwb24 with SMTP id 24so471249wwb.2\r
21         for <notmuch@notmuchmail.org>; Tue, 16 Nov 2010 09:54:10 -0800 (PST)\r
22 Received: by 10.216.28.204 with SMTP id g54mr461352wea.73.1289930049446;\r
23         Tue, 16 Nov 2010 09:54:09 -0800 (PST)\r
24 Received: from ut.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com\r
25         [81.149.164.25])\r
26         by mx.google.com with ESMTPS id w84sm698391weq.44.2010.11.16.09.54.08\r
27         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
28         Tue, 16 Nov 2010 09:54:08 -0800 (PST)\r
29 Received: by ut.hh.sledj.net (Postfix, from userid 1000)\r
30         id AFDAF594058; Tue, 16 Nov 2010 17:51:39 +0000 (GMT)\r
31 From: David Edmondson <dme@dme.org>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH] emacs: Accommodate message-mode updates.\r
34 Date: Tue, 16 Nov 2010 17:51:38 +0000\r
35 Message-Id: <1289929898-16287-1-git-send-email-dme@dme.org>\r
36 X-Mailer: git-send-email 1.7.2.3\r
37 In-Reply-To:\r
38  <1288200417-6584-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>\r
39 References: <1288200417-6584-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>\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, 16 Nov 2010 17:54:23 -0000\r
53 \r
54 Message mode uses a different name for composition buffers in newer\r
55 versions of emacs. Allow for this when causing the composition window\r
56 to overlay the viewing window.\r
57 ---\r
58 \r
59 I don't understand why Aneesh chose to use `add-hook' and `purecopy'.\r
60 \r
61  emacs/notmuch-mua.el |    2 +-\r
62  1 files changed, 1 insertions(+), 1 deletions(-)\r
63 \r
64 diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el\r
65 index dc7b386..70c8dff 100644\r
66 --- a/emacs/notmuch-mua.el\r
67 +++ b/emacs/notmuch-mua.el\r
68 @@ -88,7 +88,7 @@ list."\r
69      (let\r
70         ;; Overlay the composition window on that being used to read\r
71         ;; the original message.\r
72 -       ((same-window-regexps '("\\*mail .*")))\r
73 +       ((same-window-regexps '("\\*mail .*" "\\*unsent mail .*")))\r
74        (notmuch-mua-mail (mail-header 'to headers)\r
75                         (mail-header 'subject headers)\r
76                         (message-headers-to-generate headers t '(to subject))))\r
77 -- \r
78 1.7.2.3\r
79 \r