From: David Bremner Date: Sat, 9 Apr 2016 19:19:23 +0000 (+2100) Subject: Re: [PATCH v3] emacs: Allow part preferences to depend on message content. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b22e04c9f89a15ed41bd4aaaaaa54df02b4446f0;p=notmuch-archives.git Re: [PATCH v3] emacs: Allow part preferences to depend on message content. --- diff --git a/b0/197b72778ea8286fe26832b1365445b4a900f6 b/b0/197b72778ea8286fe26832b1365445b4a900f6 new file mode 100644 index 000000000..8858c10b2 --- /dev/null +++ b/b0/197b72778ea8286fe26832b1365445b4a900f6 @@ -0,0 +1,64 @@ +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 F36386DE02D0 + for ; Sat, 9 Apr 2016 12:19:35 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.019 +X-Spam-Level: +X-Spam-Status: No, score=-0.019 tagged_above=-999 required=5 + tests=[AWL=-0.008, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] + 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 EYnKSjuVQKtA for ; + Sat, 9 Apr 2016 12:19:27 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 038D26DE02D7 + for ; Sat, 9 Apr 2016 12:19:25 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1aoyPu-00066E-AX; Sat, 09 Apr 2016 15:19:34 -0400 +Received: (nullmailer pid 10676 invoked by uid 1000); + Sat, 09 Apr 2016 19:19:23 -0000 +From: David Bremner +To: David Edmondson , notmuch@notmuchmail.org +Subject: Re: [PATCH v3] emacs: Allow part preferences to depend on message + content. +In-Reply-To: <1459699478-21167-2-git-send-email-dme@dme.org> +References: <1459699478-21167-1-git-send-email-dme@dme.org> + <1459699478-21167-2-git-send-email-dme@dme.org> +User-Agent: Notmuch/0.21+99~gd93d377 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sat, 09 Apr 2016 16:19:23 -0300 +Message-ID: <87fuuu8u9w.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +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, 09 Apr 2016 19:19:36 -0000 + +David Edmondson writes: + +> Currently the preference for which sub-part of a multipart/alternative +> part is shown is global. Allow to the user to override the settings on a +> per-message basis by providing the ability to call a function that has +> access to the message to return the discouraged type list. +> +> The original approach is retained as the default. + +pushed, + +d