Re: Web archive (was: Combining threads)

Subject: Re: Web archive (was: Combining threads)

Date: Sun, 14 Nov 2010 18:32:55 -0500

To: Michal Sojka, Carl Worth, Scott Henson, notmuch

Cc:

From: Jameson Rollins


On Sun, 14 Nov 2010 23:21:26 +0100, Michal Sojka <sojkam1@fel.cvut.cz> wrote:
> 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))))))
> 

Hey, Michal.  Nice tip.

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

For what it's worth, I think you can accomplish this my simply adding
the following to your emacs config (assuming you've already loaded
notmuch):

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

jamie.
part-000.sig (application/pgp-signature)

Thread: