Re: Feature proposal: OUTPUT_AUTHOR format
authorJohannes Kulick <johannes@mailless.org>
Tue, 27 Aug 2013 11:50:04 +0000 (13:50 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:56:42 +0000 (09:56 -0800)
73/062529f9fdc0d4323e5888163fcd70b30f29b5 [new file with mode: 0644]

diff --git a/73/062529f9fdc0d4323e5888163fcd70b30f29b5 b/73/062529f9fdc0d4323e5888163fcd70b30f29b5
new file mode 100644 (file)
index 0000000..435b405
--- /dev/null
@@ -0,0 +1,117 @@
+Return-Path: <johannes@mailless.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id EE0C5431FD4\r
+       for <notmuch@notmuchmail.org>; Tue, 27 Aug 2013 04:50:45 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id DWZJu+XEye3H for <notmuch@notmuchmail.org>;\r
+       Tue, 27 Aug 2013 04:50:36 -0700 (PDT)\r
+Received: from mailless.org (mailless.org [46.163.73.148])\r
+       by olra.theworths.org (Postfix) with SMTP id 902A4431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 27 Aug 2013 04:50:35 -0700 (PDT)\r
+Received: (qmail 4082 invoked from network); 27 Aug 2013 11:50:19 -0000\r
+Received: from unknown (HELO localhost) (johannes@192.124.26.172)\r
+       by mailless.org with ESMTPA; 27 Aug 2013 11:50:19 -0000\r
+Content-Type: multipart/signed; protocol="application/pgp-signature";\r
+       micalg="pgp-sha1"; boundary="===============3005240360994083712=="\r
+MIME-Version: 1.0\r
+Content-Disposition: inline\r
+From: Johannes Kulick <johannes@mailless.org>\r
+User-Agent: alot/0.3.5\r
+To: notmuch@notmuchmail.org\r
+References: <20130825101308.27461.57489@quirm.robotics.tu-berlin.de>\r
+       <20130826222226.1093.84929@quirm.robotics.tu-berlin.de>\r
+       <87li3o9dwr.fsf@zancas.localnet>\r
+In-Reply-To: <87li3o9dwr.fsf@zancas.localnet>\r
+Message-ID: <20130827115004.11629.64740@quirm.robotics.tu-berlin.de>\r
+Subject: Re: Feature proposal: OUTPUT_AUTHOR format\r
+Date: Tue, 27 Aug 2013 13:50:04 +0200\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 27 Aug 2013 11:50:46 -0000\r
+\r
+--===============3005240360994083712==\r
+Content-Type: text/plain; charset="utf-8"\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi David,\r
+      =\r
+\r
+Quoting David Bremner (2013-08-27 02:27:00)\r
+> I'm not sure I understand your goal completely here, but the obvious\r
+> thing UI wise would be\r
+>\r
+>   notmuch search --output=3Dauthors --format=3D(json|text|sexp)  $search_=\r
+terms\r
+>\r
+> Perhaps you're already aware of this, but alot doesn't use the CLI, so\r
+> that wouldn't be directly helpful to having a new view in alot.\r
+\r
+Do you mean, that this output=3Dauthors option is already available? Then I=\r
+'m not\r
+aware. If it is not available it's exactly what I meant. So it would look\r
+something like:\r
+\r
+$ notmuch search --output=3Dauthors from:Johannes\r
+Johannes Kulick (1234 msgs)\r
+Johannes Doe (123 msgs)\r
+Johannes Mueller (12 msgs)\r
+...\r
+\r
+I'd sketch the way to implement it like this:\r
+\r
+- add notmuch_authors_t and notmuch_author_t structs\r
+- add a notmuch_database_get_all_authors (notmuch_database_t *db)\r
+- add the functions around that to actually get an option for the ui\r
+- add bindings for the other languages\r
+\r
+(- implement the view in the clients)\r
+\r
+Cheers,\r
+Johannes\r
+\r
+--\r
+uni stuttgart      machine learning and robotics lab\r
+http://ipvs.informatik.uni-stuttgart.de/mlr/johannes\r
+\r
+Question: What is the weird attachment on all my emails?\r
+Answer:   http://en.wikipedia.org/wiki/Digital_signature\r
+\r
+--===============3005240360994083712==\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: 7bit\r
+Content-Description: signature\r
+Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2.0.20 (GNU/Linux)\r
+\r
+iQEcBAABAgAGBQJSHJJsAAoJEBiRJNhhEUhOuLUH/RmPnpOF0F/K0xhzJjyMNTgk\r
+RvFUwvVUNiDb8gmdAHBw/RoFKdZg5a8Tcvl6Twx2k0k1yx8jlEB5wexJwR9V4ZwP\r
+RPle7rkzEWMOkdvHDU2BRVB2tdvDF1LNowTTndVHdPVIYrJOtacGLbAqYbQp5yNm\r
+GHo6LWzSovQzSKSDEOYPOylq08Fr9dpZ4sv5u0dC9dZnavtm+PR/9xCacEXAIeSx\r
+fHulxdXPgBtefDo260dFpXDsOVjTFtBNPUltJIiPSlx2/PhhpaSMJ+hGP7yz9F5Z\r
+ACmKTJ45QMvY/ZpGEwbUjBN1oCZ3MkQw7HUWeAlN2Bbu/Aqk2JcfBBTw1KNmpR0=\r
+=b+iX\r
+-----END PGP SIGNATURE-----\r
+\r
+--===============3005240360994083712==--\r