emacs: update alist for mail-archive.com API change
authorJed Brown <jed@jedbrown.org>
Thu, 13 Feb 2014 15:04:22 +0000 (08:04 -0700)
committerDavid Bremner <david@tethera.net>
Sun, 16 Feb 2014 22:55:24 +0000 (18:55 -0400)
Searching by Message-Id no longer works via the old mail-archive.com
API, though I have contacted them in hopes that they restore it to
prevent dead links.  Anyway, the new API is cleaner.

Acked-by: Austin Clements <amdragon@MIT.EDU>
emacs/notmuch-show.el
test/T310-emacs.sh

index 1ac80cac9cba3559a002da14c78b4a6835047ff3..88752f1719306271fc4e276568dae0a904fd4701 100644 (file)
@@ -171,7 +171,7 @@ each attachment handler is logged in buffers with names beginning
 (defcustom notmuch-show-stash-mlarchive-link-alist
   '(("Gmane" . "http://mid.gmane.org/")
     ("MARC" . "http://marc.info/?i=")
-    ("Mail Archive, The" . "http://mail-archive.com/search?l=mid&q=")
+    ("Mail Archive, The" . "http://mid.mail-archive.com/")
     ("LKML" . "http://lkml.kernel.org/r/")
     ;; FIXME: can these services be searched by `Message-Id' ?
     ;; ("MarkMail" . "http://markmail.org/")
index 7dc9a8e084ceb2fff8408bea373d4f23f8cb9ae7..00ae96a89aa8de2e9e79ffaa75f8aa12f4e42064 100755 (executable)
@@ -727,7 +727,7 @@ inbox,stashtest
 ${gen_msg_filename}
 http://mid.gmane.org/bought
 http://marc.info/?i=bought
-http://mail-archive.com/search?l=mid&q=bought
+http://mid.mail-archive.com/bought
 EOF
 test_expect_equal_file OUTPUT EXPECTED