Re: Forgotten attachment checker
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The problem with exiting immediately, attaching, and re-editing is that
you mess up send-hooks. For example, my messages are spell-checked and
clearsigned with send-hooks. To my knowledge, mutt doesn't have
"edit-hook"s, more's the pity :(
Speaking of send-hooks, an extremely hackish solution that should work
would be to prepend something like "[ATTACH]" to the "To" line, then
have a send-hook that deleted the "[ATTACH]" and then forced you to
attach something. I'll play around with this and post some code (or an
explanation of why it won't work) later.
- Andrew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: The following is method of proving my identity. For more information,
see http://www.gnupg.org. E-mail {andrew-go-away at ccl.bham.ac.uk} if you
don't want this.
iD8DBQE/mSyEUjUCivGf+MsRAkm6AKCBiQzRaQxaGc0LhLVoA78BnJUgNACdFJJi
lSLXAwO8ftdDOlurEpMwkCY=
=b04Z
-----END PGP SIGNATURE-----