From: Sam Halliday Date: Sat, 5 Mar 2016 10:03:04 +0000 (+0000) Subject: Re: use font-face instead of explicit colouring X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e9393ed957e0a63303d3a5058004dd995f57c18;p=notmuch-archives.git Re: use font-face instead of explicit colouring --- diff --git a/cd/1abe4ce932add7a75b0291a7ba6546d97abc5c b/cd/1abe4ce932add7a75b0291a7ba6546d97abc5c new file mode 100644 index 000000000..94c2d97bc --- /dev/null +++ b/cd/1abe4ce932add7a75b0291a7ba6546d97abc5c @@ -0,0 +1,134 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 746966DE11EC + for ; Sat, 5 Mar 2016 02:03:11 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.618 +X-Spam-Level: +X-Spam-Status: No, score=-0.618 tagged_above=-999 required=5 tests=[AWL=0.202, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, + SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id ZRegrDQ3oB_S for ; + Sat, 5 Mar 2016 02:03:09 -0800 (PST) +Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com + [74.125.82.50]) by arlo.cworth.org (Postfix) with ESMTPS id 49BFF6DE1003 for + ; Sat, 5 Mar 2016 02:03:09 -0800 (PST) +Received: by mail-wm0-f50.google.com with SMTP id l68so22203255wml.0 + for ; Sat, 05 Mar 2016 02:03:09 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version; bh=QNGbuvwVUkyijzVp09SQML4MzB5WOxNEJvea6V4UA8o=; + b=LV+kCD+VoYFsb54qW4bmSYpiOKpDtZi2Gn5t1uD+QmmtZNSrJTgOrOaDGkEdi2xfkQ + 8MJ/e5S2t3m4vnDWLqj0BStrJyRyVPhJgg/dumDzm7trVd0pQwRNZPpC+rExsnEer7fA + oqUgGxaAUgOnKOAmKwG6xbIumJaT1pRO6vi5xVmqO/YeHZJDFd09RD31/IG1lkUzRD3M + wXc+PMg0ECptUErZ1OM8fEfNY3qZ0QnJJYZN+ciO7NgnHjdy1uaNceWanQzNTy4zeGqM + pV3hbbu7lBHnHzdvJIn4qKSwywipSSPd3wnpOm/9H4Peffy0kGYoUN7vQe5RdkT3Rrn9 + OsXw== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:subject:in-reply-to:references + :user-agent:date:message-id:mime-version; + bh=QNGbuvwVUkyijzVp09SQML4MzB5WOxNEJvea6V4UA8o=; + b=kjF0xwHABiSylnuEZhjqmhmR3JMx4mhQ0phbs4v0frVSFID6GxpsCRovrLfWlJLOEc + vRzmF3vxrTtTHEDGdd0pPfWg3NXmYfTXAq+45PEtYCLyPL5IeEqimexCssmhc2ei+JBU + MO/4rvFfB/UeyRhhJQgZ0mzHrLDMuCmGPm3Id3lOsb8slTQOEycF8ylLC8zvJXe2+WwB + tXyzVeyRlmaGhu9ufZQQvP5mQ9z+AHtku9AzTXetBExeyMG/2CIS28RDVMEsbS38/t2p + g0sfkJCO/Q6RsrQmqLdF6QOekmn2D9fGl9rCoBCz1ZijtxkPMzoFFpZPuceYe4ixQ7q2 + QHMA== +X-Gm-Message-State: + AD7BkJJ4qH7AgCF6+O3CGpZtc9es1SYAj6zZG7GcFrmYRKNCamY6ossG+7HcoF8LSlGTjg== +X-Received: by 10.28.59.212 with SMTP id i203mr2911645wma.69.1457172187748; + Sat, 05 Mar 2016 02:03:07 -0800 (PST) +Received: from Samskara (cpc14-walt14-2-0-cust716.13-2.cable.virginm.net. + [86.21.102.205]) + by smtp.gmail.com with ESMTPSA id 82sm3116055wmd.4.2016.03.05.02.03.06 + for (version=TLSv1/SSLv3 cipher=OTHER); + Sat, 05 Mar 2016 02:03:06 -0800 (PST) +From: Sam Halliday +To: notmuch@notmuchmail.org +Subject: Re: use font-face instead of explicit colouring +In-Reply-To: <87mvqdmer2.fsf@gmail.com> +References: <87mvqdmer2.fsf@gmail.com> +User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sat, 05 Mar 2016 10:03:04 +0000 +Message-ID: <87k2lhmecn.fsf@gmail.com> +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="=-=-=" +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 05 Mar 2016 10:03:11 -0000 + +--=-=-= +Content-Type: text/plain + +I should say that I am aware of the workaround, e.g. + + (setq + notmuch-search-line-faces '(("unread" :weight bold) + ("flagged" :inherit 'font-lock-string-face))) + +but this must be applied per-user. If you removed this defcustom and had +unread/flagged/other faces, then themes (such as darcula) would be able +to provide sensible defaults out of the box. + + +--=-=-= +Content-Type: multipart/signed; boundary="==-=-="; + micalg=pgp-sha1; protocol="application/pgp-signature" + +--==-=-= +Content-Type: text/plain +Content-Transfer-Encoding: quoted-printable + +Sam Halliday writes: + +> [ text/plain ] +> Hi, +> +> I use a dark theme and many of the colour choices of notmuch collide +> with my theme. However, notmuch is explicitly adding information such as +> "blue foreground" instead of using faces that I can customise. +> +> Could you please consider using faces instead of explicit colours? +> +> [ text/plain ] +> +> --=20 +> Best regards, +> Sam +> [ signature.asc: application/pgp-signature ] + +=2D-=20 +Best regards, +Sam + +--==-=-= +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iEYEARECAAYFAlbartgACgkQh5Q4qVL9G8kEmACfU3t0x0vfkNgY8kUYId7CErx7 +nLQAniQ4AOQe0VzDpl2ohBoUvvf09qNN +=4rO4 +-----END PGP SIGNATURE----- +--==-=-=-- + +--=-=-=--