[PATCH v2 14/14] cli/reply: only pass gmime message to add recipients to reply message
[notmuch-archives.git] / c5 / 5a8035014471f52165f5222d9332359e8ac4a7
1 Return-Path: <sam.halliday@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 arlo.cworth.org (Postfix) with ESMTP id 0A7AD6DE11EC\r
6  for <notmuch@notmuchmail.org>; Sat,  5 Mar 2016 03:09:56 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.01 tagged_above=-999 required=5\r
12  tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7,\r
14  RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001] autolearn=disabled\r
15 Received: from arlo.cworth.org ([127.0.0.1])\r
16  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
17  with ESMTP id C-7VoHa7zIzi for <notmuch@notmuchmail.org>;\r
18  Sat,  5 Mar 2016 03:09:53 -0800 (PST)\r
19 Received: from mail-io0-f174.google.com (mail-io0-f174.google.com\r
20  [209.85.223.174])\r
21  by arlo.cworth.org (Postfix) with ESMTPS id 552A96DE1003\r
22  for <notmuch@notmuchmail.org>; Sat,  5 Mar 2016 03:09:53 -0800 (PST)\r
23 Received: by mail-io0-f174.google.com with SMTP id l127so87885148iof.3\r
24  for <notmuch@notmuchmail.org>; Sat, 05 Mar 2016 03:09:53 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26  h=mime-version:in-reply-to:references:date:message-id:subject:from:to\r
27  :cc; bh=pEUufX+qPgK4gq/qKOzp7VNH57/7prTS2Jc5oYWfvEs=;\r
28  b=jr34ulQWwDvNV+Ep/maUbigO1+2BdOvfh+Y5eQEbv1kkqBd55ucfkEQcsddZacHIgw\r
29  a2ZRHK3MhTPV735R5lZ5ZiG9FzEjKRCW45cGFXaQAn14zp7x1GALyKUVvxmYa2+Ikq2t\r
30  63loRiN4k8+Gulei+SrqqeW3Bbost+p3EZ2c2q/Es5b6HNbJ7/J5+yzV/13/ZeCJfSzg\r
31  NvgkRajiwXspDvIypPtob0t7G4pUZe04vy+Y4IuykMKI1jPE49H98TprhloctiuM0m2F\r
32  lyYzsuoDGTTi4CLGfrR6vnWpbbqSjkfi+XsdwmJ84WH2b88S2suv3btb3GhznxiKZ8YI\r
33  8mPA==\r
34 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
35  d=1e100.net; s=20130820;\r
36  h=x-gm-message-state:mime-version:in-reply-to:references:date\r
37  :message-id:subject:from:to:cc;\r
38  bh=pEUufX+qPgK4gq/qKOzp7VNH57/7prTS2Jc5oYWfvEs=;\r
39  b=UDyF4MFcjCRg9Y6H/sXZav3PcgFBoiPItkOUsHnwGoVFCWzNU9SUoUuySHZ7f7wMCr\r
40  WgEZ4Fkq2KKhqfcGs9X6JXVct4odE1iXhkrxAt0eSS8JGs6wVdVZ9iEwS3WyZ1PzXDAH\r
41  RLTKbTacGhtjLQvClT/oyfKJLAbh1Ip5xkrb9eAktWoSH78bBfkhcostup1dI5t0NsAY\r
42  Y2D5hNw8V5OmBXhaWYnYPU84QNIQpp8GYClJPLQllRGGFu51rfWEcEp68aV0Df1rAcLF\r
43  VZXHTmzCkNsrqZb6YDDy6XxlSunUuRAUrVIyKngWDuCDspvuZsgBqYvc3LKQHInYkjdC\r
44  iiMA==\r
45 X-Gm-Message-State: AD7BkJLm1R3MGczWh60TvF1U/y6PXbMrgRJDGx8vhMcA/wzllKV/SybuSNFoLyDOI1kok0ykPvIEAHddyajQdQ==\r
46 MIME-Version: 1.0\r
47 X-Received: by 10.107.136.79 with SMTP id k76mr12929288iod.50.1457176191306;\r
48  Sat, 05 Mar 2016 03:09:51 -0800 (PST)\r
49 Received: by 10.107.6.197 with HTTP; Sat, 5 Mar 2016 03:09:51 -0800 (PST)\r
50 Received: by 10.107.6.197 with HTTP; Sat, 5 Mar 2016 03:09:51 -0800 (PST)\r
51 In-Reply-To: <87h9glb367.fsf@qmul.ac.uk>\r
52 References: <87mvqdmer2.fsf@gmail.com> <87k2lhmecn.fsf@gmail.com>\r
53  <87h9glb367.fsf@qmul.ac.uk>\r
54 Date: Sat, 5 Mar 2016 11:09:51 +0000\r
55 Message-ID:\r
56  <CALR_T9CPMKq+9pC9HnKpOiOVnK8DrC33qVF1B8QSctYnSJQ63w@mail.gmail.com>\r
57 Subject: Re: use font-face instead of explicit colouring\r
58 From: Sam Halliday <sam.halliday@gmail.com>\r
59 To: Mark Walters <markwalters1009@gmail.com>\r
60 Cc: notmuch@notmuchmail.org\r
61 Content-Type: multipart/alternative; boundary=001a113ed2ee42148d052d4b4513\r
62 X-BeenThere: notmuch@notmuchmail.org\r
63 X-Mailman-Version: 2.1.20\r
64 Precedence: list\r
65 List-Id: "Use and development of the notmuch mail system."\r
66  <notmuch.notmuchmail.org>\r
67 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
68  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
69 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
70 List-Post: <mailto:notmuch@notmuchmail.org>\r
71 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
72 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
73  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
74 X-List-Received-Date: Sat, 05 Mar 2016 11:09:56 -0000\r
75 \r
76 --001a113ed2ee42148d052d4b4513\r
77 Content-Type: text/plain; charset=UTF-8\r
78 \r
79 That's a shame. Having light/dark alternatives are OK as a workaround but\r
80 it's a shame this can't just all be done with faces. I don't see why there\r
81 needs to be a string to face lookup map, why not just put the string in the\r
82 face name?\r
83 On 5 Mar 2016 11:00 a.m., "Mark Walters" <markwalters1009@gmail.com> wrote:\r
84 \r
85 >\r
86 > Hi\r
87 >\r
88 > On Sat, 05 Mar 2016, Sam Halliday <sam.halliday@gmail.com> wrote:\r
89 > > I should say that I am aware of the workaround, e.g.\r
90 > >\r
91 > >     (setq\r
92 > >       notmuch-search-line-faces '(("unread" :weight bold)\r
93 > >                                   ("flagged" :inherit\r
94 > 'font-lock-string-face)))\r
95 > >\r
96 > > but this must be applied per-user. If you removed this defcustom and had\r
97 > > unread/flagged/other faces, then themes (such as darcula) would be able\r
98 > > to provide sensible defaults out of the box.\r
99 >\r
100 > I am not sure I see how this would work without cluttering up the\r
101 > customize options significantly. The notmuch-search-line-faces allows\r
102 > selecting the face based on any tag (so for example I use different\r
103 > colours for emails tagged "work", and tagged "waiting"). We could have\r
104 > additional notmuch-search-line-unread-face which could then be  used in\r
105 > the above -- but now the user has two places to customize the same thing.\r
106 >\r
107 > How do you see this working?\r
108 >\r
109 > (We probably could make the default depend on light or dark theme to make\r
110 > the default more usable.)\r
111 >\r
112 > Best wishes\r
113 >\r
114 > Mark\r
115 >\r
116 > >\r
117 > > Sam Halliday <sam.halliday@gmail.com> writes:\r
118 > >\r
119 > >> [ text/plain ]\r
120 > >> Hi,\r
121 > >>\r
122 > >> I use a dark theme and many of the colour choices of notmuch collide\r
123 > >> with my theme. However, notmuch is explicitly adding information such as\r
124 > >> "blue foreground" instead of using faces that I can customise.\r
125 > >>\r
126 > >> Could you please consider using faces instead of explicit colours?\r
127 > >>\r
128 > >> [ text/plain ]\r
129 > >>\r
130 > >> --\r
131 > >> Best regards,\r
132 > >> Sam\r
133 > >> [ signature.asc: application/pgp-signature ]\r
134 > >\r
135 > > --\r
136 > > Best regards,\r
137 > > Sam\r
138 > > _______________________________________________\r
139 > > notmuch mailing list\r
140 > > notmuch@notmuchmail.org\r
141 > > https://notmuchmail.org/mailman/listinfo/notmuch\r
142 >\r
143 \r
144 --001a113ed2ee42148d052d4b4513\r
145 Content-Type: text/html; charset=UTF-8\r
146 Content-Transfer-Encoding: quoted-printable\r
147 \r
148 <p dir=3D"ltr">That&#39;s a shame. Having light/dark alternatives are OK as=\r
149  a workaround but it&#39;s a shame this can&#39;t just all be done with fac=\r
150 es. I don&#39;t see why there needs to be a string to face lookup map, why =\r
151 not just put the string in the face name?</p>\r
152 <div class=3D"gmail_quote">On 5 Mar 2016 11:00 a.m., &quot;Mark Walters&quo=\r
153 t; &lt;<a href=3D"mailto:markwalters1009@gmail.com">markwalters1009@gmail.c=\r
154 om</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote"=\r
155  style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><b=\r
156 r>\r
157 Hi<br>\r
158 <br>\r
159 On Sat, 05 Mar 2016, Sam Halliday &lt;<a href=3D"mailto:sam.halliday@gmail.=\r
160 com">sam.halliday@gmail.com</a>&gt; wrote:<br>\r
161 &gt; I should say that I am aware of the workaround, e.g.<br>\r
162 &gt;<br>\r
163 &gt;=C2=A0 =C2=A0 =C2=A0(setq<br>\r
164 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0notmuch-search-line-faces &#39;((&quot;unrea=\r
165 d&quot; :weight bold)<br>\r
166 &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =\r
167 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(&quot;flagged&quot;=\r
168  :inherit &#39;font-lock-string-face)))<br>\r
169 &gt;<br>\r
170 &gt; but this must be applied per-user. If you removed this defcustom and h=\r
171 ad<br>\r
172 &gt; unread/flagged/other faces, then themes (such as darcula) would be abl=\r
173 e<br>\r
174 &gt; to provide sensible defaults out of the box.<br>\r
175 <br>\r
176 I am not sure I see how this would work without cluttering up the<br>\r
177 customize options significantly. The notmuch-search-line-faces allows<br>\r
178 selecting the face based on any tag (so for example I use different<br>\r
179 colours for emails tagged &quot;work&quot;, and tagged &quot;waiting&quot;)=\r
180 . We could have<br>\r
181 additional notmuch-search-line-unread-face which could then be=C2=A0 used i=\r
182 n<br>\r
183 the above -- but now the user has two places to customize the same thing.<b=\r
184 r>\r
185 <br>\r
186 How do you see this working?<br>\r
187 <br>\r
188 (We probably could make the default depend on light or dark theme to make<b=\r
189 r>\r
190 the default more usable.)<br>\r
191 <br>\r
192 Best wishes<br>\r
193 <br>\r
194 Mark<br>\r
195 <br>\r
196 &gt;<br>\r
197 &gt; Sam Halliday &lt;<a href=3D"mailto:sam.halliday@gmail.com">sam.hallida=\r
198 y@gmail.com</a>&gt; writes:<br>\r
199 &gt;<br>\r
200 &gt;&gt; [ text/plain ]<br>\r
201 &gt;&gt; Hi,<br>\r
202 &gt;&gt;<br>\r
203 &gt;&gt; I use a dark theme and many of the colour choices of notmuch colli=\r
204 de<br>\r
205 &gt;&gt; with my theme. However, notmuch is explicitly adding information s=\r
206 uch as<br>\r
207 &gt;&gt; &quot;blue foreground&quot; instead of using faces that I can cust=\r
208 omise.<br>\r
209 &gt;&gt;<br>\r
210 &gt;&gt; Could you please consider using faces instead of explicit colours?=\r
211 <br>\r
212 &gt;&gt;<br>\r
213 &gt;&gt; [ text/plain ]<br>\r
214 &gt;&gt;<br>\r
215 &gt;&gt; --<br>\r
216 &gt;&gt; Best regards,<br>\r
217 &gt;&gt; Sam<br>\r
218 &gt;&gt; [ signature.asc: application/pgp-signature ]<br>\r
219 &gt;<br>\r
220 &gt; --<br>\r
221 &gt; Best regards,<br>\r
222 &gt; Sam<br>\r
223 &gt; _______________________________________________<br>\r
224 &gt; notmuch mailing list<br>\r
225 &gt; <a href=3D"mailto:notmuch@notmuchmail.org">notmuch@notmuchmail.org</a>=\r
226 <br>\r
227 &gt; <a href=3D"https://notmuchmail.org/mailman/listinfo/notmuch" rel=3D"no=\r
228 referrer" target=3D"_blank">https://notmuchmail.org/mailman/listinfo/notmuc=\r
229 h</a><br>\r
230 </blockquote></div>\r
231 \r
232 --001a113ed2ee42148d052d4b4513--\r