Web archive (was: Combining threads)

Subject: Web archive (was: Combining threads)

Date: Sun, 14 Nov 2010 23:21:26 +0100

To: Carl Worth, Scott Henson, notmuch

Cc:

From: Michal Sojka


On Sat, 13 Nov 2010, Carl Worth wrote:
> That was in this email:
> 
> 	id:87vd4k6956.fsf@yoom.home.cworth.org
> 
> And since we don't yet have a good web-based archive that lets you just
> plug in message IDs, I'll quote my reply here:

Gmane is not good? I'm quite satisfied with the following in my .emacs:

(defun notmuch-show-stash-gmane ()
  "Copy a link to gmane archive of the current message to kill-ring."
  (interactive)
  (notmuch-common-do-stash
   (concat "http://mid.gmane.org/"
	   (replace-regexp-in-string
	    "^id:\"\\(.*\\)\"$" "\\1" (notmuch-show-get-message-id))))))

(add-hook 'notmuch-show-hook
	  (lambda () 
	    (define-key notmuch-show-stash-map "g" 'notmuch-show-stash-gmane)))

-Michal

Thread: