[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grabbing the link to a message on the archive
From: |
Greg Minshall |
Subject: |
Re: Grabbing the link to a message on the archive |
Date: |
Thu, 30 Sep 2021 09:53:03 +0300 |
Timothy,
> If you use mu4e, the following may be of some interest:
> ┌────
> │ (defun +mu4e-ml-message-link (msg)
> │ (cond
> │ ((string= "emacs-orgmode.gnu.org" (mu4e-message-field msg :mailing-list))
> │ (message "Link %s copied to clipboard" (gui-select-text (format
> "https://list.orgmode.org/%s"; (mu4e-message-field msg :message-id)))))
> │ (t (user-error "Mailing list %s not supported" (mu4e-message-field msg
> :mailing-list)))))
> │ (add-to-list 'mu4e-view-actions (cons "link to message ML"
> #'+mu4e-ml-message-link t))
> └────
awesome! i didn't realize that the Message-ID was the key to the
specific e-mail at list.orgmode.org!
cheers, Greg