Web archive (was: Combining threads)

Jameson Rollins jrollins at finestructure.net
Sun Nov 14 15:32:55 PST 2010


On Sun, 14 Nov 2010 23:21:26 +0100, Michal Sojka <sojkam1 at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101114/91191360/attachment.pgp>


More information about the notmuch mailing list