Re:
[notmuch-archives.git] / ce / 8a11ace4d325f3ecaf0c9019960870c5dbea69
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 C6448431FB6\r
6         for <notmuch@notmuchmail.org>; Mon, 17 Dec 2012 08:26:59 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 xaQU3dY4yPfB for <notmuch@notmuchmail.org>;\r
16         Mon, 17 Dec 2012 08:26:59 -0800 (PST)\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 524D5431FAE\r
19         for <notmuch@notmuchmail.org>; Mon, 17 Dec 2012 08:26:59 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 053A6100094;\r
22         Mon, 17 Dec 2012 18:26:53 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH] contrib: pick: Do not indent messages in the message pane\r
26 In-Reply-To: <1355085019-18534-1-git-send-email-markwalters1009@gmail.com>\r
27 References: <1355085019-18534-1-git-send-email-markwalters1009@gmail.com>\r
28 User-Agent: Notmuch/0.14+116~g29fcdb5 (http://notmuchmail.org) Emacs/24.2.1\r
29         (x86_64-unknown-linux-gnu)\r
30 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
31         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
32         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
33 Date: Mon, 17 Dec 2012 18:26:53 +0200\r
34 Message-ID: <m21ueoir02.fsf@guru.guru-group.fi>\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\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, 17 Dec 2012 16:27:00 -0000\r
50 \r
51 On Sun, Dec 09 2012, Mark Walters wrote:\r
52 \r
53 > Currently pick just uses notmuch-show to display messages in the\r
54 > message pane: this means that they get indented just as show\r
55 > would. However, since pick is only displaying one message at a time\r
56 > there is no need to indent so override the indentation.\r
57 > ---\r
58 \r
59 LGTM.\r
60 \r
61 Tomi\r
62 \r
63 >\r
64 > Thanks to jrollins for the suggestion. It would also be possible to\r
65 > indent the headers (as a visual clue to how deep we are in the thread)\r
66 > or to make this customisable. However there is no point in doing that\r
67 > unless someone says they would prefer something else.\r
68 >\r
69 > Best wishes\r
70 >\r
71 > Mark\r
72 >\r
73 >\r
74 >\r
75 >  contrib/notmuch-pick/notmuch-pick.el |    6 ++++--\r
76 >  1 files changed, 4 insertions(+), 2 deletions(-)\r
77 >\r
78 > diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el\r
79 > index cf026af..ce5d0d4 100644\r
80 > --- a/contrib/notmuch-pick/notmuch-pick.el\r
81 > +++ b/contrib/notmuch-pick/notmuch-pick.el\r
82 > @@ -337,8 +337,10 @@ Does NOT change the database."\r
83 >        (setq notmuch-pick-message-window\r
84 >           (split-window-vertically (/ (window-height) 4)))\r
85 >        (with-selected-window notmuch-pick-message-window\r
86 > -     (setq current-prefix-arg '(4))\r
87 > -     (setq buffer (notmuch-show id nil nil nil)))\r
88 > +     ;; Since we are only displaying one message do not indent.\r
89 > +     (let ((notmuch-show-indent-messages-width 0))\r
90 > +       (setq current-prefix-arg '(4))\r
91 > +       (setq buffer (notmuch-show id nil nil nil))))\r
92 >        (notmuch-pick-tag-update-display (list "-unread"))\r
93 >        (setq notmuch-pick-message-buffer buffer))))\r
94 >  \r
95 > -- \r
96 > 1.7.9.1\r
97 >\r
98 > _______________________________________________\r
99 > notmuch mailing list\r
100 > notmuch@notmuchmail.org\r
101 > http://notmuchmail.org/mailman/listinfo/notmuch\r