Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / c4 / 385d6ea88258a50cbed59b0dc80a81ff059b63
1 Return-Path: <markwalters1009@gmail.com>\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 935E3431FBC\r
6         for <notmuch@notmuchmail.org>; Sun,  9 Dec 2012 12:30:22 -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.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id xacGqRvi004L for <notmuch@notmuchmail.org>;\r
18         Sun,  9 Dec 2012 12:30:22 -0800 (PST)\r
19 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
20         [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 00832431FB6\r
23         for <notmuch@notmuchmail.org>; Sun,  9 Dec 2012 12:30:21 -0800 (PST)\r
24 Received: by mail-we0-f181.google.com with SMTP id t11so1056296wey.26\r
25         for <notmuch@notmuchmail.org>; Sun, 09 Dec 2012 12:30:20 -0800 (PST)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer;\r
28         bh=/O+kS8FWSr3r8Rjw2GTfrbAbDYVVuRjf3yG9P6eNFew=;\r
29         b=QJxPZYNVfPvMsewdT7LJoqgglgo/ga454BvXIVWdGJmqJKN2r8iqt5V7m5my1QrQul\r
30         g9BQnGOlOmt/it7OmQ9QqmV2xFoohpJ8zy5WW7rGgbnqHzWP5lnuxpSHoAKpLudb9Psm\r
31         TKvtMwtlBS7QYYcnJMGR2OkoCzZloJzuQT58wJLX/zHL3iGdrc/tnR6LIg+oaxksBGkj\r
32         3PMhm9wFApcMEOsiybaMXceEQ+XWySOrFl4fld21y0RK/oclSMpK2zmwoAfoRWaw1jsE\r
33         0MKwNu2LoKEWPon50/xQCADthlcNwhLQliX3mw1JBq+UozKZcIrmD7r8zd6HVkzcjfkx\r
34         y0jQ==\r
35 Received: by 10.180.20.177 with SMTP id o17mr7499597wie.18.1355085020862;\r
36         Sun, 09 Dec 2012 12:30:20 -0800 (PST)\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
38         by mx.google.com with ESMTPS id y3sm7398862wix.6.2012.12.09.12.30.19\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Sun, 09 Dec 2012 12:30:19 -0800 (PST)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH] contrib: pick: Do not indent messages in the message pane\r
44 Date: Sun,  9 Dec 2012 20:30:19 +0000\r
45 Message-Id: <1355085019-18534-1-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Sun, 09 Dec 2012 20:30:22 -0000\r
60 \r
61 Currently pick just uses notmuch-show to display messages in the\r
62 message pane: this means that they get indented just as show\r
63 would. However, since pick is only displaying one message at a time\r
64 there is no need to indent so override the indentation.\r
65 ---\r
66 \r
67 Thanks to jrollins for the suggestion. It would also be possible to\r
68 indent the headers (as a visual clue to how deep we are in the thread)\r
69 or to make this customisable. However there is no point in doing that\r
70 unless someone says they would prefer something else.\r
71 \r
72 Best wishes\r
73 \r
74 Mark\r
75 \r
76 \r
77 \r
78  contrib/notmuch-pick/notmuch-pick.el |    6 ++++--\r
79  1 files changed, 4 insertions(+), 2 deletions(-)\r
80 \r
81 diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el\r
82 index cf026af..ce5d0d4 100644\r
83 --- a/contrib/notmuch-pick/notmuch-pick.el\r
84 +++ b/contrib/notmuch-pick/notmuch-pick.el\r
85 @@ -337,8 +337,10 @@ Does NOT change the database."\r
86        (setq notmuch-pick-message-window\r
87             (split-window-vertically (/ (window-height) 4)))\r
88        (with-selected-window notmuch-pick-message-window\r
89 -       (setq current-prefix-arg '(4))\r
90 -       (setq buffer (notmuch-show id nil nil nil)))\r
91 +       ;; Since we are only displaying one message do not indent.\r
92 +       (let ((notmuch-show-indent-messages-width 0))\r
93 +         (setq current-prefix-arg '(4))\r
94 +         (setq buffer (notmuch-show id nil nil nil))))\r
95        (notmuch-pick-tag-update-display (list "-unread"))\r
96        (setq notmuch-pick-message-buffer buffer))))\r
97  \r
98 -- \r
99 1.7.9.1\r
100 \r