Re: notmuch-address-command questions
authorDavid Bremner <david@tethera.net>
Sat, 30 Apr 2016 10:29:57 +0000 (07:29 +2100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:43 +0000 (16:21 -0700)
3d/a6aab39475622e32fe4d9452434011f287ebf7 [new file with mode: 0644]

diff --git a/3d/a6aab39475622e32fe4d9452434011f287ebf7 b/3d/a6aab39475622e32fe4d9452434011f287ebf7
new file mode 100644 (file)
index 0000000..1370e28
--- /dev/null
@@ -0,0 +1,100 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id CAEA86DE034D\r
+ for <notmuch@notmuchmail.org>; Sat, 30 Apr 2016 03:30:17 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.016\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.016 tagged_above=-999 required=5\r
+ tests=[AWL=-0.005, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id bKsvMl-X0OLt for <notmuch@notmuchmail.org>;\r
+ Sat, 30 Apr 2016 03:30:09 -0700 (PDT)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 5AE7F6DE0319\r
+ for <notmuch@notmuchmail.org>; Sat, 30 Apr 2016 03:30:09 -0700 (PDT)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1awS9z-0004JV-1D; Sat, 30 Apr 2016 06:30:03 -0400\r
+Received: (nullmailer pid 8958 invoked by uid 1000);\r
+ Sat, 30 Apr 2016 10:30:05 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: sfischme@uwaterloo.ca, Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: notmuch-address-command questions\r
+In-Reply-To: <87wpnfn90f.fsf@uwaterloo.ca>\r
+References: <87wpnfn90f.fsf@uwaterloo.ca>\r
+User-Agent: Notmuch/0.21+99~gd93d377 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Reply-To: me@example.com\r
+Date: Sat, 30 Apr 2016 07:29:57 -0300\r
+Message-ID: <87oa8r8k4a.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 30 Apr 2016 10:30:17 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+Sebastian Fischmeister <sfischme@uwaterloo.ca> writes:\r
+\r
+> Hi,\r
+>\r
+> I'm trying out the internal expansion for notmuch-address-command. One\r
+> thing I immediately notice is that it has lag over 250K emails, since\r
+> it's lookup up addresses each time. Scripts like nottoomuch-addresses\r
+> have cached results of only all email addresses and have instantaneous\r
+> response.\r
+\r
+There is caching with the internal completion, just not between emacs\r
+sessions. So the second and following completions in a given session\r
+should be much faster. I have almost twice that number of messages, and\r
+the lag is barely noticable here. So maybe something's wrong if you're not\r
+restarting emacs and still noticing completion lag.  You might have a\r
+look at the variable "notmuch-address-completions". For me this has a\r
+bout 3700 entries in it at a steady state.\r
+\r
+> The second thing is that it seems to list any email it finds. However, I\r
+> don't care about email addresses found in emails from 10 years ago. I\r
+> only care about the last two years.\r
+>\r
+\r
+I think the plan was/is make this search customizable in various ways,\r
+but so far nobody got around to it.\r
+\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1\r
+\r
+iQGcBAEBCAAGBQJXJIklAAoJEPIClx2kp54sUxIL/RPrjeQM1RBwu3HNv32YEMCs\r
+bZtytiQu5Lut5aCj8gSDcpeE6gLQBYSGR1HeytvPaJla1s9pKIxrrEi6nsaWsWgT\r
+OMr9JwihuNfYrIv1vDRhICKFEnM3p/0IleZSlcdhDzHjtFL9akX2BKqSXlSL3qAb\r
+xcQ/JX2gA3/LY0gZOgBzS0Odr5CpkNhv6qwj00LJOLGEs/tvf5+scZGSPs4q8xck\r
+xWrGNYPZxmCSV0QlN/7vQ6poWzxnQWQlIdh/qie5hJvs2XSwuzYob/ekzMfCVBYl\r
+5crCwkcjIkNrArUGwUaP20eIYxhgwNwboDtyEg245BwaNArG+gINtIRpN3soY2rH\r
+Ykn1gS8d+JuHOQcSOpe6ZIkbAf2F81FWFuLFnjCp5j/+E0pETvaJwKZrs3dBM1cm\r
+N66ucXeLM9k1tEJjVvZW5nXWAcrwb+PoYGc9e60D7aoJHZgxzj3Flv6DSAbTNilL\r
+2XXYI1HseLpMN21E7iecJD4POnUxmsOB11JfwS8eCQ==\r
+=JSQS\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r