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