From fa6c4719014c78a2ef05124cb1e72270fff74cc3 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Fri, 14 Feb 2014 02:22:00 +1900 Subject: [PATCH] Re: [PATCH] emacs: update alist for mail-archive.com API change --- 3b/3382e0ca7a75846e7f850e0433c408243e5957 | 110 ++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 3b/3382e0ca7a75846e7f850e0433c408243e5957 diff --git a/3b/3382e0ca7a75846e7f850e0433c408243e5957 b/3b/3382e0ca7a75846e7f850e0433c408243e5957 new file mode 100644 index 000000000..8f69ade2e --- /dev/null +++ b/3b/3382e0ca7a75846e7f850e0433c408243e5957 @@ -0,0 +1,110 @@ +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 5A7AA431FBD + for ; Wed, 12 Feb 2014 23:22:13 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.677 +X-Spam-Level: +X-Spam-Status: No, score=-0.677 tagged_above=-999 required=5 + tests=[HS_INDEX_PARAM=0.023, RCVD_IN_DNSWL_LOW=-0.7] + 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 UDCpsDK5ZYmX for ; + Wed, 12 Feb 2014 23:22:06 -0800 (PST) +Received: from dmz-mailsec-scanner-4.mit.edu (dmz-mailsec-scanner-4.mit.edu + [18.9.25.15]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id D5BAA431FAE + for ; Wed, 12 Feb 2014 23:22:05 -0800 (PST) +X-AuditID: 1209190f-f790b6d000000c3a-d3-52fc729c8f6c +Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) + (using TLS with cipher AES256-SHA (256/256 bits)) + (Client did not present a certificate) + by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP + id DC.96.03130.D927CF25; Thu, 13 Feb 2014 02:22:05 -0500 (EST) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id s1D7M3b0004470; + Thu, 13 Feb 2014 02:22:04 -0500 +Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) + (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s1D7M0OL025042 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); + Thu, 13 Feb 2014 02:22:02 -0500 +Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80) + (envelope-from ) + id 1WDqcS-0004Z8-Dg; Thu, 13 Feb 2014 02:22:00 -0500 +From: Austin Clements +To: Jed Brown , notmuch@notmuchmail.org +Subject: Re: [PATCH] emacs: update alist for mail-archive.com API change +In-Reply-To: <1392184270-29332-1-git-send-email-jed@jedbrown.org> +References: <1392184270-29332-1-git-send-email-jed@jedbrown.org> +User-Agent: Notmuch/0.17~rc2+14~g06f47e0 (http://notmuchmail.org) Emacs/23.4.1 + (i486-pc-linux-gnu) +Date: Thu, 13 Feb 2014 02:22:00 -0500 +Message-ID: <87iosjmq93.fsf@awakening.csail.mit.edu> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFnrJIsWRmVeSWpSXmKPExsUixG6noju36E+Qwd6TbBbvpuxmsbh+cyaz + A5PHqlurWT2erbrFHMAUxWWTkpqTWZZapG+XwJXR9t2oYB9XxZd3OQ2MJzm6GDk4JARMJI7+ + k+9i5AQyxSQu3FvPBmILCcxmkujsD+pi5AKyNzJK3Oi7xwiROM0ksek5K0RiCaNE/4r/YAk2 + AQ2JbfuXg9kiApYSC582gE0SFvCQ2HR2C5jNKeAocfJAGzvEIAeJzxvns4LYogJJEqen/gaz + WQRUJebP3gg2hxfouBOL57JA2IISJ2c+AbOZBbQkbvx7yTSBUWAWktQsJKkFjEyrGGVTcqt0 + cxMzc4pTk3WLkxPz8lKLdE30cjNL9FJTSjcxgkKRU5J/B+O3g0qHGAU4GJV4eDVm/A4SYk0s + K67MPcQoycGkJMprWvgnSIgvKT+lMiOxOCO+qDQntfgQowQHs5IIr4wEUI43JbGyKrUoHyYl + zcGiJM5ba/ErSEggPbEkNTs1tSC1CCYrw8GhJMHrBDJUsCg1PbUiLTOnBCHNxMEJMpwHaHga + SA1vcUFibnFmOkT+FKMux/lZ/z4xCrHk5eelSonzaoMUCYAUZZTmwc2BpZBXjOJAbwnzNoBU + 8QDTD9ykV0BLmICWpEb9BllSkoiQkmpg5GT8tuv09qi9pspT565iN/34Xq7fak9DIi/TvHb/ + aaulOKJnWCQanwz67HpvjtaDHyc/fp3WZL8x7UjRrqIXi+ONlGP/+fKvOLW1NCx4Utmdy+pr + PIVqJzidlhMxizU33F08L8z7Ze8vmVnVWsJ2k848E9w1hXn1uiTLdubmy+ZtB9WVjfwnKLEU + ZyQaajEXFScCAGovq5b8AgAA +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: Thu, 13 Feb 2014 07:22:13 -0000 + +On Wed, 12 Feb 2014, Jed Brown wrote: +> 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. +> --- +> emacs/notmuch-show.el | 2 +- +> 1 file changed, 1 insertion(+), 1 deletion(-) +> +> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el +> index 1ac80ca..88752f1 100644 +> --- a/emacs/notmuch-show.el +> +++ b/emacs/notmuch-show.el +> @@ -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/") +> -- +> 1.8.5.4 + +LGTM. + +Curiously, if you go to just http://mid.mail-archive.com/, it redirects +to http://www.mail-archive.com/search?l=mid&q=message-id%3A%5C, which +suggests to me that they did not intend to break the old URLs. But I +agree that the new API is nicer (and produces shorter URLs). -- 2.26.2