X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacstips.mdwn;h=083746e5029b8eb9c91dc6e24f1185a13a19c9f1;hb=2e54b3e9e9faac1e0a7b3a10596a2ed8dc663bb1;hp=37384940b86e5f93d0482d0e65d167e17a328f2f;hpb=30decac3a4d9832e37cc540a358f0314d9bf9bff;p=notmuch-wiki diff --git a/emacstips.mdwn b/emacstips.mdwn index 3738494..083746e 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -372,7 +372,7 @@ available: cc -o addrlookup addrlookup.c `pkg-config --cflags --libs gobject-2.0` -lnotmuch * Shell/fgrep/perl combination [nottoomuch-addresses.sh](https://github.com/domo141/nottoomuch/blob/master/nottoomuch-addresses.rst). - This tools maintains it's own address "database" gathered from email + This tools maintains its own address "database" gathered from email files notmuch knows and search from that "database" is done by `fgrep(1)`. * python/sqlite combination [notmuch-abook](https://github.com/guyzmo/notmuch-abook/) @@ -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).