Re: [PATCH v2] emacs: Allow part preferences to depend on message content.
authorDavid Edmondson <dme@dme.org>
Sun, 3 Apr 2016 16:05:11 +0000 (17:05 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:28 +0000 (16:21 -0700)
6d/0e97b6a77b87deec53ebf7de4cbbe199ec5be0 [new file with mode: 0644]

diff --git a/6d/0e97b6a77b87deec53ebf7de4cbbe199ec5be0 b/6d/0e97b6a77b87deec53ebf7de4cbbe199ec5be0
new file mode 100644 (file)
index 0000000..eb5d771
--- /dev/null
@@ -0,0 +1,96 @@
+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 arlo.cworth.org (Postfix) with ESMTP id 7D4006DE01C2\r
+ for <notmuch@notmuchmail.org>; Sun,  3 Apr 2016 09:06:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.169\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.169 tagged_above=-999 required=5\r
+ tests=[AWL=-0.102, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=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 pCmi8o9sBhUp for <notmuch@notmuchmail.org>;\r
+ Sun,  3 Apr 2016 09:05:54 -0700 (PDT)\r
+Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com\r
+ [209.85.215.65])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 06F316DE02C9\r
+ for <notmuch@notmuchmail.org>; Sun,  3 Apr 2016 09:05:15 -0700 (PDT)\r
+Received: by mail-lf0-f65.google.com with SMTP id r62so5910527lfd.0\r
+ for <notmuch@notmuchmail.org>; Sun, 03 Apr 2016 09:05:14 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=dme-org.20150623.gappssmtp.com; s=20150623;\r
+ h=to:subject:in-reply-to:references:from:date:message-id:mime-version;\r
+ bh=ekfEYf3/uK2Ui05ksmnNLl8PC3ROSKmRX0InHxoKnp0=;\r
+ b=qeQzNqlDxfBG7nyLfCdHJkkIf+lffo8fTQRCQe9/1JfsVXVhBK+btUH2Qt9foVIG+l\r
+ sm9cxO8FINz9gqky5H3avbyCMtql8EZPAGJbDup3ctePmJFq9g191nZqblQUz+gjZVIx\r
+ 880lDZvPHPZW2/oCscH9A6xd6piOx38f5tnaU6EYa0sp0pkFR83bcOG2w3qEN9G5o+7r\r
+ 7ZEH4uZbHJvlzZ00RkySP429ANSjQPQFp3Zk797XtFy7xvnIhaJscN6kbMUDLd3A608Z\r
+ YnODRlsn/rzs9LGwOHZy3OOnFlJl9HMvIFNgnecqj61nrHpQ7I6UOCr7Y1NMgffbHZRl\r
+ 3y/A==\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:in-reply-to:references:from:date\r
+ :message-id:mime-version;\r
+ bh=ekfEYf3/uK2Ui05ksmnNLl8PC3ROSKmRX0InHxoKnp0=;\r
+ b=SDf/myoGiELy2f6G8xD2/dH6FomsRtz6kzQLjykrxZ8FqTDGKyF2fJ4qDKAMC/SJ0o\r
+ 1BewOoxqcQTW0GanZI7kMyT0a4P2wmMz6ZAnfLPX0RXQLtWURrsdlkv5P4IYL+KEdIy0\r
+ G8K3X+vRypWwbZYvgltuKlsgtPfQznm33NnZVEuSA4CeqD1syquTDeeOc20PZFuH0BL2\r
+ L1e1X2oGB79H4PQZjDCWdOtEMgPldI9+rHcxaPnfPmGvsFiQMOqPDMzTnl/c4R3k/VoH\r
+ TocjqsC4WeRpwCSxk0cNm65hbK9sI2MFCI74cRD+J0Ukl5tkVDINHfTRwA8fM4HU2PvZ\r
+ Jutg==\r
+X-Gm-Message-State:\r
+ AD7BkJJaFq/UnhEE53bGzYhlY+swdmfO3iMzdtuI64BfrLYlPwGg16PE0GGIZt+BwZ3/7w==\r
+X-Received: by 10.194.61.134 with SMTP id p6mr3470084wjr.67.1459699513398;\r
+ Sun, 03 Apr 2016 09:05:13 -0700 (PDT)\r
+Received: from disaster-area.hh.sledj.net\r
+ ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
+ by smtp.gmail.com with ESMTPSA id u3sm9261614wmg.15.2016.04.03.09.05.12\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sun, 03 Apr 2016 09:05:12 -0700 (PDT)\r
+Received: from localhost (disaster-area.hh.sledj.net [local])\r
+ by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 4958c9dd;\r
+ Sun, 3 Apr 2016 16:05:11 +0000 (UTC)\r
+To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v2] emacs: Allow part preferences to depend on message\r
+ content.\r
+In-Reply-To: <87h9fwjfv0.fsf@zancas.localnet>\r
+References: <1454088421-6081-1-git-send-email-dme@dme.org>\r
+ <1454088421-6081-2-git-send-email-dme@dme.org>\r
+ <87h9fwjfv0.fsf@zancas.localnet>\r
+From: David Edmondson <dme@dme.org>\r
+Date: Sun, 03 Apr 2016 17:05:11 +0100\r
+Message-ID: <cunoa9qwudk.fsf@disaster-area.hh.sledj.net>\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: Sun, 03 Apr 2016 16:06:02 -0000\r
+\r
+On Thu, Mar 24 2016, David Bremner <david@tethera.net> wrote:\r
+> David Edmondson <dme@dme.org> writes:\r
+>\r
+>> Currently the preference for which sub-part of a multipart/alternative\r
+>> part is shown is global. Allow to the user to override the settings on a\r
+>> per-message basis by providing the ability to call a function that has\r
+>> access to the message to return the discouraged type list.\r
+>\r
+> This patch looks fine, but it needs a smarter monkey than me to rebase\r
+> it.\r
+\r
+Updated patch follows id:1459699478-21167-1-git-send-email-dme@dme.org.\r