Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / a6 / dc6d31a17f7cf4ef1148baa97fd1fc1392658b
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 arlo.cworth.org (Postfix) with ESMTP id 4849A6DE11EC\r
6  for <notmuch@notmuchmail.org>; Sat,  5 Mar 2016 03:27:00 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.297\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.297 tagged_above=-999 required=5 tests=[AWL=0.273,\r
12   DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,\r
14  RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]\r
15  autolearn=disabled\r
16 Received: from arlo.cworth.org ([127.0.0.1])\r
17  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
18  with ESMTP id mfb5xdiiJ6Ix for <notmuch@notmuchmail.org>;\r
19  Sat,  5 Mar 2016 03:26:58 -0800 (PST)\r
20 Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com\r
21  [74.125.82.41]) by arlo.cworth.org (Postfix) with ESMTPS id 920136DE1003 for\r
22  <notmuch@notmuchmail.org>; Sat,  5 Mar 2016 03:26:57 -0800 (PST)\r
23 Received: by mail-wm0-f41.google.com with SMTP id n186so23841909wmn.1\r
24  for <notmuch@notmuchmail.org>; Sat, 05 Mar 2016 03:26:57 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26  h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
27  :message-id:mime-version;\r
28  bh=Jwo2sOZKHvGxhypIl2MVmVvVMNuLXPPeeoPsWHluoKU=;\r
29  b=lg3c2pSVesnz44SX8LsahiGT9SuBbUHGGpBrZpIZxWCTGRsQ9Lr4X7KcTWS1zVjjX6\r
30  rX/lJEVlKAMrB1a9JUUPyqdX+SXebVkoyb8yn5Ke7yltf6c3jTlReDAYnrpNk4VPHIKP\r
31  VoDAe929vhVZfYJnOSqLKuCK+WR2D2Sf+2NjGsNQl5KvbpN9sliUNaXBVBKp8Ck5ZOV9\r
32  msZveSDcDKKAug44+wOXZLFYwZyA9z/1TwhMjOoTd+8y+yFuk/lhAotoCPI2jN9Nr/sP\r
33  S+/3Frad5j3hWZJoHBvPwS6miLG8txXLD2yh6kmJv2WCrtm2H3vfITXNSEc+eRD4NdxM\r
34  OjyQ==\r
35 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
36  d=1e100.net; s=20130820;\r
37  h=x-gm-message-state:from:to:cc:subject:in-reply-to:references\r
38  :user-agent:date:message-id:mime-version;\r
39  bh=Jwo2sOZKHvGxhypIl2MVmVvVMNuLXPPeeoPsWHluoKU=;\r
40  b=jCLSvP4TrC/elynJjqfZ+p9y6Loezt2+04LEKigbB6fXHbfJGl1cFDNnQD5Jxa9eL6\r
41  jHf3tfVHTc33ilwHmjbnMuxNoIR9dWuGvPGLaa9JI7PJ8DcK3iOmZm6EclAvra4Xf0ss\r
42  Ho3D8XMWB6uYgxGPISXz+/K9TzcnTYgSOUIeFfefokMwbXC4hr7MRMwUeCXI19ckeVyb\r
43  Ix7nmGRP+yOIxgSAwp3AjGSJIUNl4nyk2FqsmnmqjJdgLJW3k4mPLkia4/+UktKZXKvN\r
44  WjBKpV70NR0mv1uOr0pRm4fmYnVAtfXmlgpqbcesGeedn8GuZFJLdKmhOfkw/hJNCdnC\r
45  aqig==\r
46 X-Gm-Message-State:\r
47  AD7BkJL3fK944fLljw7Qxama9rvbgoBM2eNFvjiENVbXryNdCRxrX+gUqNkNmMi8BP0yGw==\r
48 X-Received: by 10.194.216.2 with SMTP id om2mr13262812wjc.164.1457177216238;\r
49  Sat, 05 Mar 2016 03:26:56 -0800 (PST)\r
50 Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
51  by smtp.gmail.com with ESMTPSA id gg7sm7751075wjd.10.2016.03.05.03.26.55\r
52  (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
53  Sat, 05 Mar 2016 03:26:55 -0800 (PST)\r
54 From: Mark Walters <markwalters1009@gmail.com>\r
55 To: Sam Halliday <sam.halliday@gmail.com>\r
56 Cc: notmuch@notmuchmail.org\r
57 Subject: Re: use font-face instead of explicit colouring\r
58 In-Reply-To:\r
59  <CALR_T9CPMKq+9pC9HnKpOiOVnK8DrC33qVF1B8QSctYnSJQ63w@mail.gmail.com>\r
60 References: <87mvqdmer2.fsf@gmail.com> <87k2lhmecn.fsf@gmail.com>\r
61  <87h9glb367.fsf@qmul.ac.uk>\r
62  <CALR_T9CPMKq+9pC9HnKpOiOVnK8DrC33qVF1B8QSctYnSJQ63w@mail.gmail.com>\r
63 User-Agent: Notmuch/0.18.1+485~gca076ce (http://notmuchmail.org) Emacs/24.4.1\r
64  (x86_64-pc-linux-gnu)\r
65 Date: Sat, 05 Mar 2016 11:26:54 +0000\r
66 Message-ID: <87egbpb1xd.fsf@qmul.ac.uk>\r
67 MIME-Version: 1.0\r
68 Content-Type: text/plain\r
69 X-BeenThere: notmuch@notmuchmail.org\r
70 X-Mailman-Version: 2.1.20\r
71 Precedence: list\r
72 List-Id: "Use and development of the notmuch mail system."\r
73  <notmuch.notmuchmail.org>\r
74 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
75  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
76 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
77 List-Post: <mailto:notmuch@notmuchmail.org>\r
78 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
79 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
80  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
81 X-List-Received-Date: Sat, 05 Mar 2016 11:27:00 -0000\r
82 \r
83 \r
84 Hi\r
85 \r
86 On Sat, 05 Mar 2016, Sam Halliday <sam.halliday@gmail.com> wrote:\r
87 > That's a shame. Having light/dark alternatives are OK as a workaround but\r
88 > it's a shame this can't just all be done with faces. I don't see why there\r
89 > needs to be a string to face lookup map, why not just put the string in the\r
90 > face name?\r
91 \r
92 If you did that how would you let a user customize it (I mean as a\r
93 defcustom, rather than setq in .emacs)? There is also a possible\r
94 question of dealing with tags with weird characters (eg spaces or\r
95 worse), so some form of quoting would be needed.\r
96 \r
97 It's not something I have interest in implementing, but I would be happy\r
98 to review patches doing this. Dme might also have some comments -- he\r
99 had a complete rewrite of  the code dealing with the search format.\r
100 \r
101 Best wishes\r
102 \r
103 Mark\r
104 \r
105 \r
106 \r
107 \r
108 \r
109 > On 5 Mar 2016 11:00 a.m., "Mark Walters" <markwalters1009@gmail.com> wrote:\r
110 >\r
111 >>\r
112 >> Hi\r
113 >>\r
114 >> On Sat, 05 Mar 2016, Sam Halliday <sam.halliday@gmail.com> wrote:\r
115 >> > I should say that I am aware of the workaround, e.g.\r
116 >> >\r
117 >> >     (setq\r
118 >> >       notmuch-search-line-faces '(("unread" :weight bold)\r
119 >> >                                   ("flagged" :inherit\r
120 >> 'font-lock-string-face)))\r
121 >> >\r
122 >> > but this must be applied per-user. If you removed this defcustom and had\r
123 >> > unread/flagged/other faces, then themes (such as darcula) would be able\r
124 >> > to provide sensible defaults out of the box.\r
125 >>\r
126 >> I am not sure I see how this would work without cluttering up the\r
127 >> customize options significantly. The notmuch-search-line-faces allows\r
128 >> selecting the face based on any tag (so for example I use different\r
129 >> colours for emails tagged "work", and tagged "waiting"). We could have\r
130 >> additional notmuch-search-line-unread-face which could then be  used in\r
131 >> the above -- but now the user has two places to customize the same thing.\r
132 >>\r
133 >> How do you see this working?\r
134 >>\r
135 >> (We probably could make the default depend on light or dark theme to make\r
136 >> the default more usable.)\r
137 >>\r
138 >> Best wishes\r
139 >>\r
140 >> Mark\r
141 >>\r
142 >> >\r
143 >> > Sam Halliday <sam.halliday@gmail.com> writes:\r
144 >> >\r
145 >> >> [ text/plain ]\r
146 >> >> Hi,\r
147 >> >>\r
148 >> >> I use a dark theme and many of the colour choices of notmuch collide\r
149 >> >> with my theme. However, notmuch is explicitly adding information such as\r
150 >> >> "blue foreground" instead of using faces that I can customise.\r
151 >> >>\r
152 >> >> Could you please consider using faces instead of explicit colours?\r
153 >> >>\r
154 >> >> [ text/plain ]\r
155 >> >>\r
156 >> >> --\r
157 >> >> Best regards,\r
158 >> >> Sam\r
159 >> >> [ signature.asc: application/pgp-signature ]\r
160 >> >\r
161 >> > --\r
162 >> > Best regards,\r
163 >> > Sam\r
164 >> > _______________________________________________\r
165 >> > notmuch mailing list\r
166 >> > notmuch@notmuchmail.org\r
167 >> > https://notmuchmail.org/mailman/listinfo/notmuch\r
168 >>\r