Re: use font-face instead of explicit colouring
authorMark Walters <markwalters1009@gmail.com>
Sat, 5 Mar 2016 11:00:00 +0000 (11:00 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:14 +0000 (16:21 -0700)
6b/8215af177ee052c906d56a98b54957fe2603a7 [new file with mode: 0644]

diff --git a/6b/8215af177ee052c906d56a98b54957fe2603a7 b/6b/8215af177ee052c906d56a98b54957fe2603a7
new file mode 100644 (file)
index 0000000..191a44a
--- /dev/null
@@ -0,0 +1,133 @@
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id BB3AC6DE11EC\r
+ for <notmuch@notmuchmail.org>; Sat,  5 Mar 2016 03:00:06 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.295\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.295 tagged_above=-999 required=5 tests=[AWL=0.275,\r
+  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,\r
+ RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id m_ZKWMIz6IiQ for <notmuch@notmuchmail.org>;\r
+ Sat,  5 Mar 2016 03:00:04 -0800 (PST)\r
+Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com\r
+ [74.125.82.43]) by arlo.cworth.org (Postfix) with ESMTPS id A84236DE1003 for\r
+ <notmuch@notmuchmail.org>; Sat,  5 Mar 2016 03:00:03 -0800 (PST)\r
+Received: by mail-wm0-f43.google.com with SMTP id l68so23395927wml.0\r
+ for <notmuch@notmuchmail.org>; Sat, 05 Mar 2016 03:00:03 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+ :mime-version; bh=G+3WKg3RbQVvALmO/RqUDmEznABjm9Prx9xiy1aoO+M=;\r
+ b=rQqg7d5YsIP1dN9SLWPQIy5wJmFTwPMPCKylKzxTmfobrShwmDIKIuNGp+WJHFkj2i\r
+ sGVXX9roSWn19hZOXi2iGW5PPgdsx8LycQShziJK3BC8ZKuXaPi5OMqO/zdGzQ1ZtNLx\r
+ VlJYUX1DgmN0EEWojQ4MRbfEqG/DRLKjsEg93EICfgxEO/GYI/cB3vsVjxfaDUfF6ifO\r
+ tHRVchBu43HXzkmeS6fhQY/mTiC8uNiN9MPf6KjrjDUxYI2iWQTAWhlWKXOlnbjo+FPV\r
+ r0dfvDkDwiJUTpJ2vRLIdwFx1x1qMKZI1HUlyE8QtUPtNc4SsimB6xqBNwxli2djho13\r
+ i6YQ==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:in-reply-to:references\r
+ :user-agent:date:message-id:mime-version;\r
+ bh=G+3WKg3RbQVvALmO/RqUDmEznABjm9Prx9xiy1aoO+M=;\r
+ b=SdE610WxdE+XCw3AxfOdBfSwbMgntR183fhR7cxJWV6GhFAJm54QYHRiuDOZ3LZtJp\r
+ QDyqBN7RTg9d3oHPZn3qi8FZ4LohdApcoaBD1aOs0Vs6DMSBkdjfDp4QJIXBRfF+GFT+\r
+ 15sxUgjPc9VXQddIt4UP5rXfa7JCP3ioqRqaORKYhHDzHo8RFAQrTgGFTWiAYG6spTpx\r
+ FWFjeO4AMdYeeFff19qMBaCW186Lh7ezl7Kb77OZMAmndOku9uv/oUMn+RtRZwE5egi+\r
+ Nz+WWfCthCSrB04F787Bs7wT556wMB+IFBTgqvAEEnBDUg5GLlKesWiNzncfKwmTVhXv\r
+ 93pQ==\r
+X-Gm-Message-State:\r
+ AD7BkJLrMazz89eWNcj5la7nScB4RgFvkgN9z/gdjF6JVG611lfW7mnFBusWP8IJM/mGEg==\r
+X-Received: by 10.28.111.135 with SMTP id c7mr3566771wmi.46.1457175601930;\r
+ Sat, 05 Mar 2016 03:00:01 -0800 (PST)\r
+Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
+ by smtp.gmail.com with ESMTPSA id 198sm3332325wml.22.2016.03.05.03.00.00\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sat, 05 Mar 2016 03:00:01 -0800 (PST)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: Sam Halliday <sam.halliday@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: use font-face instead of explicit colouring\r
+In-Reply-To: <87k2lhmecn.fsf@gmail.com>\r
+References: <87mvqdmer2.fsf@gmail.com> <87k2lhmecn.fsf@gmail.com>\r
+User-Agent: Notmuch/0.18.1+485~gca076ce (http://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sat, 05 Mar 2016 11:00:00 +0000\r
+Message-ID: <87h9glb367.fsf@qmul.ac.uk>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 05 Mar 2016 11:00:06 -0000\r
+\r
+\r
+Hi\r
+\r
+On Sat, 05 Mar 2016, Sam Halliday <sam.halliday@gmail.com> wrote:\r
+> I should say that I am aware of the workaround, e.g.\r
+>\r
+>     (setq\r
+>       notmuch-search-line-faces '(("unread" :weight bold)\r
+>                                   ("flagged" :inherit 'font-lock-string-face)))\r
+>\r
+> but this must be applied per-user. If you removed this defcustom and had\r
+> unread/flagged/other faces, then themes (such as darcula) would be able\r
+> to provide sensible defaults out of the box.\r
+\r
+I am not sure I see how this would work without cluttering up the\r
+customize options significantly. The notmuch-search-line-faces allows\r
+selecting the face based on any tag (so for example I use different\r
+colours for emails tagged "work", and tagged "waiting"). We could have\r
+additional notmuch-search-line-unread-face which could then be  used in\r
+the above -- but now the user has two places to customize the same thing.\r
+\r
+How do you see this working?\r
+\r
+(We probably could make the default depend on light or dark theme to make\r
+the default more usable.)\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+>\r
+> Sam Halliday <sam.halliday@gmail.com> writes:\r
+>\r
+>> [ text/plain ]\r
+>> Hi,\r
+>>\r
+>> I use a dark theme and many of the colour choices of notmuch collide\r
+>> with my theme. However, notmuch is explicitly adding information such as\r
+>> "blue foreground" instead of using faces that I can customise.\r
+>>\r
+>> Could you please consider using faces instead of explicit colours?\r
+>>\r
+>> [ text/plain ]\r
+>>\r
+>> -- \r
+>> Best regards,\r
+>> Sam\r
+>> [ signature.asc: application/pgp-signature ]\r
+>\r
+> -- \r
+> Best regards,\r
+> Sam\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> https://notmuchmail.org/mailman/listinfo/notmuch\r