From d9e35f9f36f3b059ad5c139ef8b6b1b24cd7569f Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Tue, 27 Aug 2013 08:21:49 +0300 Subject: [PATCH] Re: Feature proposal: OUTPUT_AUTHOR format --- b6/1b7524c47e4007e72b6671f38981d84cc09bb6 | 160 ++++++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 b6/1b7524c47e4007e72b6671f38981d84cc09bb6 diff --git a/b6/1b7524c47e4007e72b6671f38981d84cc09bb6 b/b6/1b7524c47e4007e72b6671f38981d84cc09bb6 new file mode 100644 index 000000000..0c151fa26 --- /dev/null +++ b/b6/1b7524c47e4007e72b6671f38981d84cc09bb6 @@ -0,0 +1,160 @@ +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 7C193431FD4 + for ; Mon, 26 Aug 2013 22:22:08 -0700 (PDT) +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=[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 7AbeMxNIR8Ig for ; + Mon, 26 Aug 2013 22:21:54 -0700 (PDT) +Received: from mail-vb0-f52.google.com (mail-vb0-f52.google.com + [209.85.212.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 55A43431FAF + for ; Mon, 26 Aug 2013 22:21:52 -0700 (PDT) +Received: by mail-vb0-f52.google.com with SMTP id f12so2597257vbg.25 + for ; Mon, 26 Aug 2013 22:21:49 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=x-gm-message-state:mime-version:in-reply-to:references:date + :message-id:subject:from:to:cc:content-type; + bh=6N8OKfsgALYp50C93K6/gcx1OJ6nEQjhBZ1x6FDI4Qc=; + b=HM/ROURyPgQnwszQobfNR6SxFoelbiglAUwhepJ9eHBsE6SrpZzEUMMCC/4VwTduUA + rl2CMvSXVmxMKEEGrrSofpI33cwLYaa/Zf8LxwKpuvaUAG9jJ1fU8JBATR3+E622qbyl + pSjfd9U9YijZt41ckrwepzHa841e/+ut3qzE8sUhJqkKKcWIiZD+WuANyTXQapSnbWrw + fH2B7Ie4PzE0CM+QTeP3xNp56gVGBw2WA6cHD7BrP3v3jiifuAYEinxPq1uzKp7Kf3ql + sLRB4MK3npBL+zWNU0GchDqLtxruCkeTPEcdIaoeIWUE0PgYAF5+eTIq3mtHPoP9DNxg + 3yxw== +X-Gm-Message-State: + ALoCoQm0fFg++NnBADdsqrD9D+MwbJ9KbYDbooIJtaWzNURfDios+pi8VHtVnUyIYc9wveIv5h40 +MIME-Version: 1.0 +X-Received: by 10.220.140.69 with SMTP id h5mr18395581vcu.0.1377580909497; + Mon, 26 Aug 2013 22:21:49 -0700 (PDT) +Received: by 10.58.56.167 with HTTP; Mon, 26 Aug 2013 22:21:49 -0700 (PDT) +Received: by 10.58.56.167 with HTTP; Mon, 26 Aug 2013 22:21:49 -0700 (PDT) +In-Reply-To: <87li3o9dwr.fsf@zancas.localnet> +References: <20130825101308.27461.57489@quirm.robotics.tu-berlin.de> + <20130826222226.1093.84929@quirm.robotics.tu-berlin.de> + <87li3o9dwr.fsf@zancas.localnet> +Date: Tue, 27 Aug 2013 08:21:49 +0300 +Message-ID: + +Subject: Re: Feature proposal: OUTPUT_AUTHOR format +From: Jani Nikula +To: David Bremner +Content-Type: multipart/alternative; boundary=047d7b343244c2a67e04e4e70c9d +Cc: Notmuch Mail +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, 27 Aug 2013 05:22:12 -0000 + +--047d7b343244c2a67e04e4e70c9d +Content-Type: text/plain; charset=UTF-8 + +On Aug 27, 2013 3:27 AM, "David Bremner" wrote: +> +> Johannes Kulick writes: +> +> > An authors output format would not add redundant information to a mail, +would be +> > relatively easy to implement and I would find a people centric view - +which +> > doesn't interfere with any other concept of notmuch - very worth the +couple of +> > new lines of code. +> > +> > What would you say? +> +> Hi Johannes; +> +> I'm not sure I understand your goal completely here, but the obvious +> thing UI wise would be +> +> notmuch search --output=authors --format=(json|text|sexp) $search_terms +> + +FWIW, I have some code to this effect that I never posted. I'll see how +much polish it would require. + +BR, +Jani. + +> Perhaps you're already aware of this, but alot doesn't use the CLI, so +> that wouldn't be directly helpful to having a new view in alot. +> +> d +> +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch + +--047d7b343244c2a67e04e4e70c9d +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +


+On Aug 27, 2013 3:27 AM, "David Bremner" <david@tethera.net> wrote:
+>
+> Johannes Kulick <johannes@= +mailless.org> writes:
+>
+> > An authors output format would not add redundant information to a= + mail, would be
+> > relatively easy to implement and I would find a people centric vi= +ew - which
+> > doesn't interfere with any other concept of notmuch - very wo= +rth the couple of
+> > new lines of code.
+> >
+> > What would you say?
+>
+> Hi Johannes;
+>
+> I'm not sure I understand your goal completely here, but the obvio= +us
+> thing UI wise would be
+>
+> =C2=A0 notmuch search --output=3Dauthors --format=3D(json|text|sexp) = +=C2=A0$search_terms
+>

+

FWIW, I have some code to this effect that I never posted. I= +'ll see how much polish it would require.

+

BR,
+Jani.

+

> Perhaps you're already aware of this, but alot does= +n't use the CLI, so
+> that wouldn't be directly helpful to having a new view in alot. +>
+> d
+>
+>
+> _______________________________________________
+> notmuch mailing list
+> notmuch@notmuchmail.org= +
+> http://not= +muchmail.org/mailman/listinfo/notmuch
+

+ +--047d7b343244c2a67e04e4e70c9d-- -- 2.26.2