[PATCH] emacs: update alist for mail-archive.com API change

Austin Clements amdragon at MIT.EDU
Wed Feb 12 23:22:00 PST 2014


On Wed, 12 Feb 2014, Jed Brown <jed at jedbrown.org> 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).


More information about the notmuch mailing list