Open dmgerman opened 7 years ago
I wrote this function to be able to jump to gmail from a given email in gnus. if you are interested, i can create a pull request
(defun dmg-gmail-goto-message-id () (interactive) (save-excursion (setq save-buffer-name (buffer-name)) (switch-to-buffer-other-window gnus-article-buffer) (gnus-summary-toggle-header 1) (goto-char (point-min)) (if (re-search-forward "^Message-ID: *\\(.*\\)$") (browse-url (format "https://mail.google.com/mail/u/0/#search/rfc822msgid%%3A%s" (org-link-escape (match-string 1)) ) ) (message "Message id not found") ) (gnus-summary-toggle-header -1) (switch-to-buffer-other-window save-buffer-name) ) )
Interesting. Could you change browse-url to browse-url-generic? Please also format code a little bit before send me the pull request.
browse-url
browse-url-generic
I wrote this function to be able to jump to gmail from a given email in gnus. if you are interested, i can create a pull request