Re: notmuch-emacs should correctly handle signature status on reply
[notmuch-archives.git] / 77 / d2829f7513dd2a9ea564b183f52878eade022f
1 Return-Path: <dme@dme.org>\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 E6DDE6DE1995\r
6  for <notmuch@notmuchmail.org>; Fri, 15 Jan 2016 05:35:05 -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.475\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.475 tagged_above=-999 required=5 tests=[AWL=0.542, \r
12  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_NEUTRAL=0.652,\r
14  UNPARSEABLE_RELAY=0.001] 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 BMj-moHRGbyJ for <notmuch@notmuchmail.org>;\r
18  Fri, 15 Jan 2016 05:35:04 -0800 (PST)\r
19 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com\r
20  [74.125.82.65]) by arlo.cworth.org (Postfix) with ESMTPS id AB26B6DE00DD for\r
21  <notmuch@notmuchmail.org>; Fri, 15 Jan 2016 05:35:03 -0800 (PST)\r
22 Received: by mail-wm0-f65.google.com with SMTP id u188so2889130wmu.0\r
23  for <notmuch@notmuchmail.org>; Fri, 15 Jan 2016 05:35:03 -0800 (PST)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25  d=dme-org.20150623.gappssmtp.com; s=20150623;\r
26  h=from:to:subject:date:message-id;\r
27  bh=U/OXyxkcr01LqFxN/K0oN0lteztNnfsPXXPeyzDhC48=;\r
28  b=Re6MSrJRDdZZz5DttdUerN2WZCk0nkT2hSumVGSxVb70roBw2qIyhbnFDYygp/lRjt\r
29  a2MpikgqTezD03gQolKMspPgo0Wkzqsm/bUOaHf+1+wKpfCdAfxw4CTkHzX1yf0qv3Td\r
30  9nGzEswv/CID2lJHi7puxJR6SfHhMj1gPNqHEO5WQHvCIChB2hPI4IhZt8D1yGlt4Av5\r
31  nsu6vWP7O+3zfRStDcf1iNm7gdrddQMPH5w0OUJQJl/qmkF2rwsMYb79jZOSfndDdRMz\r
32  dE0rtg71NnQl01LkODQvvW7lKjnnUhKhjvCuao9QpeYGDcuZGhPYazEgt/d1llJr6uc9\r
33  h8NQ==\r
34 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
35  d=1e100.net; s=20130820;\r
36  h=x-gm-message-state:from:to:subject:date:message-id;\r
37  bh=U/OXyxkcr01LqFxN/K0oN0lteztNnfsPXXPeyzDhC48=;\r
38  b=KihUcb1icoF8p4iaBld0ZoWYjA9K1Hbz98IYdW4gbqzL7vAxJh4NwDjZfd/S/rIgvG\r
39  PSbV4Qy6BVhVPUBOR6qNCYtdMTpU+n1nehaEJQhr+Cf04XS7kQjxPcvcMjSw1pN1jg8a\r
40  789tnhz/RSV0ylD0cazjcUIapAHRnqXwiUKcMv3WdvxjAnxGlvBnSMF3yLM1NHERxPcZ\r
41  Yk8D5X9LKQyOLvizYMEg1q9fthiZdUv+u7U9ZU6+rwznLNQ1VkdjJnNedHKrMqU0tL/N\r
42  46ARgQCTAoRO6sYSCkn1gNMn1XKpjUaNZ4N3uGpmiihqv5b2xW8lvabBw4iPviWHW6LG\r
43  dD4Q==\r
44 X-Gm-Message-State:\r
45  AG10YOSKF5lAiSZnWC65xHOTxfzaL7UYNNEj7awQvYR2xZD2Is6jwhztiZJWUDGohBI1EQ==\r
46 X-Received: by 10.28.216.211 with SMTP id p202mr3577545wmg.84.1452864900475;\r
47  Fri, 15 Jan 2016 05:35:00 -0800 (PST)\r
48 Received: from disaster-area.hh.sledj.net\r
49  ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
50  by smtp.gmail.com with ESMTPSA id id1sm10648439wjb.19.2016.01.15.05.34.59\r
51  for <notmuch@notmuchmail.org>\r
52  (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
53  Fri, 15 Jan 2016 05:34:59 -0800 (PST)\r
54 Received: from localhost (disaster-area.hh.sledj.net [local])\r
55  by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 5661bf40\r
56  for <notmuch@notmuchmail.org>; Fri, 15 Jan 2016 13:34:58 +0000 (UTC)\r
57 From: David Edmondson <dme@dme.org>\r
58 To: notmuch@notmuchmail.org\r
59 Subject: [RFC][PATCH v1] Allow content preference based on message content.\r
60 Date: Fri, 15 Jan 2016 13:34:57 +0000\r
61 Message-Id: <1452864898-9719-1-git-send-email-dme@dme.org>\r
62 X-Mailer: git-send-email 2.6.3\r
63 X-BeenThere: notmuch@notmuchmail.org\r
64 X-Mailman-Version: 2.1.20\r
65 Precedence: list\r
66 List-Id: "Use and development of the notmuch mail system."\r
67  <notmuch.notmuchmail.org>\r
68 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
69  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
70 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
71 List-Post: <mailto:notmuch@notmuchmail.org>\r
72 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
73 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
74  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
75 X-List-Received-Date: Fri, 15 Jan 2016 13:35:06 -0000\r
76 \r
77 \r
78 Previously in #notmuch we discussed how it would be convenient to\r
79 control part preferences on the basis of message attributes. This\r
80 patch is an attempt to provide that.\r
81 \r
82 My own setting for `notmuch-multipart/alternative-discouraged' is:\r
83 \r
84 (setq notmuch-multipart/alternative-discouraged\r
85     '(cond\r
86       ((string-match "9195404@capita-intouch.co.uk" from)\r
87        '("text/plain"))\r
88       (t\r
89        '("text/html" "multipart/related"))))\r
90 \r
91 That is, discourage text/plain and multipart/related unless the\r
92 message is sent from 9195404@capita-intouch.co.uk, in which case\r
93 discourage text/plain (which for this sender is always another copy of\r
94 the HTML content, as HTML).\r
95 \r
96 David Edmondson (1):\r
97   emacs: Allow part preferences to depend on message content.\r
98 \r
99  emacs/notmuch-lib.el  | 39 +++++++++++++++++++++++++++++++++++----\r
100  emacs/notmuch-mua.el  |  2 +-\r
101  emacs/notmuch-show.el |  2 +-\r
102  3 files changed, 37 insertions(+), 6 deletions(-)\r
103 \r
104 -- \r
105 2.2.0\r
106 \r