From 9e0b8a2b84be733701647b63c98cb1ffa879f37c Mon Sep 17 00:00:00 2001 From: Johannes Kulick Date: Tue, 27 Aug 2013 00:22:26 +0200 Subject: [PATCH] Feature proposal: OUTPUT_AUTHOR format --- 8d/4121addfeed3d0469d6f0bd2c95ea92ded9811 | 141 ++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 8d/4121addfeed3d0469d6f0bd2c95ea92ded9811 diff --git a/8d/4121addfeed3d0469d6f0bd2c95ea92ded9811 b/8d/4121addfeed3d0469d6f0bd2c95ea92ded9811 new file mode 100644 index 000000000..bdb0452e7 --- /dev/null +++ b/8d/4121addfeed3d0469d6f0bd2c95ea92ded9811 @@ -0,0 +1,141 @@ +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 4BE83431FAF + for ; Mon, 26 Aug 2013 15:29:29 -0700 (PDT) +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 g7eBK6qVGDxE for ; + Mon, 26 Aug 2013 15:29:25 -0700 (PDT) +X-Greylist: delayed 400 seconds by postgrey-1.32 at olra; + Mon, 26 Aug 2013 15:29:24 PDT +Received: from mailless.org (mailless.org [46.163.73.148]) + by olra.theworths.org (Postfix) with SMTP id B4F45431FD4 + for ; Mon, 26 Aug 2013 15:29:24 -0700 (PDT) +Received: (qmail 24222 invoked from network); 26 Aug 2013 22:22:37 -0000 +Received: from p5482b28f.dip0.t-ipconnect.de (HELO localhost) + (johannes@84.130.178.143) + by mailless.org with ESMTPA; 26 Aug 2013 22:22:37 -0000 +Content-Type: multipart/signed; protocol="application/pgp-signature"; + micalg="pgp-sha1"; boundary="===============1903224532628884293==" +MIME-Version: 1.0 +Content-Disposition: inline +From: Johannes Kulick +User-Agent: alot/0.3.5 +To: notmuch@notmuchmail.org +References: <20130825101308.27461.57489@quirm.robotics.tu-berlin.de> +In-Reply-To: <20130825101308.27461.57489@quirm.robotics.tu-berlin.de> +Message-ID: <20130826222226.1093.84929@quirm.robotics.tu-berlin.de> +Subject: Feature proposal: OUTPUT_AUTHOR format +Date: Tue, 27 Aug 2013 00:22:26 +0200 +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: Mon, 26 Aug 2013 22:29:29 -0000 + +--===============1903224532628884293== +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: quoted-printable + +Hi all, + +I have the following idea for a new feature. I'd implement it myself, but I +wanted to ask the list first, whether something like this would have a chan= +ce to +go into mainline (given that it is implemented cleanly, well documented etc= +.) +or if people wouldn't like it at all. + +I suggest to add a new output format, namely something like OUTPUT_AUTHORS.= + It +would for a given query return a list of all authors found in the messages = +and +the number of messages they have. + +With that notmuch could be used for something I call a "people centric view= +". +That should give the user the possibility to sort its mail by authors. I - = +for +example - mainly communicate with only a couple of persons. If I'd have a v= +iew +showing me these persons on top would be very handy. That way I'd be able to +fast start a new conversation with my main conversation-partners, see e.g. = +all +threads I had with them or see all attachments I've got from them. + +One could argue that a search to "from:" would do it, but that way my +notmuch client isn't able to render such a view automatically, since no +information about all authors can be retrieved (at least not easily). So I'd +have to search for each name manually. + +One could also argue that tagging each mail by the authors name would do the +trick. This is probably true, but would also mix tags and authors in an unc= +lean +way, I'd say. I'd need to add a tag for every new person I mail to and woul= +d add +a tag to mail with information, which is already saved in the from field. + +An authors output format would not add redundant information to a mail, wou= +ld 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? + +Best, +Johannes + +(Since I'm new to the list: Hello to all. I'm using notmuch with alot as cl= +ient +for a couple of years now and very happy with it. I did some minor contribu= +tions +to alot so far. Apart from that I'm Ph.D. student in computer science and do +research about machine learning and robotics topics) + + +-- = + +uni stuttgart machine learning and robotics lab +http://ipvs.informatik.uni-stuttgart.de/mlr/johannes + +Question: What is the weird attachment on all my emails? +Answer: http://en.wikipedia.org/wiki/Digital_signature + +--===============1903224532628884293== +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Content-Description: signature +Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iQEcBAABAgAGBQJSG9UiAAoJEBiRJNhhEUhOlnYIAI8JMitrThc4X/S/Pe/vECOL +BXUG12DDUXyqcwhn5tGjRA/ncy8WPapl0cy1ubptaCexNAcQRMzVte3NNlBJg0NP +zZebu3QSFrUMr8+dcZBlpea/3tb8bNVjc/H5gkBPjpNJfKXa41mt8iAReP7qfPVc +Z+w3pHbmTHPmqVCPAnM5H0PUo5J6Za0DUc3B52nZ1F1Gf7uzxs2W9hzsYtlxd8xF +qi5/rT9pDXyOXyxKF4RIoxyKI6B+aaRrllV1ZqlfZS697vrniOaIdqAk69O5vjDa +K1a249dXLcqiUYjuq32eyOAbRDZLlJJgdIEiyv1nHkcZwnxjHz9WB3K/YZfgur4= +=8ic0 +-----END PGP SIGNATURE----- + +--===============1903224532628884293==-- -- 2.26.2