From: Peter Wang Date: Wed, 8 Aug 2012 12:31:02 +0000 (+1000) Subject: Re: [PATCH 1/4] show: indicate length of omitted body content (json) X-Git-Url: http://git.tremily.us/?p=notmuch-archives.git;a=commitdiff_plain;h=1a41501b447d4c2488fb663889e7fe979aa67f4c Re: [PATCH 1/4] show: indicate length of omitted body content (json) --- diff --git a/63/e049d3a2206f7cbe890f0ab02f26801f6bc83d b/63/e049d3a2206f7cbe890f0ab02f26801f6bc83d new file mode 100644 index 000000000..767bca1d2 --- /dev/null +++ b/63/e049d3a2206f7cbe890f0ab02f26801f6bc83d @@ -0,0 +1,80 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id A9FEB431FBD + for ; Wed, 8 Aug 2012 05:31:11 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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 aeWOa0f-6nWj for ; + Wed, 8 Aug 2012 05:31:11 -0700 (PDT) +Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com + [209.85.160.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 40B64431FAE + for ; Wed, 8 Aug 2012 05:31:11 -0700 (PDT) +Received: by pbbro2 with SMTP id ro2so1726183pbb.26 + for ; Wed, 08 Aug 2012 05:31:10 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=date:message-id:from:to:cc:subject:in-reply-to:references + :mime-version:content-type:content-disposition + :content-transfer-encoding; + bh=xCv0z7h5gQXJ+GkzpznTEiAn/9caTFgvBm0M2UJR0Cc=; + b=EJzZMidTEe3PPu4fj3nLd/V9T9OHOXS9l5rrVMy5DYzJkOiskZSiu+gp9kc6KMpOzn + XCqb9j+osIPzQXQa6Gk3yz2vr1h5gcWD7fH8moXSvF5DxPHHeB7UVgAil+huuIOhIJHZ + CZaqJOjbnEkWAZUGkGEkHSGtZBZGgtJnhaf/S0QAOdTgSCVY1m1nsFJosN9/CiupXpkG + 22o3R8UjO7QL9Wgo1YnlDiJ8QxaJR7T+/qLMafVsuTyi7VCA89Ib2kK2YbN04XbBU+RL + gXg+GbPE4YZsGkLDDPuy4Xha0F8N37KMucD0Hy8XLu+Bg36+q3rMRPaPaC7okq9XLx/R + kjDQ== +Received: by 10.68.229.2 with SMTP id sm2mr35816799pbc.57.1344429070428; + Wed, 08 Aug 2012 05:31:10 -0700 (PDT) +Received: from localhost (215.42.233.220.static.exetel.com.au. + [220.233.42.215]) + by mx.google.com with ESMTPS id nr8sm9897154pbc.43.2012.08.08.05.31.07 + (version=TLSv1/SSLv3 cipher=OTHER); + Wed, 08 Aug 2012 05:31:09 -0700 (PDT) +Date: Wed, 8 Aug 2012 22:31:02 +1000 +Message-ID: <20120808223102.GB2353@hili.localdomain> +From: Peter Wang +To: Mark Walters +Subject: Re: [PATCH 1/4] show: indicate length of omitted body content (json) +In-Reply-To: <87fw7ymhn1.fsf@qmul.ac.uk> +References: <1344151345-25411-1-git-send-email-novalazy@gmail.com> + <87fw7ymhn1.fsf@qmul.ac.uk> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Disposition: inline +Content-Transfer-Encoding: 8bit +Cc: notmuch@notmuchmail.org +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: Wed, 08 Aug 2012 12:31:11 -0000 + +On Wed, 08 Aug 2012 00:01:06 +0100, Mark Walters wrote: +> +> I have two minor queries: do you think omitted text/html parts should +> also have the length given? Or even should it always be sent? But I am +> happy with it as is. + +It could be added. I wouldn't have much use for it myself. +text/html parts should usually be small enough that it doesn't matter, +and I never retrieve them when there is a text/plain alternative. + +Peter