Skip to content

Instantly share code, notes, and snippets.

View jsrjenkins's full-sized avatar

Fr. John Jenkins jsrjenkins

View GitHub Profile
@jsrjenkins
jsrjenkins / attach.el
Last active May 17, 2017 07:18 — forked from philjackson/attach.el
From an mu4e view, without prompt, save all attachments to a directory and open dired.
(defvar bulk-saved-attachments-dir (expand-file-name "~/Documents/Attachments"))
(defun cleanse-subject (sub)
(replace-regexp-in-string
"[^A-Z0-9]+"
"-"
(downcase sub)))
(defun view-attachments-dired (&optional msg)
"Saves all of the attachments in `msg' to a directory under