From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id ECC7B431FAF for ; Thu, 19 Jan 2012 09:31:18 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v-sE+3uehhxv for ; Thu, 19 Jan 2012 09:31:16 -0800 (PST) Received: from mail-qw0-f46.google.com (mail-qw0-f46.google.com [209.85.216.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id D3F56431FAE for ; Thu, 19 Jan 2012 09:31:16 -0800 (PST) Received: by qadc10 with SMTP id c10so2720141qad.5 for ; Thu, 19 Jan 2012 09:31:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=uAuI9mrjOpAD4xm3yWjZ3u6Vsi1vpuZkc8nzQAMH3o4=; b=flUQVNX8wFsFDiYK9dOSPLHWIL0041u1bIFbony3mVSrGOkcIKq8VLvyO0aNfyCzjw EL8xMZhv2VSa86riMSVPf06BWhhQAkbJi5xb32zvRJjF3SmtwleSHqmwln7k/cs+BeDg pXgaRJPsB/boVQkL/0YG+G9qCSPGh7N0eiRGo= Received: by 10.224.18.66 with SMTP id v2mr24299807qaa.57.1326994276021; Thu, 19 Jan 2012 09:31:16 -0800 (PST) Received: from localhost (wal016.wlan.sas.upenn.edu. [128.91.71.145]) by mx.google.com with ESMTPS id gw6sm1083473qab.1.2012.01.19.09.31.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Jan 2012 09:31:15 -0800 (PST) Sender: Aaron Ecay From: Aaron Ecay To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Make the part content available to `mm-inlinable-p'. In-Reply-To: <1326965647-1222-1-git-send-email-dme@dme.org> References: <87k44o6o6e.fsf@gmail.com> <1326965647-1222-1-git-send-email-dme@dme.org> User-Agent: Notmuch/0.11+73~gd51b784 (http://notmuchmail.org) Emacs/24.0.92.2 (i386-apple-darwin10.8.0) Date: Thu, 19 Jan 2012 12:31:12 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Thu, 19 Jan 2012 17:31:19 -0000 On Thu, 19 Jan 2012 09:34:07 +0000, David Edmondson wrote: > The `mm-inlinable-p' function works better if it has access to the > data of the relevant part, so load that content before calling it. > > Don't load the content for parts that the user has indicated no desire > to inline. > > This fixes the display of attached image/jpeg parts, for example. I had suggested the same approach in a message that only Dmitry got (accursed new reply bindings!) LGTM. -- Aaron Ecay