[PATCH v2 0/2] emacs: Optionally warn if attachments are mentioned in an outgoing

David Edmondson dme at dme.org
Sat Sep 8 14:40:39 PDT 2018


emacs: Optionally warn if attachments are mentioned in an outgoing
message but no MML referencing an attachment is found.

v2:
- Check whether "attachment" is within a quoted region, and don't
  prompt if so.
- Extend and re-work the tests - more lisp, less bash.


David Edmondson (2):
  emacs: Optionally check for missing attachments in outgoing messages
  test: Add emacs attachment check tests.

 emacs/notmuch-mua.el                   | 37 ++++++++++++++++++
 test/T720-emacs-attachment-warnings.sh |  9 +++++
 test/emacs-attachment-warnings.el      | 68 ++++++++++++++++++++++++++++++++++
 3 files changed, 114 insertions(+)
 create mode 100755 test/T720-emacs-attachment-warnings.sh
 create mode 100644 test/emacs-attachment-warnings.el

-- 
2.11.0



More information about the notmuch mailing list