From 661f43dcfe82cdfa946299d703fd8578d44a75a1 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 5 Feb 2014 09:10:51 +2000 Subject: [PATCH] Re: sanitization of args notmuch-cli in notmuch-emacs --- ce/c0f97abbe1d1953657b76385c281378be67aa6 | 63 +++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 ce/c0f97abbe1d1953657b76385c281378be67aa6 diff --git a/ce/c0f97abbe1d1953657b76385c281378be67aa6 b/ce/c0f97abbe1d1953657b76385c281378be67aa6 new file mode 100644 index 000000000..4a282dda8 --- /dev/null +++ b/ce/c0f97abbe1d1953657b76385c281378be67aa6 @@ -0,0 +1,63 @@ +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 14D40431FBC + for ; Tue, 4 Feb 2014 05:11:55 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 Xw7pIT9LRTGg for ; + Tue, 4 Feb 2014 05:11:47 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 5C245431FBD + for ; Tue, 4 Feb 2014 05:11:46 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1WAfmd-0007Zv-7J; Tue, 04 Feb 2014 09:11:23 -0400 +Received: (nullmailer pid 31887 invoked by uid 1000); Tue, 04 Feb 2014 + 13:10:51 -0000 +From: David Bremner +To: Tomi Ollila , notmuch@notmuchmail.org +Subject: Re: sanitization of args notmuch-cli in notmuch-emacs +In-Reply-To: +References: <87wqhcxb5j.fsf@maritornes.cs.unb.ca> + +User-Agent: Notmuch/0.17+56~gb9c3d8e (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Tue, 04 Feb 2014 09:10:51 -0400 +Message-ID: <87mwi7uip0.fsf@maritornes.cs.unb.ca> +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: Tue, 04 Feb 2014 13:11:55 -0000 + +Tomi Ollila writes: + +> +> Maybe the cli should be fixed ? (and/or make emacs MUA resilient to +> this kind of result) +> + +Would it make any sense to output errors in structured format? I guess +the downside is it would be harder for a human user to read. + +d -- 2.26.2