[PATCH] RFC: all deleting all properties with a given key
[notmuch-archives.git] / c6 / 319cff76979ec5f86d2f1d14bd8cc1af7cce52
1 Return-Path: <hji@dyntopia.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 AD8F56DE17BA\r
6  for <notmuch@notmuchmail.org>; Wed,  4 Nov 2015 14:42:50 -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.721\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.721 tagged_above=-999 required=5\r
12  tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
13  RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]\r
14  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 wn44UsuilMS3 for <notmuch@notmuchmail.org>;\r
18  Wed,  4 Nov 2015 14:42:48 -0800 (PST)\r
19 Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com\r
20  [209.85.212.177])\r
21  by arlo.cworth.org (Postfix) with ESMTPS id 52F916DE1607\r
22  for <notmuch@notmuchmail.org>; Wed,  4 Nov 2015 14:42:48 -0800 (PST)\r
23 Received: by wicll6 with SMTP id ll6so41265689wic.1\r
24  for <notmuch@notmuchmail.org>; Wed, 04 Nov 2015 14:42:46 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26  d=dyntopia_com.20150623.gappssmtp.com; s=20150623;\r
27  h=from:to:cc:subject:date:message-id;\r
28  bh=0IbNf130uyVSVz1eP4VQtNyr8rGIyBQBelhiM1BB8RY=;\r
29  b=jqG9Ze2i1SkbgBCcGyein0Ritd1Urue2ORjyg6ARbDd5bD+LC2NTKzhoX+fyj/z+xd\r
30  XeL2D0P5D5YWBjaEW8Z4GOmjqO7pWQkHz3/1TH4j1y9zCg/DE38QSgf3B1WKF4b84gx8\r
31  fdeUOJO2ZKvIbokqL/CABGjh7eDfJGGfmb/V9WSIqPMPHduhQE2kpFDbW9yQcSmj6pQx\r
32  rv3iWZrulZfpZYG2HDMWziw8bfFUgR//bDI0g1dKIWXfXbCXu9PZwGzIUp8Z2S57WEwX\r
33  ZGwQIEcidnp0+MPuepF2DTad8xxfxyjEzRCWAUZLCtrfTzvNDvq1EguvblnsZa6C8rc2\r
34  zVXA==\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:date:message-id;\r
38  bh=0IbNf130uyVSVz1eP4VQtNyr8rGIyBQBelhiM1BB8RY=;\r
39  b=OolMs7Ur8GTzmNa2Xuzfbrhcg2FPz18hPiqoppmwcVn/bOGf4We6RsYcDcbLhvM4D8\r
40  6QSW8TUs5AKVh+aeO/pwhZy7GsF3/kZ9Npuj8bTsJwBEMVxEmotQ+WQ2S02bEKFQG+oz\r
41  pXLkhnUu3mrCZXwMvUm1H8jRIaqpSrxPB8T8KNaY3OTtVP7RlqJs6G8j8a+7/8jdfrR/\r
42  n5lE89dSbFQnn8avfgzFhxvRfNLVmzaPpWhX0dRVqGUp2OKp0cKFjmIXzsw8Rzibszbf\r
43  kcCXCXy8Mf45uw/QCp0PfY9FhVP6+RqVt33imxRzm1ckz8tWQJ8fNSG1+wpMsSZaS/ca\r
44  rL5A==\r
45 X-Gm-Message-State:\r
46  ALoCoQnB78KdulXs4tqfJ+jrOtVUjQbZA8hdiBCCYWrmTLRlw0Ys4kYSBkQrotaIsOEp8s+gSrnW\r
47 X-Received: by 10.194.11.98 with SMTP id p2mr4630689wjb.131.1446676966235;\r
48  Wed, 04 Nov 2015 14:42:46 -0800 (PST)\r
49 Received: from localhost (rfc3251.org. [178.62.255.51])\r
50  by smtp.gmail.com with ESMTPSA id bk2sm3799762wjc.3.2015.11.04.14.42.44\r
51  (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
52  Wed, 04 Nov 2015 14:42:45 -0800 (PST)\r
53 From: "H. J. Illikainen" <hji@dyntopia.com>\r
54 To: notmuch@notmuchmail.org\r
55 Subject: [PATCH] emacs: Fontify From with message-header-other\r
56 Date: Thu,  5 Nov 2015 05:44:00 +0700\r
57 Message-Id: <1446677040-43496-1-git-send-email-hji@dyntopia.com>\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.20\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62  <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
64  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
69  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Wed, 04 Nov 2015 22:42:50 -0000\r
71 \r
72 Commit e26d767897e8ab59f05808a12ac5c9c1e3c7030f changed the\r
73 fontification of the body associated with the From header to\r
74 message-header-from.  However, that face is non-existent, and in\r
75 message.el (message-font-lock-keywords) the From-header falls through\r
76 and is attributed the message-header-other face.\r
77 \r
78 This commit removes the fontification of the [Ff]rom header in\r
79 notmuch-show-mode in order to fontify it using the message-header-other\r
80 face.\r
81 \r
82 This only affects non-default configurations where\r
83 notmuch-message-headers is set to display From.\r
84 ---\r
85  emacs/notmuch-show.el | 2 --\r
86  1 file changed, 2 deletions(-)\r
87 \r
88 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
89 index 49fd198..793f1a5 100644\r
90 --- a/emacs/notmuch-show.el\r
91 +++ b/emacs/notmuch-show.el\r
92 @@ -353,8 +353,6 @@ operation on the contents of the current buffer."\r
93                 'message-header-cc)\r
94                ((looking-at "[Ss]ubject:")\r
95                 'message-header-subject)\r
96 -              ((looking-at "[Ff]rom:")\r
97 -               'message-header-from)\r
98                (t\r
99                 'message-header-other))))\r
100  \r
101 -- \r
102 H. J. Illikainen\r
103 \r