precedence in `notmuch-search-line-faces'
authorDavid Edmondson <dme@dme.org>
Fri, 2 May 2014 11:14:08 +0000 (12:14 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:04 +0000 (10:02 -0800)
4c/6959f876b068496196789c38fba7cc1e98d4e0 [new file with mode: 0644]

diff --git a/4c/6959f876b068496196789c38fba7cc1e98d4e0 b/4c/6959f876b068496196789c38fba7cc1e98d4e0
new file mode 100644 (file)
index 0000000..f01bd4e
--- /dev/null
@@ -0,0 +1,106 @@
+Return-Path: <dme@dme.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 143A5431FC0\r
+       for <notmuch@notmuchmail.org>; Fri,  2 May 2014 04:14:31 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id KJT+rEAzYkTQ for <notmuch@notmuchmail.org>;\r
+       Fri,  2 May 2014 04:14:27 -0700 (PDT)\r
+Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com\r
+       [209.85.212.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 12DD4431FB6\r
+       for <notmuch@notmuchmail.org>; Fri,  2 May 2014 04:14:26 -0700 (PDT)\r
+Received: by mail-wi0-f169.google.com with SMTP id hi5so2068993wib.0\r
+       for <notmuch@notmuchmail.org>; Fri, 02 May 2014 04:14:24 -0700 (PDT)\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:to:subject:user-agent:from:date:message-id\r
+       :mime-version:content-type;\r
+       bh=hoYJVdFlZkBCLtvA8YPVo7UtgCYQd8FC/pz2FGBq3iM=;\r
+       b=QBGJCfmS7hRbG6lgdMiNAODwHHpAVjBeR9ctjTCluC8kFc5Dr4pB/1YumwltthFHSA\r
+       xSbFKfcFvaLUS9b+3RjOCB9CPzHJr9rpzJO9urG+UC3OQEPzZFn7WL3r5lgK7718+QmF\r
+       3YCS2E9SJ8xjiFAZqX4BV4q9EPV09foEJdX2sElT7EshCs1049Ex8qrDF4QInpPOUFIp\r
+       4ecd47qxyG+AxBdqJ9vSeRQtiHjnD6x7l6wcdUAKmvvxhbMNheB8hCa7YxkI5eNCOXi8\r
+       P7VmgUboqtV1uarORjconAYRk89vh0afZFL+2c/9B8vuHokRC3qc6RUsQ+PU92qZzQsq\r
+       c19Q==\r
+X-Gm-Message-State:\r
+ ALoCoQk/C7xM0Unu+v2CYsk3lXgRUEkZbg3Un5SYu2oL9ABSe59JipRowYVVK3NEHuUUQzmgtlUx\r
+X-Received: by 10.180.12.206 with SMTP id a14mr2501177wic.48.1399029264532;\r
+       Fri, 02 May 2014 04:14:24 -0700 (PDT)\r
+Received: from localhost ([2a01:348:1a2:1:a288:b4ff:fe8a:77d8])\r
+       by mx.google.com with ESMTPSA id u1sm1665421wjx.16.2014.05.02.04.14.22\r
+       for <notmuch@notmuchmail.org>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Fri, 02 May 2014 04:14:23 -0700 (PDT)\r
+To: notmuch@notmuchmail.org\r
+Subject: precedence in `notmuch-search-line-faces'\r
+User-Agent: Notmuch/0.18~rc0 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+From: David Edmondson <dme@dme.org>\r
+Date: Fri, 02 May 2014 12:14:08 +0100\r
+Message-ID: <cunmwf0h1q7.fsf@hotblack-desiato.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 02 May 2014 11:14:31 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+The documentation for `notmuch-search-line-faces' says:\r
+\r
+> The attributes defined for matching tags are merged, with later\r
+> attributes overriding earlier.\r
+\r
+A comment in `notmuch-search-color-line', which implements this, says:\r
+\r
+> ;; Reverse the list so earlier entries take precedence\r
+\r
+Clearly these two are at odds. The implementation of\r
+`notmuch-search-color-line' follows the comment. That is, earlier\r
+entries in the list take precedence.\r
+\r
+The original implementation of `notmuch-search-color-line' followed the\r
+documentation of the user-visible variable, but this was changed by\r
+commit 60ebc849 in July 2012.\r
+\r
+I'm inclined to go with the documentation and change the implementation,\r
+but this could obviously ruin things for some users until they reorder\r
+their settings.\r
+\r
+Thoughts?\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1\r
+\r
+iKYEARECAGYFAlNjfgBfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl\r
+bnBncC5maWZ0aGhvcnNlbWFuLm5ldDc1M0Y5NDJDMEExNjc3MDE4OURGMUYyMDY5\r
+RUNEMEFCRjA0OTY1MTYACgkQaezQq/BJZRZPkACeIChJReHh21L4wlY6ODjTh0wm\r
+kA8AoIK0MNrhgqLtWiA4oBja19iAsInt\r
+=ZOgI\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r