emacs: update default mailing list archives for stashing links

Gmane web interface is long gone, remove it. Make MARC the new
default. Update LKML to Lore, where it already redirects anyway. Also
add Notmuch web archive.
This commit is contained in:
Jani Nikula 2021-05-21 15:51:26 +03:00 committed by David Bremner
parent 2c85cc29bd
commit 87234a8ef3
2 changed files with 6 additions and 6 deletions

View file

@ -190,10 +190,10 @@ each attachment handler is logged in buffers with names beginning
;;; Options ;;; Options
(defcustom notmuch-show-stash-mlarchive-link-alist (defcustom notmuch-show-stash-mlarchive-link-alist
'(("Gmane" . "https://mid.gmane.org/") '(("MARC" . "https://marc.info/?i=")
("MARC" . "https://marc.info/?i=")
("Mail Archive, The" . "https://mid.mail-archive.com/") ("Mail Archive, The" . "https://mid.mail-archive.com/")
("LKML" . "https://lkml.kernel.org/r/") ("Lore" . "https://lore.kernel.org/r/")
("Notmuch" . "https://nmbug.notmuchmail.org/nmweb/show/")
;; FIXME: can these services be searched by `Message-Id' ? ;; FIXME: can these services be searched by `Message-Id' ?
;; ("MarkMail" . "http://markmail.org/") ;; ("MarkMail" . "http://markmail.org/")
;; ("Nabble" . "http://nabble.com/") ;; ("Nabble" . "http://nabble.com/")
@ -218,7 +218,7 @@ return the ML archive reference URI."
(function :tag "Function returning the URL"))) (function :tag "Function returning the URL")))
:group 'notmuch-show) :group 'notmuch-show)
(defcustom notmuch-show-stash-mlarchive-link-default "Gmane" (defcustom notmuch-show-stash-mlarchive-link-default "MARC"
"Default Mailing List Archive to use when stashing links. "Default Mailing List Archive to use when stashing links.
This is used when `notmuch-show-stash-mlarchive-link' isn't This is used when `notmuch-show-stash-mlarchive-link' isn't

View file

@ -869,7 +869,7 @@ test_emacs '(notmuch-show "id:\"bought\"")
(notmuch-show-stash-message-id-stripped) (notmuch-show-stash-message-id-stripped)
(notmuch-show-stash-tags) (notmuch-show-stash-tags)
(notmuch-show-stash-filename) (notmuch-show-stash-filename)
(notmuch-show-stash-mlarchive-link "Gmane") (notmuch-show-stash-mlarchive-link "Notmuch")
(notmuch-show-stash-mlarchive-link "MARC") (notmuch-show-stash-mlarchive-link "MARC")
(notmuch-show-stash-mlarchive-link "Mail Archive, The") (notmuch-show-stash-mlarchive-link "Mail Archive, The")
(switch-to-buffer (switch-to-buffer
@ -890,7 +890,7 @@ id:bought
bought bought
inbox,stashtest inbox,stashtest
${gen_msg_filename} ${gen_msg_filename}
https://mid.gmane.org/bought https://nmbug.notmuchmail.org/nmweb/show/bought
https://marc.info/?i=bought https://marc.info/?i=bought
https://mid.mail-archive.com/bought https://mid.mail-archive.com/bought
EOF EOF