From: Antoine Beaupré Date: Fri, 13 Apr 2018 01:01:08 +0000 (-0400) Subject: document the attachment forgetness fix X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=commitdiff_plain;h=56508f0f96e7ed614ed47a9da1cb584fcb9ed31f document the attachment forgetness fix I am guessing the header number and email link, i hope i am getting those right --- diff --git a/emacstips.mdwn b/emacstips.mdwn index 3738494..4999cdb 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -819,3 +819,16 @@ can turn the commit hash into a URL pointing there, for example: "-m" (concat "<" message-id ">") "-n" "1" "-f" "%{commit_ref}")))) + +## Never forget attachments + +Very often we forget to actually attach the file when we send an email +that's supposed to have an attachment. Did this never happen to you? +If not, then it will. + +There is a hook out there that checks the content of the email for +keywords and warns you before the email is sent out if there's no +attachment. This is currently work in progress, but you can already +add the hook to your `~/.emacs.d/notmuch-config.el` file to test +it. Details available (and feedback welcome) in the [relevant +discussion](https://notmuchmail.org/pipermail/notmuch/2018/026414.html). diff --git a/notmuch-emacs.mdwn b/notmuch-emacs.mdwn index d14a5c4..bc42d1a 100644 --- a/notmuch-emacs.mdwn +++ b/notmuch-emacs.mdwn @@ -132,3 +132,7 @@ mentioned as script arguments. (Note: The script expects that you have shift done emacsclient -a '' -c -e "(progn (compose-mail) $attach_cmds)" + +Also, if you're the kind of person who forgets to add attachments, +there's a cure for that disease. See [Never forget +attachments](/emacstips#index27h2) for all the details.