From: Ethan Date: Sun, 21 Oct 2012 14:10:21 +0000 (+2000) Subject: Re: [PATCH 1/1] emacs/notmuch-show.el: handle bodypart insert error X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8066e772988e0dbc43a538b91dbce45bd37db805;p=notmuch-archives.git Re: [PATCH 1/1] emacs/notmuch-show.el: handle bodypart insert error --- diff --git a/dd/e378a09d64f5d4516d20e20cc0529d47205b69 b/dd/e378a09d64f5d4516d20e20cc0529d47205b69 new file mode 100644 index 000000000..8bab24550 --- /dev/null +++ b/dd/e378a09d64f5d4516d20e20cc0529d47205b69 @@ -0,0 +1,114 @@ +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 84231431FC3 + for ; Sun, 21 Oct 2012 07:10:22 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.798 +X-Spam-Level: +X-Spam-Status: No, score=-0.798 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, HTML_MESSAGE=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 3kyzUi6kCNoS for ; + Sun, 21 Oct 2012 07:10:22 -0700 (PDT) +Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com + [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id EF8B9431FAF + for ; Sun, 21 Oct 2012 07:10:21 -0700 (PDT) +Received: by mail-vb0-f53.google.com with SMTP id fc21so2192494vbb.26 + for ; Sun, 21 Oct 2012 07:10:21 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:in-reply-to:references:date:message-id:subject:from:to + :cc:content-type; + bh=LCXtb5NQK5lyYGPHZ4eDRfcqSxdjMi2E0XhJv8xc4cU=; + b=kQxfhNnd9gFI5olpFE0qezaPhmjWTk89PgXEWfAW/F1X7DC8ETTwKsBcJpm4CV+wg3 + E2EBra1/EFV0mLUIxSQspngscVDKn4GWzfcdbGVwLbyb66jbxFx1tTAVvtPR4tFLn+1A + 5A4xgH4dKgJ/rVB8nGZyGSq7kpNcTFYPr/rRyEMQoqglRUlUhJVhW7XTPwGXXBEhYF7n + if074XQdLuEtboTBDwq0wnFiWO1BFuSjCqQMNZiHofVo8jUHe27HRSt0tD99hCmWFuAB + EgxHMH4bsLuQZbQgCgJssudjlLVFuGRtsqxfa121W7zSYzHA1BPSrloxLEba152XRScs + Qc5Q== +MIME-Version: 1.0 +Received: by 10.58.0.83 with SMTP id 19mr10749970vec.53.1350828621205; Sun, 21 + Oct 2012 07:10:21 -0700 (PDT) +Received: by 10.220.247.209 with HTTP; Sun, 21 Oct 2012 07:10:21 -0700 (PDT) +In-Reply-To: <1350826509-12119-1-git-send-email-tomi.ollila@iki.fi> +References: <1350826509-12119-1-git-send-email-tomi.ollila@iki.fi> +Date: Sun, 21 Oct 2012 10:10:21 -0400 +Message-ID: + +Subject: Re: [PATCH 1/1] emacs/notmuch-show.el: handle bodypart insert error +From: Ethan +To: Tomi Ollila +Content-Type: multipart/alternative; boundary=047d7b33d3021e8f8b04cc924c2a +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: Sun, 21 Oct 2012 14:10:22 -0000 + +--047d7b33d3021e8f8b04cc924c2a +Content-Type: text/plain; charset=ISO-8859-1 + +On Sun, Oct 21, 2012 at 9:35 AM, Tomi Ollila wrote: + +> When inserting of email bodypart failes, insert a failure message +> to the buffer (and continue) instead of halting the insertion of +> the rest of that email thread in question. +> --- +> This is (now real !!!) alternative to +> +> id:"1350824336-11060-1-git-send-email-tomi.ollila@iki.fi" +> +> This adds error message string to the output, error message in +> id:"87d31artti.fsf@inf-8657.int-evry.fr" is shown as +> +> !!! Bodypart insert error: Wrong type argument: stringp, nil !!! +> + +This seems like a really good idea generally. I think we should merge this +anyhow. + +Ethan + +--047d7b33d3021e8f8b04cc924c2a +Content-Type: text/html; charset=ISO-8859-1 +Content-Transfer-Encoding: quoted-printable + +
On Sun, Oct 21, 2012 at 9:35 AM, Tomi Ollila <= +tomi.ollila@iki.fi> wrote:
+
When inserting of email bodypart failes, insert a failure= + message
+to the buffer (and continue) instead of halting the insertion of
+the rest of that email thread in question.
+---
+
This is (now real !!!) alternative to
+

+id:"1350824336-11060-1-git-send-email-tomi.ollila@iki.fi"
+
+This adds error message string to the output, error message in
+id:"87d31artti.= +fsf@inf-8657.int-evry.fr" is shown as
+
+=A0 !!! Bodypart insert error: Wrong type argument: stringp, nil !!!

This seems like a really good idea generally. I th= +ink we should merge this anyhow.

Ethan

+ +--047d7b33d3021e8f8b04cc924c2a--