On Sun, 14 Nov 2010 23:21:26 +0100, Michal Sojka 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.