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
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
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
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
45 X-Gm-Message-State: AD7BkJLm1R3MGczWh60TvF1U/y6PXbMrgRJDGx8vhMcA/wzllKV/SybuSNFoLyDOI1kok0ykPvIEAHddyajQdQ==
\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
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
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
76 --001a113ed2ee42148d052d4b4513
\r
77 Content-Type: text/plain; charset=UTF-8
\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
83 On 5 Mar 2016 11:00 a.m., "Mark Walters" <markwalters1009@gmail.com> wrote:
\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
92 > > notmuch-search-line-faces '(("unread" :weight bold)
\r
93 > > ("flagged" :inherit
\r
94 > 'font-lock-string-face)))
\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
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
107 > How do you see this working?
\r
109 > (We probably could make the default depend on light or dark theme to make
\r
110 > the default more usable.)
\r
117 > > Sam Halliday <sam.halliday@gmail.com> writes:
\r
119 > >> [ text/plain ]
\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
126 > >> Could you please consider using faces instead of explicit colours?
\r
128 > >> [ text/plain ]
\r
133 > >> [ signature.asc: application/pgp-signature ]
\r
138 > > _______________________________________________
\r
139 > > notmuch mailing list
\r
140 > > notmuch@notmuchmail.org
\r
141 > > https://notmuchmail.org/mailman/listinfo/notmuch
\r
144 --001a113ed2ee42148d052d4b4513
\r
145 Content-Type: text/html; charset=UTF-8
\r
146 Content-Transfer-Encoding: quoted-printable
\r
148 <p dir=3D"ltr">That's a shame. Having light/dark alternatives are OK as=
\r
149 a workaround but it's a shame this can't just all be done with fac=
\r
150 es. I don'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., "Mark Walters&quo=
\r
153 t; <<a href=3D"mailto:markwalters1009@gmail.com">markwalters1009@gmail.c=
\r
154 om</a>> 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
159 On Sat, 05 Mar 2016, Sam Halliday <<a href=3D"mailto:sam.halliday@gmail.=
\r
160 com">sam.halliday@gmail.com</a>> wrote:<br>
\r
161 > I should say that I am aware of the workaround, e.g.<br>
\r
163 >=C2=A0 =C2=A0 =C2=A0(setq<br>
\r
164 >=C2=A0 =C2=A0 =C2=A0 =C2=A0notmuch-search-line-faces '(("unrea=
\r
165 d" :weight bold)<br>
\r
166 >=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("flagged"=
\r
168 :inherit 'font-lock-string-face)))<br>
\r
170 > but this must be applied per-user. If you removed this defcustom and h=
\r
172 > unread/flagged/other faces, then themes (such as darcula) would be abl=
\r
174 > to provide sensible defaults out of the box.<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 "work", and tagged "waiting")=
\r
180 . We could have<br>
\r
181 additional notmuch-search-line-unread-face which could then be=C2=A0 used i=
\r
183 the above -- but now the user has two places to customize the same thing.<b=
\r
186 How do you see this working?<br>
\r
188 (We probably could make the default depend on light or dark theme to make<b=
\r
190 the default more usable.)<br>
\r
197 > Sam Halliday <<a href=3D"mailto:sam.halliday@gmail.com">sam.hallida=
\r
198 y@gmail.com</a>> writes:<br>
\r
200 >> [ text/plain ]<br>
\r
203 >> I use a dark theme and many of the colour choices of notmuch colli=
\r
205 >> with my theme. However, notmuch is explicitly adding information s=
\r
207 >> "blue foreground" instead of using faces that I can cust=
\r
210 >> Could you please consider using faces instead of explicit colours?=
\r
213 >> [ text/plain ]<br>
\r
216 >> Best regards,<br>
\r
218 >> [ signature.asc: application/pgp-signature ]<br>
\r
221 > Best regards,<br>
\r
223 > _______________________________________________<br>
\r
224 > notmuch mailing list<br>
\r
225 > <a href=3D"mailto:notmuch@notmuchmail.org">notmuch@notmuchmail.org</a>=
\r
227 > <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
230 </blockquote></div>
\r
232 --001a113ed2ee42148d052d4b4513--
\r