[PATCH] emacs: update alist for mail-archive.com API change
authorJed Brown <jed@jedbrown.org>
Thu, 13 Feb 2014 15:04:22 +0000 (08:04 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:59:57 +0000 (09:59 -0800)
df/0a1a046c2d01aac661cdcdb655fb449cec5341 [new file with mode: 0644]

diff --git a/df/0a1a046c2d01aac661cdcdb655fb449cec5341 b/df/0a1a046c2d01aac661cdcdb655fb449cec5341
new file mode 100644 (file)
index 0000000..047b282
--- /dev/null
@@ -0,0 +1,97 @@
+Return-Path: <jed@jedbrown.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 CC8AB431FAE\r
+       for <notmuch@notmuchmail.org>; Thu, 13 Feb 2014 07:05:35 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.077\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.077 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       HS_INDEX_PARAM=0.023] 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 QPv19uR4YYWD for <notmuch@notmuchmail.org>;\r
+       Thu, 13 Feb 2014 07:05:30 -0800 (PST)\r
+Received: from jedbrown.org (jedbrown.org [198.199.121.66])\r
+       (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 3A152431FB6\r
+       for <notmuch@notmuchmail.org>; Thu, 13 Feb 2014 07:05:30 -0800 (PST)\r
+Received: from [127.0.0.1] (localhost [127.0.0.1])\r
+       (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\r
+       (No client certificate requested)\r
+       by jedbrown.org (Postfix) with ESMTPSA id 79A7680D87;\r
+       Thu, 13 Feb 2014 15:05:27 +0000 (UTC)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=jedbrown.org;\r
+       s=20131023; t=1392303929;\r
+       bh=g/ykxe3HhCmtR8nomFsYu3arujDfaJwiOoctZm9T+3Q=;\r
+       h=From:To:Cc:Subject:Date:In-Reply-To:References;\r
+       b=J5lpZnRAKv3bhA7EakJ3efxhKrzbiMenXERH2HZUeUp8K3MtaqefffMQj5rS0zAoL\r
+       QNtD8u65FkbbwnonDhUCJL2niQ67n0HdukYPS99f/Vg8ihvb345S/I4R5tQ2yz+M8P\r
+       Ix1TyLIBcTcVsS9X3USdFWDtIap83XuXcaOduQo0=\r
+From: Jed Brown <jed@jedbrown.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] emacs: update alist for mail-archive.com API change\r
+Date: Thu, 13 Feb 2014 08:04:22 -0700\r
+Message-Id: <1392303862-22644-1-git-send-email-jed@jedbrown.org>\r
+X-Mailer: git-send-email 1.8.5.4\r
+In-Reply-To: <87lhxf2nq8.fsf@zancas.localnet>\r
+References: <87lhxf2nq8.fsf@zancas.localnet>\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: Thu, 13 Feb 2014 15:05:36 -0000\r
+\r
+Searching by Message-Id no longer works via the old mail-archive.com\r
+API, though I have contacted them in hopes that they restore it to\r
+prevent dead links.  Anyway, the new API is cleaner.\r
+\r
+Acked-by: Austin Clements <amdragon@MIT.EDU>\r
+---\r
+Fixed the test.  Thanks, David.\r
+\r
+ emacs/notmuch-show.el | 2 +-\r
+ test/T310-emacs.sh    | 2 +-\r
+ 2 files changed, 2 insertions(+), 2 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+index 1ac80ca..88752f1 100644\r
+--- a/emacs/notmuch-show.el\r
++++ b/emacs/notmuch-show.el\r
+@@ -171,7 +171,7 @@ each attachment handler is logged in buffers with names beginning\r
+ (defcustom notmuch-show-stash-mlarchive-link-alist\r
+   '(("Gmane" . "http://mid.gmane.org/")\r
+     ("MARC" . "http://marc.info/?i=")\r
+-    ("Mail Archive, The" . "http://mail-archive.com/search?l=mid&q=")\r
++    ("Mail Archive, The" . "http://mid.mail-archive.com/")\r
+     ("LKML" . "http://lkml.kernel.org/r/")\r
+     ;; FIXME: can these services be searched by `Message-Id' ?\r
+     ;; ("MarkMail" . "http://markmail.org/")\r
+diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh\r
+index 7dc9a8e..00ae96a 100755\r
+--- a/test/T310-emacs.sh\r
++++ b/test/T310-emacs.sh\r
+@@ -727,7 +727,7 @@ inbox,stashtest\r
+ ${gen_msg_filename}\r
+ http://mid.gmane.org/bought\r
+ http://marc.info/?i=bought\r
+-http://mail-archive.com/search?l=mid&q=bought\r
++http://mid.mail-archive.com/bought\r
+ EOF\r
+ test_expect_equal_file OUTPUT EXPECTED\r
\r
+-- \r
+1.8.5.4\r
+\r